GetTimeFormat() should return LocalTime not SystemTime.
This commit is contained in:
parent
036a9f79a9
commit
2bddc97774
|
@ -3147,7 +3147,7 @@ GetTimeFormatA(LCID locale, /* in */
|
|||
}
|
||||
|
||||
if (xtime == NULL) /* NULL means use the current local time*/
|
||||
{ GetSystemTime(&t);
|
||||
{ GetLocalTime(&t);
|
||||
thistime = &t;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue