Skip to content

Commit

Permalink
Update zoneinfo files to 2018c.
Browse files Browse the repository at this point in the history
  • Loading branch information
devbww committed Jan 25, 2018
1 parent 291a51d commit cab5d98
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions testdata/README.zoneinfo
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ already be found in the default ${TZDIR} location, /usr/share/zoneinfo.
New versions can be generated using the following shell script.

#!/bin/sh -
set -e
DESTDIR=$(mktemp -d)
trap "rm -fr ${DESTDIR}" 0 2 15
(
Expand All @@ -20,8 +21,9 @@ New versions can be generated using the following shell script.
LOCALTIME=Factory \
TZDATA_TEXT= \
ZONETABLES=zone1970.tab
rm zoneinfo/posixrules
tar --create --dereference --hard-dereference --file zoneinfo.tar zoneinfo
tar --create --dereference --hard-dereference --file zoneinfo.tar \
--exclude=zoneinfo/posixrules zoneinfo \
--directory=tz version
)
tar --extract --directory testdata --file ${DESTDIR}/zoneinfo.tar
exit 0
Expand Down
1 change: 1 addition & 0 deletions testdata/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2018c-2-gec1c7bf
Binary file modified testdata/zoneinfo/Africa/Sao_Tome
Binary file not shown.
Binary file modified testdata/zoneinfo/America/Campo_Grande
Binary file not shown.
Binary file modified testdata/zoneinfo/America/Cuiaba
Binary file not shown.
Binary file modified testdata/zoneinfo/America/La_Paz
Binary file not shown.
Binary file modified testdata/zoneinfo/America/Sao_Paulo
Binary file not shown.
Binary file modified testdata/zoneinfo/Asia/Tokyo
Binary file not shown.
Binary file modified testdata/zoneinfo/Brazil/East
Binary file not shown.
Binary file modified testdata/zoneinfo/Japan
Binary file not shown.
3 changes: 2 additions & 1 deletion testdata/zoneinfo/zone1970.tab
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ CA +6043-13503 America/Whitehorse Pacific - Yukon (south)
CA +6404-13925 America/Dawson Pacific - Yukon (north)
CC -1210+09655 Indian/Cocos
CH,DE,LI +4723+00832 Europe/Zurich Swiss time
CI,BF,GM,GN,ML,MR,SH,SL,SN,ST,TG +0519-00402 Africa/Abidjan
CI,BF,GM,GN,ML,MR,SH,SL,SN,TG +0519-00402 Africa/Abidjan
CK -2114-15946 Pacific/Rarotonga
CL -3327-07040 America/Santiago Chile (most areas)
CL -5309-07055 America/Punta_Arenas Region of Magallanes
Expand Down Expand Up @@ -321,6 +321,7 @@ SE +5920+01803 Europe/Stockholm
SG +0117+10351 Asia/Singapore
SR +0550-05510 America/Paramaribo
SS +0451+03137 Africa/Juba
ST +0020+00644 Africa/Sao_Tome
SV +1342-08912 America/El_Salvador
SY +3330+03618 Asia/Damascus
TC +2128-07108 America/Grand_Turk
Expand Down

0 comments on commit cab5d98

Please sign in to comment.