[PATCH 1/3] ntdll: Return correct time zone names for Asia/Tokyo and Asia/Yakutsk.

Akihiro Sagawa sagawa.aki at gmail.com
Sun Dec 3 08:26:05 CST 2017


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 at gmail.com>
---
 dlls/ntdll/time.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 53 insertions(+), 5 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Return-correct-time-zone-names-for-Asia-Tokyo-.patch
Type: text/x-patch
Size: 4329 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20171203/58d3f70a/attachment.bin>


More information about the wine-devel mailing list