mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
GetTimeFormat should use LocalTime instead of SystemTime
See issue #1601 for more details. svn path=/trunk/; revision=28004
This commit is contained in:
parent
719e7db47a
commit
e020821f2c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue