]> Cypherpunks repositories - gostls13.git/commit
time: add Time.IsDST() to check if its Location is in Daylight Savings Time
authorJoel Courtney <euphemize@gmail.com>
Mon, 15 Mar 2021 22:28:31 +0000 (22:28 +0000)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Mon, 15 Mar 2021 23:56:07 +0000 (23:56 +0000)
commita9b3c4bd0602f95afc58328d9953534f5e5fe4f6
tree78f4086aa4f063ff967a2032928ea4ff4ae529b5
parentd7cc2f1d7c60b51c600c7d0c808610985dcd9b0c
time: add Time.IsDST() to check if its Location is in Daylight Savings Time

Fixes #42102

Change-Id: I2cd2fdf67c794c3e99ed1c24786f7f779da73962
GitHub-Last-Rev: bbfa92135734cbd55895012fa492e51686a7b58b
GitHub-Pull-Request: golang/go#42103
Reviewed-on: https://go-review.googlesource.com/c/go/+/264077
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Rob Pike <r@golang.org>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
src/time/format.go
src/time/time.go
src/time/time_test.go
src/time/zoneinfo.go
src/time/zoneinfo_read.go
src/time/zoneinfo_test.go