GetTimeFormat should use LocalTime instead of SystemTime

See issue #1601 for more details.

svn path=/trunk/; revision=28004
This commit is contained in:
Christoph von Wittich 2007-07-29 13:51:54 +00:00
parent 719e7db47a
commit e020821f2c

View file

@ -410,7 +410,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