golang/src/time
qiulaidongfeng a80543a987 time: use stringslite.Clone
Change-Id: I82f0e7c0c0c80a3cc0e4a732a59ae1debb37d8d9
GitHub-Last-Rev: c8a081f5b37e26058dd0278464950e81e045ab95
GitHub-Pull-Request: golang/go#67166
Reviewed-on: https://go-review.googlesource.com/c/go/+/583195
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2024-05-05 00:24:24 +00:00
..
testdata time: move slim test tzdata to testdata directory 2021-04-14 19:38:36 +00:00
tzdata time/tzdata: generate zip constant during cmd/dist 2023-01-17 22:30:53 +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: fix typo in ExampleParseDuration 2024-02-13 01:05:00 +00:00
export_android_test.go time: fix zoneinfo.zip locating logic when built with -trimpath 2022-03-18 20:57:35 +00:00
export_test.go time: optimize appendInt and appendNanos 2022-10-24 19:23:32 +00:00
export_windows_test.go time: reduce OS dependent timezone related code 2017-09-27 14:14:45 +00:00
format.go time: use stringslite.Clone 2024-05-05 00:24:24 +00:00
format_rfc3339.go time: revert strict parsing of RFC 3339 2023-01-18 19:59:26 +00:00
format_test.go time: fix FuzzFormatRFC3339 nano comparison 2024-02-08 23:28:17 +00:00
genzabbrs.go time: update windows zoneinfo_abbrs 2023-05-12 20:01:59 +00:00
internal_test.go time: garbage collect unstopped Tickers and Timers 2024-03-13 21:36:04 +00:00
mono_test.go time: implement Compare method 2022-09-19 17:10:49 +00:00
sleep.go time: add available godoc link 2024-04-04 14:21:30 +00:00
sleep_test.go runtime: add fast path for (*timers).adjust 2024-03-22 16:33:57 +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 time: add wasip1 support 2023-04-11 20:56:10 +00:00
sys_windows.go time: return ENOENT instead of ERROR_PATH_NOT_FOUND in windows 2022-05-08 17:19:07 +00:00
tick.go time: add available godoc link 2024-04-04 14:21:30 +00:00
tick_test.go time: deflake TestChan/asynctimerchan=1 tests 2024-04-25 11:28:32 +00:00
time.go time: add notes about monotonic time paused 2024-04-29 14:01:17 +00:00
time_test.go all: clean unnecessary casts for test files 2023-09-22 16:22:42 +00:00
tzdata_test.go time: fix zoneinfo.zip locating logic when built with -trimpath 2022-03-18 20:57:35 +00:00
zoneinfo.go time: add available godoc link 2024-04-04 14:21:30 +00:00
zoneinfo_abbrs_windows.go time: update windows zoneinfo_abbrs 2023-05-12 20:01:59 +00:00
zoneinfo_android.go time: fix zoneinfo.zip locating logic when built with -trimpath 2022-03-18 20:57:35 +00:00
zoneinfo_android_test.go time: fix zoneinfo.zip locating logic when built with -trimpath 2022-03-18 20:57:35 +00:00
zoneinfo_goroot.go time: fix zoneinfo.zip locating logic when built with -trimpath 2022-03-18 20:57:35 +00:00
zoneinfo_ios.go time: fix zoneinfo.zip locating logic when built with -trimpath 2022-03-18 20:57:35 +00:00
zoneinfo_js.go time: use internal/itoa 2022-08-29 20:05:34 +00:00
zoneinfo_plan9.go src: rename unexported errors by adding prefix err 2023-02-16 23:09:19 +00:00
zoneinfo_read.go time: use bytealg.IndexByte in byteString 2024-02-26 20:46:01 +00:00
zoneinfo_test.go time: fix timezone lookup logic for non-DST zones 2023-03-13 17:06:56 +00:00
zoneinfo_unix.go time: add /etc/zoneinfo as valid path for tzdata for NixOS 2023-02-04 02:26:55 +00:00
zoneinfo_unix_test.go all: use new "unix" build tag where appropriate 2022-03-29 16:24:51 +00:00
zoneinfo_wasip1.go time: add wasip1 support 2023-04-11 20:56:10 +00:00
zoneinfo_windows.go time: unconditionally use RegLoadMUIString on Windows 2023-09-14 07:20:34 +00:00
zoneinfo_windows_test.go time: unconditionally use RegLoadMUIString on Windows 2023-09-14 07:20:34 +00:00