GetTimeFormat should use LocalTime instead of SystemTime
authorChristoph von Wittich <christoph_vw@reactos.org>
Sun, 29 Jul 2007 13:51:54 +0000 (13:51 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Sun, 29 Jul 2007 13:51:54 +0000 (13:51 +0000)
See issue #1601 for more details.

svn path=/trunk/; revision=28004

reactos/dll/win32/kernel32/misc/lcformat.c

index f256503..f6e6b91 100644 (file)
@@ -410,7 +410,7 @@ NLS_GetDateTimeFormatW_InvalidFlags:
 
   if (!lpTime)
   {
-    GetSystemTime(&st); /* Default to current time */
+    GetLocalTime(&st); /* Default to current time */
     lpTime = &st;
   }
   else