mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +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)
|
VOID PrintTime (VOID)
|
||||||
{
|
{
|
||||||
TCHAR szMsg[RC_STRING_MAX_SIZE];
|
TCHAR szMsg[RC_STRING_MAX_SIZE];
|
||||||
SYSTEMTIME t;
|
SYSTEMTIME t;
|
||||||
GetSystemTime(&t);
|
GetLocalTime(&t);
|
||||||
|
|
||||||
LoadString(CMD_ModuleHandle, STRING_LOCALE_HELP1, szMsg, RC_STRING_MAX_SIZE);
|
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,
|
ConOutPrintf(_T("%s: %02d%c%02d%c%02d%c%02d\n"), szMsg, t.wHour, cTimeSeparator,
|
||||||
|
|
Loading…
Reference in a new issue