go/src/time
Paschalis Tsilias ff1eb42865 time: fix time.Before to reuse t.sec(), u.sec()
Fixes #36987

Change-Id: I91ea1a42f75302de5256a22d382ab7f1b307a498
Reviewed-on: https://go-review.googlesource.com/c/go/+/217360
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2020-03-16 20:59:27 +00:00
..
example_test.go time: use values larger than 24 for day for time.Format examples 2020-03-02 04:25:41 +00:00
export_android_test.go
export_test.go
export_windows_test.go
format.go time: don't get confused about day 31 when parsing 002 2020-02-23 18:06:08 +00:00
format_test.go time: don't get confused about day 31 when parsing 002 2020-02-23 18:06:08 +00:00
genzabbrs.go time: change genzabbrs.go to fetch windowsZones.xml file from GitHub 2019-10-17 08:27:57 +00:00
internal_test.go time: stop referring to timerproc in comment 2020-03-13 00:19:08 +00:00
mono_test.go
sleep.go time: add Ticker.Reset 2020-02-24 01:50:28 +00:00
sleep_test.go all: fix invalid invocations of Fatalf in goroutines 2020-01-03 01:36:26 +00:00
sys_plan9.go
sys_unix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
sys_windows.go
tick.go time: add Ticker.Reset 2020-02-24 01:50:28 +00:00
tick_test.go time: add Ticker.Reset 2020-02-24 01:50:28 +00:00
time.go time: fix time.Before to reuse t.sec(), u.sec() 2020-03-16 20:59:27 +00:00
time_test.go time: optimize Time.ISOWeek 2020-03-01 02:56:31 +00:00
zoneinfo.go time: document an alternative way of setting the system's time zone 2019-11-01 21:41:41 +00:00
zoneinfo_abbrs_windows.go time: change genzabbrs.go to fetch windowsZones.xml file from GitHub 2019-10-17 08:27:57 +00:00
zoneinfo_android.go
zoneinfo_android_test.go
zoneinfo_ios.go
zoneinfo_js.go
zoneinfo_plan9.go
zoneinfo_read.go
zoneinfo_test.go
zoneinfo_unix.go time: remove unnecessary trailing slash from "/etc/" 2020-02-22 04:31:20 +00:00
zoneinfo_windows.go
zoneinfo_windows_test.go