Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Christoforides <alexis@thenull.net>2017-11-18 01:08:15 +0300
committerGitHub <noreply@github.com>2017-11-18 01:08:15 +0300
commit421f8553fb4a35b65fd66cf90e708216534229bd (patch)
treebb2bd9fda7b99e3001e0c521cf8530263ddb19db /mcs/class/corlib
parent3e1eeec6c3373b38688b714f354da72dc2d92247 (diff)
parent491f4b651f4ac67f4157192144b9f02191077769 (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-xmcs/class/corlib/System/TimeZoneInfo.WinRT.cs2
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 {