-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.
Description
What version of Go are you using (go version
)?
$ go version go version go1.16 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env
)?
go env
Output
$ go env GOHOSTARCH="amd64" GOHOSTOS="linux"
What did you do?
Loaded tzdata with both "fat" and "slim" formats.
What did you expect to see?
Same time zone info regardless of whether using "fat" or "slim" tzdata.
What did you see instead?
Incorrect zones selected when using "slim" tzdata.
Comparing "fat" and "slim" versions of the 2021a tzdata I found 9 discrepancies:
America/Godthab
FAT: -03 | -10800
SLIM: -02 | -7200
America/Nuuk
FAT: -03 | -10800
SLIM: -02 | -7200
America/St_Johns
FAT: NST | -12600
SLIM: NST | -12652
Asia/Gaza
FAT: EET | 7200
SLIM: EEST | 10800
Asia/Hebron
FAT: EET | 7200
SLIM: EEST | 10800
Asia/Jerusalem
FAT: IST | 7200
SLIM: IDT | 10800
Asia/Tel_Aviv
FAT: IST | 7200
SLIM: IDT | 10800
Canada/Newfoundland
FAT: NST | -12600
SLIM: NST | -12652
Israel
FAT: IST | 7200
SLIM: IDT | 10800
Script used (doesn't work in playground): https://play.golang.org/p/iaduStbpjnU
time/tzdata
is affected in Go 1.16 since it now uses the "slim" format.
Related: #42216
pascaldekloe
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.