summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2020-10-13 17:07:34 +0200
committerTobias Klauser <tobias.klauser@gmail.com>2020-10-14 09:00:41 +0000
commitd83168eb385f7ae38710028fff5c84252267adbc (patch)
treedae4eb6f124791d6ce36fc94f5473eba421d9e52 /lib
parentfc3a6f4533149212264f74c3a6871a79dc7bbe65 (diff)
downloadgo-git-d83168eb385f7ae38710028fff5c84252267adbc.tar.gz
lib/time, time, time/tzdata: use slim tz data format
Follow-up for CL 261363 which had to retain the fat tz data format due to failing test. The reason for the failed tests was that when caching location data, the extended time format past the end of zone transitions was not considered. The respective change was introduced in (*Location).lookup by CL 215539. This slims down zoneinfo.zip (and thus also the embedded copy in time/tzdata) by ~350KB. Change-Id: I412f79de98ba45358b8696aca784999b3479135e Reviewed-on: https://go-review.googlesource.com/c/go/+/261877 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'lib')
-rwxr-xr-xlib/time/update.bash2
-rw-r--r--lib/time/zoneinfo.zipbin783364 -> 422355 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/time/update.bash b/lib/time/update.bash
index 54d7676d5d..65ef8fb62b 100755
--- a/lib/time/update.bash
+++ b/lib/time/update.bash
@@ -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 ZFLAGS="-b fat" posix_only
+make CFLAGS=-DSTD_INSPIRED AWK=awk TZDIR=zoneinfo posix_only
cd zoneinfo
rm -f ../../zoneinfo.zip
diff --git a/lib/time/zoneinfo.zip b/lib/time/zoneinfo.zip
index e3eea2f5ad..13034f804c 100644
--- a/lib/time/zoneinfo.zip
+++ b/lib/time/zoneinfo.zip
Binary files differ