Use GetLocalTime (tz-dependant) instead of GetSystemTime (UTC) in

GetTimeFormat.
This commit is contained in:
Vincent Béron 2005-01-07 17:08:55 +00:00 committed by Alexandre Julliard
parent 2b2fecf88a
commit 53ca036a56
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ NLS_GetDateTimeFormatW_InvalidFlags:
if (!lpTime) if (!lpTime)
{ {
GetSystemTime(&st); /* Default to current time */ GetLocalTime(&st); /* Default to current time */
lpTime = &st; lpTime = &st;
} }
else else