projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f17e695
)
Use GetLocalTime instead of GetSystemTime.
author
Hartmut Birr
<osexpert@googlemail.com>
Thu, 11 Aug 2005 20:41:20 +0000
(20:41 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Thu, 11 Aug 2005 20:41:20 +0000
(20:41 +0000)
svn path=/trunk/; revision=17310
reactos/subsys/system/cmd/locale.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/system/cmd/locale.c
b/reactos/subsys/system/cmd/locale.c
index
1f49e84
..
fe77f67
100644
(file)
--- a/
reactos/subsys/system/cmd/locale.c
+++ b/
reactos/subsys/system/cmd/locale.c
@@
-71,8
+71,8
@@
VOID PrintDate (VOID)
VOID PrintTime (VOID)
{
TCHAR szMsg[RC_STRING_MAX_SIZE];
- SYSTEMTIME t;
-
GetSystem
Time(&t);
+
SYSTEMTIME t;
+
GetLocal
Time(&t);
LoadString(CMD_ModuleHandle, STRING_LOCALE_HELP1, szMsg, RC_STRING_MAX_SIZE);
ConOutPrintf(_T("%s: %02d%c%02d%c%02d%c%02d\n"), szMsg, t.wHour, cTimeSeparator,