Use GetLocalTime instead of GetSystemTime.
Modified: trunk/reactos/subsys/system/cmd/locale.c
_____
Modified: trunk/reactos/subsys/system/cmd/locale.c
--- trunk/reactos/subsys/system/cmd/locale.c 2005-08-11 20:39:28 UTC
(rev 17309)
+++ trunk/reactos/subsys/system/cmd/locale.c 2005-08-11 20:41:20 UTC
(rev 17310)
@@ -71,8 +71,8 @@
VOID PrintTime (VOID)
{
TCHAR szMsg[RC_STRING_MAX_SIZE];
- SYSTEMTIME t;
- GetSystemTime(&t);
+ SYSTEMTIME t;
+ GetLocalTime(&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,
Show replies by date