diff options
Diffstat (limited to 'winsup/utils/tzmap-from-unicode.org')
-rwxr-xr-x | winsup/utils/tzmap-from-unicode.org | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/winsup/utils/tzmap-from-unicode.org b/winsup/utils/tzmap-from-unicode.org index e169ee7a7..af2b342c0 100755 --- a/winsup/utils/tzmap-from-unicode.org +++ b/winsup/utils/tzmap-from-unicode.org @@ -8,7 +8,7 @@ # Create the table file as required by tzset.c. # -ZONES_FILE="http://unicode.org/repos/cldr/trunk/common/supplemental/windowsZones.xml" +ZONES_FILE="https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml" echo "/*" echo " This file gets auto-generated by the script tzmap-from-unicode.org via" @@ -24,13 +24,7 @@ echo " This table maps Windows timezone keynames and countries per ISO 3166-1 echo " POSIX-compatible timezone IDs." echo "" echo " The mapping from unicode.org is just a bit incomplete. It doesn't contain" -echo " a few timezones available on Windows XP, namely:" -echo "" -echo " Armenian Standard Time" -echo " Mexico Standard Time" -echo " Mexico Standard Time 2" -echo "" -echo " as well as the still (Windows 8.1) available" +echo " a few timezones available on Windows 8.1:" echo "" echo " E. Europe Standard Time" echo " Mid-Atlantic Standard Time" @@ -46,10 +40,9 @@ echo " Kaliningrad Standard Time/BY" echo " SA Pacific Standard Time/HT " echo " South Africa Standard Time/LY" echo "" -echo " It also doesn't contain some of the deprecated country codes used in older" +echo " It also doesn't contain deprecated country codes used in older" echo " OSes, namely:" echo "" -echo " SP (Serbian, proposed) used in XP" echo " CS (Serbian and Montenegro, dissolved, now RS and ME) used in Vista" echo " " echo " While these are apparently old, they are required here to get a complete" @@ -66,9 +59,7 @@ wget -O - "${ZONES_FILE}" | \ sed -n -e 's#territory="001"#territory=""# s#Asia/Calcutta#Asia/Kolkata# s#.*mapZone other=\("[^"]*"\) territory=\("[^"]*"\) type=\("[^"]*"\).*# { L\1, L\2, L\3 },#p' - echo ' { L"Armenian Standard Time", L"AM", L"Asia/Yerevan" },' echo ' { L"Central Europe Standard Time", L"CS", L"Europe/Belgrade" },' - echo ' { L"Central Europe Standard Time", L"SP", L"Europe/Belgrade" },' echo ' { L"E. Europe Standard Time", L"", L"Asia/Nicosia" },' echo ' { L"E. Europe Standard Time", L"CY", L"Asia/Nicosia" },' echo ' { L"Eastern Standard Time", L"TC", L"America/Grand_Turk" },' @@ -77,8 +68,6 @@ wget -O - "${ZONES_FILE}" | \ echo ' { L"Kaliningrad Standard Time", L"BY", L"Europe/Minsk" },' echo ' { L"Kamchatka Standard Time", L"", L"Asia/Kamchatka" },' echo ' { L"Hawaiian Standard Time", L"TK", L"Pacific/Fakaofo" },' - echo ' { L"Mexico Standard Time", L"", L"America/Mexico_City" },' - echo ' { L"Mexico Standard Time 2", L"", L"America/Mazatlan" },' echo ' { L"Mid-Atlantic Standard Time", L"", L"Atlantic/South_Georgia" },' echo ' { L"SA Pacific Standard Time", L"HT", L"America/Port-au-Prince" },' echo ' { L"South Africa Standard Time", L"LY", L"Africa/Tripoli" },' |