mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
Use GetLocalTime instead of GetSystemTime.
svn path=/trunk/; revision=17310
This commit is contained in:
parent
f17e695843
commit
749cee8834
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ VOID PrintDate (VOID)
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue