diff options
author | Alexis Christoforides <alexis@thenull.net> | 2017-11-18 01:08:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-18 01:08:15 +0300 |
commit | 421f8553fb4a35b65fd66cf90e708216534229bd (patch) | |
tree | bb2bd9fda7b99e3001e0c521cf8530263ddb19db /mcs/class/corlib | |
parent | 3e1eeec6c3373b38688b714f354da72dc2d92247 (diff) | |
parent | 491f4b651f4ac67f4157192144b9f02191077769 (diff) |
Merge pull request #6042 from Unity-Technologies/winrt-time-zone-adjustment-rules
Fix TimeZoneInfo rule population for WinRT
Diffstat (limited to 'mcs/class/corlib')
-rwxr-xr-x | mcs/class/corlib/System/TimeZoneInfo.WinRT.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/corlib/System/TimeZoneInfo.WinRT.cs b/mcs/class/corlib/System/TimeZoneInfo.WinRT.cs index 2a3a640028e..fc27fe267d2 100755 --- a/mcs/class/corlib/System/TimeZoneInfo.WinRT.cs +++ b/mcs/class/corlib/System/TimeZoneInfo.WinRT.cs @@ -242,7 +242,7 @@ namespace System // try { - if (GetDynamicTimeZoneInformationEffectiveYears (ref timeZoneInformation, out firstYear, out lastYear) == 0) { + if (GetDynamicTimeZoneInformationEffectiveYears (ref timeZoneInformation, out firstYear, out lastYear) != 0) { firstYear = lastYear = 0; } } catch { |