The datetime should be initialized with local time.

This commit is contained in:
Duane Clark 2005-04-18 09:52:18 +00:00 committed by Alexandre Julliard
parent 9b90532c68
commit ddf9da794e
1 changed files with 1 additions and 1 deletions

View File

@ -1190,7 +1190,7 @@ DATETIME_Create (HWND hwnd, LPCREATESTRUCTW lpcs)
0, 0, 0, 0, infoPtr->hwndSelf, 0, 0, 0);
/* initialize info structure */
GetSystemTime (&infoPtr->date);
GetLocalTime (&infoPtr->date);
infoPtr->dateValid = TRUE;
infoPtr->hFont = GetStockObject(DEFAULT_GUI_FONT);