Commit 3e370f76 authored by Giovanni Mascellani's avatar Giovanni Mascellani Committed by Alexandre Julliard

tzres: Regenerate TZ data from de facto standard sources.

The sources used to regenerate data are: * The Olson database, tracing all world time zone changes since 1970, widely used under Unix systems and dedicated to the public domain. * Unicode CLDR's windowsZones.xml, used by Windows itself as source for naming timezones and providing the correspondance with the Olson zones. It is licensed under a MIT-styled license. Signed-off-by: 's avatarGiovanni Mascellani <gmascellani@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 3361a2f2
......@@ -949,16 +949,16 @@ static void test_GetTimeZoneInformationForYear(void)
{ L"Greenland Standard Time", 2015, 180, 0, -60, 10, 24, 3, 28 },
{ L"Greenland Standard Time", 2016, 180, 0, -60, 10, 29, 3, 26 },
{ L"Greenland Standard Time", 2017, 180, 0, -60, 10, 28, 3, 25 },
{ L"Easter Island Standard Time", 2014, 360, 0, -60, 4, 26, 9, 6, 0, 1, 0, 1, 1, 1, 1, 1 },
{ L"Easter Island Standard Time", 2015, 300, 0, -60, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1 },
{ L"Easter Island Standard Time", 2016, 360, 0, -60, 5, 14, 8, 13, 0, 1, 0, 1, 1, 1, 1, 1 },
{ L"Egypt Standard Time", 2013, -120, 0, -60, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1 },
{ L"Egypt Standard Time", 2014, -120, 0, -60, 9, 25, 5, 15, 0, 0, 0, 0, 1, 1, 1, 1 },
{ L"Egypt Standard Time", 2015, -120, 0, -60, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1 },
{ L"Egypt Standard Time", 2016, -120, 0, -60, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1 },
{ L"Altai Standard Time", 2016, -420, 0, 60, 3, 27, 1, 1, 1 },
{ L"Altai Standard Time", 2017, -420, 0, -60, 0, 0, 0, 0, 1 },
{ L"Altai Standard Time", 2018, -420, 0, -60, 0, 0, 0, 0, 1 },
{ L"Easter Island Standard Time", 2014, 360, 0, -60, 4, 26, 9, 6 },
{ L"Easter Island Standard Time", 2015, 300, 0, -60, 0, 0, 0, 0 },
{ L"Easter Island Standard Time", 2016, 360, 0, -60, 5, 14, 8, 13 },
{ L"Egypt Standard Time", 2013, -120, 0, -60, 0, 0, 0, 0 },
{ L"Egypt Standard Time", 2014, -120, 0, -60, 9, 25, 5, 15, 0, 0, 0, 0, 0, 1, 0, 1 },
{ L"Egypt Standard Time", 2015, -120, 0, -60, 0, 0, 0, 0 },
{ L"Egypt Standard Time", 2016, -120, 0, -60, 0, 0, 0, 0 },
{ L"Altai Standard Time", 2016, -420, 0, 60, 3, 27, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1 },
{ L"Altai Standard Time", 2017, -420, 0, -60, 0, 0, 0, 0 },
{ L"Altai Standard Time", 2018, -420, 0, -60, 0, 0, 0, 0 },
};
if (!pGetTimeZoneInformationForYear || !pGetDynamicTimeZoneInformation)
......@@ -1013,7 +1013,7 @@ static void test_GetTimeZoneInformationForYear(void)
ret = pGetTimeZoneInformationForYear(2015, &dyn_tzinfo, &tzinfo);
if (!ret && GetLastError() == ERROR_FILE_NOT_FOUND)
broken_test = TRUE;
todo_wine ok(ret == TRUE || broken(broken_test) /* before 10 1809 */,
ok(ret == TRUE || broken(broken_test) /* before 10 1809 */,
"GetTimeZoneInformationForYear err %u\n", GetLastError());
if (broken(broken_test))
......
......@@ -32,6 +32,8 @@ STRINGTABLE
50193 "Alaskan Daylight Time"
55200 "Aleutian Standard Time"
55201 "Aleutian Daylight Time"
4464 "Altai Standard Time"
4465 "Altai Daylight Time"
41968 "Arab Standard Time"
41969 "Arab Daylight Time"
42704 "Arabian Standard Time"
......@@ -40,6 +42,8 @@ STRINGTABLE
8769 "Arabic Daylight Time"
19584 "Argentina Standard Time"
19585 "Argentina Daylight Time"
25104 "Astrakhan Standard Time"
25105 "Astrakhan Daylight Time"
34224 "Atlantic Standard Time"
34225 "Atlantic Daylight Time"
47024 "AUS Central Standard Time"
......@@ -96,6 +100,8 @@ STRINGTABLE
62721 "E. Africa Daylight Time"
65264 "E. Australia Standard Time"
65265 "E. Australia Daylight Time"
32128 "E. Europe Standard Time"
32129 "E. Europe Daylight Time"
64096 "E. South America Standard Time"
64097 "E. South America Daylight Time"
58592 "Easter Island Standard Time"
......@@ -174,12 +180,16 @@ STRINGTABLE
54897 "New Zealand Daylight Time"
9504 "Newfoundland Standard Time"
9505 "Newfoundland Daylight Time"
47440 "Norfolk Standard Time"
47441 "Norfolk Daylight Time"
19056 "North Asia East Standard Time"
19057 "North Asia East Daylight Time"
304 "North Asia Standard Time"
305 "North Asia Daylight Time"
35888 "North Korea Standard Time"
35889 "North Korea Daylight Time"
55952 "Omsk Standard Time"
55953 "Omsk Daylight Time"
65008 "Pacific SA Standard Time"
65009 "Pacific SA Daylight Time"
11232 "Pacific Standard Time"
......@@ -190,8 +200,16 @@ STRINGTABLE
28753 "Pakistan Daylight Time"
50224 "Paraguay Standard Time"
50225 "Paraguay Daylight Time"
53760 "Qyzylorda Standard Time"
53761 "Qyzylorda Daylight Time"
45104 "Romance Standard Time"
45105 "Romance Daylight Time"
59264 "Russia Time Zone 10"
59265 "Russia Time Zone 10"
46000 "Russia Time Zone 11"
46001 "Russia Time Zone 11"
17920 "Russia Time Zone 3"
17921 "Russia Time Zone 3"
44560 "Russian Standard Time"
44561 "Russian Daylight Time"
40656 "SA Eastern Standard Time"
......@@ -202,8 +220,14 @@ STRINGTABLE
57121 "SA Western Daylight Time"
5584 "Saint Pierre Standard Time"
5585 "Saint Pierre Daylight Time"
35104 "Sakhalin Standard Time"
35105 "Sakhalin Daylight Time"
14592 "Samoa Standard Time"
14593 "Samoa Daylight Time"
5984 "Sao Tome Standard Time"
5985 "Sao Tome Daylight Time"
33808 "Saratov Standard Time"
33809 "Saratov Daylight Time"
53728 "SE Asia Standard Time"
53729 "SE Asia Daylight Time"
61840 "Singapore Standard Time"
......@@ -212,6 +236,8 @@ STRINGTABLE
38897 "South Africa Daylight Time"
39408 "Sri Lanka Standard Time"
39409 "Sri Lanka Daylight Time"
9792 "Sudan Standard Time"
9793 "Sudan Daylight Time"
46576 "Syria Standard Time"
46577 "Syria Daylight Time"
26432 "Taipei Standard Time"
......@@ -222,10 +248,16 @@ STRINGTABLE
43073 "Tocantins Daylight Time"
16240 "Tokyo Standard Time"
16241 "Tokyo Daylight Time"
29136 "Tomsk Standard Time"
29137 "Tomsk Daylight Time"
7216 "Tonga Standard Time"
7217 "Tonga Daylight Time"
31472 "Transbaikal Standard Time"
31473 "Transbaikal Daylight Time"
24848 "Turkey Standard Time"
24849 "Turkey Daylight Time"
20560 "Turks And Caicos Standard Time"
20561 "Turks And Caicos Daylight Time"
47200 "Ulaanbaatar Standard Time"
47201 "Ulaanbaatar Daylight Time"
34928 "US Eastern Standard Time"
......@@ -234,20 +266,40 @@ STRINGTABLE
37473 "US Mountain Daylight Time"
22000 "Coordinated Universal Time"
22001 "Coordinated Universal Time"
1200 "UTC+12"
1201 "UTC+12"
8784 "UTC+13"
8785 "UTC+13"
37328 "UTC-02"
37329 "UTC-02"
3344 "UTC-08"
3345 "UTC-08"
39152 "UTC-09"
39153 "UTC-09"
19408 "UTC-11"
19409 "UTC-11"
51472 "Venezuela Standard Time"
51473 "Venezuela Daylight Time"
61376 "Vladivostok Standard Time"
61377 "Vladivostok Daylight Time"
18048 "Volgograd Standard Time"
18049 "Volgograd Daylight Time"
65376 "W. Australia Standard Time"
65377 "W. Australia Daylight Time"
64976 "W. Central Africa Standard Time"
64977 "W. Central Africa Daylight Time"
27696 "W. Europe Standard Time"
27697 "W. Europe Daylight Time"
53952 "W. Mongolia Standard Time"
53953 "W. Mongolia Daylight Time"
49664 "West Asia Standard Time"
49665 "West Asia Daylight Time"
46160 "West Bank Standard Time"
46161 "West Bank Daylight Time"
10224 "West Pacific Standard Time"
10225 "West Pacific Daylight Time"
40576 "Yakutsk Standard Time"
40577 "Yakutsk Daylight Time"
26288 "Yukon Standard Time"
26289 "Yukon Daylight Time"
}
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment