From ddf9da794ee1882545e2cfdc0eb76d0fdd8cc20b Mon Sep 17 00:00:00 2001 From: Duane Clark Date: Mon, 18 Apr 2005 09:52:18 +0000 Subject: [PATCH] The datetime should be initialized with local time. --- dlls/comctl32/datetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c index 92ca51c8f57..0fae47cc536 100644 --- a/dlls/comctl32/datetime.c +++ b/dlls/comctl32/datetime.c @@ -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);