go/src/time
Ian Lance Taylor 293ecd87c1 time: document that Parse truncates to nanosecond precision
For #48685
Fixes #50806

Change-Id: Ie8be40e5794c0998538890a651ef8ec92cb72d3a
Reviewed-on: https://go-review.googlesource.com/c/go/+/381155
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Paul Jolly <paul@myitcv.org.uk>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2022-02-15 22:54:38 +00:00
..
testdata time: move slim test tzdata to testdata directory 2021-04-14 19:38:36 +00:00
tzdata all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
embed.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
example_test.go time: add some examples 2021-11-05 21:28:07 +00:00
export_android_test.go
export_test.go time: properly quote strings containing quotes and backslashes 2021-04-06 19:18:47 +00:00
export_windows_test.go
format.go time: document that Parse truncates to nanosecond precision 2022-02-15 22:54:38 +00:00
format_test.go time: truncate fractional seconds longer than 9 digits 2021-10-06 19:45:35 +00:00
genzabbrs.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
internal_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
mono_test.go
sleep.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
sleep_test.go time: skip TestTimerModifiedEarlier on plan9/arm 2022-01-06 19:42:27 +00:00
sys_plan9.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
sys_unix.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
sys_windows.go
tick.go time: make Ticker.Reset(0) panic 2021-11-05 21:13:38 +00:00
tick_test.go time: make Ticker.Reset(0) panic 2021-11-05 21:13:38 +00:00
time.go time: fix looking for zone offset when date is close to a zone transition 2021-11-05 21:28:34 +00:00
time_test.go time: fix looking for zone offset when date is close to a zone transition 2021-11-05 21:28:34 +00:00
tzdata_test.go
zoneinfo.go time: add doc comment about tzdata package 2021-09-30 15:03:39 +00:00
zoneinfo_abbrs_windows.go
zoneinfo_android.go
zoneinfo_android_test.go
zoneinfo_ios.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
zoneinfo_js.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
zoneinfo_plan9.go
zoneinfo_read.go time: use offset and isDST when caching zone from extend string 2021-04-05 18:52:42 +00:00
zoneinfo_test.go time: add missing "os" import to zoneinfo_test.go 2021-04-15 00:40:43 +00:00
zoneinfo_unix.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
zoneinfo_unix_test.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
zoneinfo_windows.go
zoneinfo_windows_test.go