[ros-diffs] [cwittich] 28004: GetTimeFormat should use LocalTime instead of SystemTime See issue #1601 for more details.

cwittich at svn.reactos.org cwittich at svn.reactos.org
Sun Jul 29 15:51:54 CEST 2007


Author: cwittich
Date: Sun Jul 29 17:51:54 2007
New Revision: 28004

URL: http://svn.reactos.org/svn/reactos?rev=28004&view=rev
Log:
GetTimeFormat should use LocalTime instead of SystemTime
See issue #1601 for more details.

Modified:
    trunk/reactos/dll/win32/kernel32/misc/lcformat.c

Modified: trunk/reactos/dll/win32/kernel32/misc/lcformat.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/lcformat.c?rev=28004&r1=28003&r2=28004&view=diff
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/lcformat.c (original)
+++ trunk/reactos/dll/win32/kernel32/misc/lcformat.c Sun Jul 29 17:51:54 2007
@@ -410,7 +410,7 @@
 
   if (!lpTime)
   {
-    GetSystemTime(&st); /* Default to current time */
+    GetLocalTime(&st); /* Default to current time */
     lpTime = &st;
   }
   else




More information about the Ros-diffs mailing list