Use GetLocalTime (tz-dependant) instead of GetSystemTime (UTC) in
GetTimeFormat.
This commit is contained in:
parent
2b2fecf88a
commit
53ca036a56
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue