reactos/dll
Hermès Bélusca-Maïto aa69236646
[TIMEDATE.CPL] In case TimeZone data does not contain a valid StandardName, perform comparisons against the time-zone numerical values instead.
It may happen that the time-zone information in the registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
contains an empty StandardName / DaylightName, or is too long for the
standard maximum 32-character length, and therefore is returned empty.
And/or it may happen as well that some of the standard names (value "Std")
present in some of the time zones listed in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones
are similarly too long, and therefore are returned as empty strings.

In case this happens, perform comparisons instead with the numerical
values Bias, StandardBias, DaylightBias, StandardDate and DaylightDate
in order to find a match.

It is interesting to note also that in Vista+ there is an additional
REG_SZ value "TimeZoneKeyName" in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
that allows to directly find a match in the time zones list in
"Windows NT\CurrentVersion\Time Zones".
2020-04-22 00:58:34 +02:00
..
3rdparty [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
apisets [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
appcompat [SHIMLIB] Fix gcc8 build crashing when using shims 2020-04-07 20:47:47 +02:00
cpl [TIMEDATE.CPL] In case TimeZone data does not contain a valid StandardName, perform comparisons against the time-zone numerical values instead. 2020-04-22 00:58:34 +02:00
directx [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
keyboard [CMAKE][CONFIGURE] Enable runtime checks on MSVC by default. 2020-04-11 02:48:12 +03:00
nls [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
np [NFS] Fix a typo in the precompiled header. 2019-04-28 01:42:52 +02:00
ntdll [LDR] Add initial LOAD_CONFIG support 2020-04-17 17:47:24 +02:00
opengl [CMAKE] Replace custom functions to built-in ones 2020-04-16 15:59:38 +03:00
shellext [NETSHELL] Show DHCP and WINS information in the network connection details dialog 2020-04-19 22:06:12 +02:00
win32 [TIMEDATE.CPL][SYSSETUP][TZLIB] Introduce a small static library "tzlib": "TimeZone Utilities Library", and use it in timedate.cpl and syssetup.dll. 2020-04-22 00:58:32 +02:00
CMakeLists.txt