Skip to content

Commit

Permalink
lib/time, time/tzdata: update tz data to 2020b
Browse files Browse the repository at this point in the history
Set ZFLAGS="-b fat" as the default was changed to '-b slim', see
http://mm.icann.org/pipermail/tz-announce/2020-October/000059.html
This will make sure that backwards-compatibibilty data is still emitted.

Updates #22487

Change-Id: I310a1b3a91e435673d1df41fbf8bb76abce1f94d
Reviewed-on: https://go-review.googlesource.com/c/go/+/261363
Trust: Tobias Klauser <[email protected]>
Run-TryBot: Tobias Klauser <[email protected]>
TryBot-Result: Go Bot <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
tklauser committed Oct 13, 2020
1 parent e69f6e8 commit 5b509d9
Show file tree
Hide file tree
Showing 3 changed files with 12,580 additions and 12,565 deletions.
6 changes: 3 additions & 3 deletions lib/time/update.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
# Consult https://www.iana.org/time-zones for the latest versions.

# Versions to use.
CODE=2020a
DATA=2020a
CODE=2020b
DATA=2020b

set -e
rm -rf work
Expand All @@ -21,7 +21,7 @@ curl -L -O https://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.g
tar xzf tzcode$CODE.tar.gz
tar xzf tzdata$DATA.tar.gz

make CFLAGS=-DSTD_INSPIRED AWK=awk TZDIR=zoneinfo posix_only
make CFLAGS=-DSTD_INSPIRED AWK=awk TZDIR=zoneinfo ZFLAGS="-b fat" posix_only

cd zoneinfo
rm -f ../../zoneinfo.zip
Expand Down
Binary file modified lib/time/zoneinfo.zip
Binary file not shown.
Loading

0 comments on commit 5b509d9

Please sign in to comment.