Without this change, for Japan, Wine returns "Korea Standard Time", not "Tokyo Standard Time" as seen in Bug 42719.
Actually, this is a regression by d666143f880f9e19849f8f2b520dc059a11750d1. The new code relies on offsets from UTC and DST change timings. However, Northeast Asia regions don't use daylight saving time. Thus, Wine can't distinguish between these regions. This patch fixes the issue.
Similar tasks are required for other regions, but will be deferred after Wine 3.0 release because we don't have related issues and need some more work to sort out common time zone names, e.g. "CST".
Signed-off-by: Akihiro Sagawa sagawa.aki@gmail.com --- dlls/ntdll/time.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 53 insertions(+), 5 deletions(-)