From e020821f2cdd8a512e059d95e3111fc56de921c8 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Sun, 29 Jul 2007 13:51:54 +0000 Subject: [PATCH] GetTimeFormat should use LocalTime instead of SystemTime See issue #1601 for more details. svn path=/trunk/; revision=28004 --- reactos/dll/win32/kernel32/misc/lcformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/kernel32/misc/lcformat.c b/reactos/dll/win32/kernel32/misc/lcformat.c index f256503c355..f6e6b91e566 100644 --- a/reactos/dll/win32/kernel32/misc/lcformat.c +++ b/reactos/dll/win32/kernel32/misc/lcformat.c @@ -410,7 +410,7 @@ NLS_GetDateTimeFormatW_InvalidFlags: if (!lpTime) { - GetSystemTime(&st); /* Default to current time */ + GetLocalTime(&st); /* Default to current time */ lpTime = &st; } else