Henri Verbeet : wine.inf: Store Dynamic DST data for Asia/Tehran as "relative" dates.

Alexandre Julliard julliard at winehq.org
Tue Dec 15 16:21:02 CST 2020


Module: wine
Branch: master
Commit: e389f11137526301b4e34e75331ae02a7113ef1d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e389f11137526301b4e34e75331ae02a7113ef1d

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Dec 16 00:19:24 2020 +0330

wine.inf: Store Dynamic DST data for Asia/Tehran as "relative" dates.

I.e., the "Nth <weekday> of <month>" form. This form is much less convenient
for timezones where the DST change happens on specific dates, but some
applications distribute old versions of Mono that don't bother checking the
"wYear" fields of the SYSTEMTIME fields in the TIME_ZONE_INFORMATION structure
returned by GetTimeZoneInformation(), and instead always convert the presumed
"relative" dates to "absolute" dates. Unsurprisingly, the resulting dates are
invalid, and these applications then end up throwing
"System.NotSupportedException: Can't get timezone name." when run in such a
timezone, typically early during startup.

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 loader/wine.inf.in | 90 +++++++++++++++++++++++++++---------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=e389f11137526301b4e34e75331ae02a7113ef1d



More information about the wine-cvs mailing list