[DATETIME]
authorEric Kohl <eric.kohl@reactos.org>
Sat, 23 Sep 2017 18:54:58 +0000 (18:54 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 23 Sep 2017 18:54:58 +0000 (18:54 +0000)
Invert the sort order of the timezone list. List the timezones from GMT-12:00 to GMT+13:00.

svn path=/trunk/; revision=75931

reactos/dll/cpl/timedate/timezone.c

index 1d3b3f8..06a2d1a 100644 (file)
@@ -48,7 +48,7 @@ GetLargerTimeZoneEntry(
     Entry = TimeZoneListHead;
     while (Entry != NULL)
     {
     Entry = TimeZoneListHead;
     while (Entry != NULL)
     {
-        if (Entry->TimezoneInfo.Bias > Bias)
+        if (Entry->TimezoneInfo.Bias < Bias)
             return Entry;
 
         if (Entry->TimezoneInfo.Bias == Bias)
             return Entry;
 
         if (Entry->TimezoneInfo.Bias == Bias)