https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bd2f3d39a924836799861…
commit bd2f3d39a92483679986107466636fe84e0420af
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Fri Jun 1 12:49:26 2018 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Fri Jun 1 12:49:26 2018 +0200
[KERNEL32] Get/SetTimeZoneInformation: Convert the Milliseconds value between
TIME_FIELDS and SYSTEMTIME too
CORE-14658
---
dll/win32/kernel32/wine/timezone.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dll/win32/kernel32/wine/timezone.c b/dll/win32/kernel32/wine/timezone.c
index 8869848d49..18f9c6b318 100644
--- a/dll/win32/kernel32/wine/timezone.c
+++ b/dll/win32/kernel32/wine/timezone.c
@@ -287,6 +287,7 @@ GetTimeZoneInformation(LPTIME_ZONE_INFORMATION lpTimeZoneInformation)
lpTimeZoneInformation->StandardDate.wHour =
TimeZoneInformation.StandardDate.Hour;
lpTimeZoneInformation->StandardDate.wMinute =
TimeZoneInformation.StandardDate.Minute;
lpTimeZoneInformation->StandardDate.wSecond =
TimeZoneInformation.StandardDate.Second;
+ lpTimeZoneInformation->StandardDate.wMilliseconds =
TimeZoneInformation.StandardDate.Milliseconds;
lpTimeZoneInformation->StandardDate.wDayOfWeek =
TimeZoneInformation.StandardDate.Weekday;
lpTimeZoneInformation->StandardBias = TimeZoneInformation.StandardBias;
@@ -299,6 +300,7 @@ GetTimeZoneInformation(LPTIME_ZONE_INFORMATION lpTimeZoneInformation)
lpTimeZoneInformation->DaylightDate.wHour =
TimeZoneInformation.DaylightDate.Hour;
lpTimeZoneInformation->DaylightDate.wMinute =
TimeZoneInformation.DaylightDate.Minute;
lpTimeZoneInformation->DaylightDate.wSecond =
TimeZoneInformation.DaylightDate.Second;
+ lpTimeZoneInformation->DaylightDate.wMilliseconds =
TimeZoneInformation.DaylightDate.Milliseconds;
lpTimeZoneInformation->DaylightDate.wDayOfWeek =
TimeZoneInformation.DaylightDate.Weekday;
lpTimeZoneInformation->DaylightBias = TimeZoneInformation.DaylightBias;
@@ -329,6 +331,7 @@ SetTimeZoneInformation(CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation)
TimeZoneInformation.StandardDate.Hour =
lpTimeZoneInformation->StandardDate.wHour;
TimeZoneInformation.StandardDate.Minute =
lpTimeZoneInformation->StandardDate.wMinute;
TimeZoneInformation.StandardDate.Second =
lpTimeZoneInformation->StandardDate.wSecond;
+ TimeZoneInformation.StandardDate.Milliseconds =
lpTimeZoneInformation->StandardDate.wMilliseconds;
TimeZoneInformation.StandardDate.Weekday =
lpTimeZoneInformation->StandardDate.wDayOfWeek;
TimeZoneInformation.StandardBias = lpTimeZoneInformation->StandardBias;
@@ -341,6 +344,7 @@ SetTimeZoneInformation(CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation)
TimeZoneInformation.DaylightDate.Hour =
lpTimeZoneInformation->DaylightDate.wHour;
TimeZoneInformation.DaylightDate.Minute =
lpTimeZoneInformation->DaylightDate.wMinute;
TimeZoneInformation.DaylightDate.Second =
lpTimeZoneInformation->DaylightDate.wSecond;
+ TimeZoneInformation.DaylightDate.Milliseconds =
lpTimeZoneInformation->DaylightDate.wMilliseconds;
TimeZoneInformation.DaylightDate.Weekday =
lpTimeZoneInformation->DaylightDate.wDayOfWeek;
TimeZoneInformation.DaylightBias = lpTimeZoneInformation->DaylightBias;