From d83168eb385f7ae38710028fff5c84252267adbc Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 13 Oct 2020 17:07:34 +0200 Subject: 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 Run-TryBot: Tobias Klauser TryBot-Result: Go Bot Reviewed-by: Ian Lance Taylor --- src/time/tzdata/tzdata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/time/tzdata/tzdata.go') diff --git a/src/time/tzdata/tzdata.go b/src/time/tzdata/tzdata.go index fd6d6e3fc1..25725bd84d 100644 --- a/src/time/tzdata/tzdata.go +++ b/src/time/tzdata/tzdata.go @@ -10,7 +10,7 @@ // it will use this embedded information. // // Importing this package will increase the size of a program by about -// 800 KB. +// 450 KB. // // This package should normally be imported by a program's main package, // not by a library. Libraries normally shouldn't decide whether to -- cgit v1.3