go/src/time
Russ Cox 6a9da69147 time: add support for day-of-year in Format and Parse
Day of year is 002 or __2, in contrast to day-in-month 2 or 02 or _2.
This means there is no way to print a variable-width day-of-year,
but that's probably OK.

Fixes #25689.

Change-Id: I1425d412cb7d2d360e9b3bf74e89566714e2477a
Reviewed-on: https://go-review.googlesource.com/c/go/+/122876
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
2019-03-08 01:21:33 +00:00
..
example_test.go time: move the explanation of u/micro to the ParseDuration example 2019-02-28 00:24:56 +00:00
export_android_test.go
export_test.go time: add support for day-of-year in Format and Parse 2019-03-08 01:21:33 +00:00
export_windows_test.go
format.go time: add support for day-of-year in Format and Parse 2019-03-08 01:21:33 +00:00
format_test.go time: add support for day-of-year in Format and Parse 2019-03-08 01:21:33 +00:00
genzabbrs.go
internal_test.go
mono_test.go
sleep.go runtime, time: refactor startNano handling 2018-11-02 12:50:03 +00:00
sleep_test.go all: update stale test skips 2018-08-20 13:10:24 +00:00
sys_plan9.go
sys_unix.go time: add AIX operating system 2018-10-10 14:15:57 +00:00
sys_windows.go
tick.go time: add clarification to Timer.Stop documentation 2018-07-11 22:06:22 +00:00
tick_test.go
time.go time: add a missing comma in the documentation of Time 2018-11-08 18:02:11 +00:00
time_test.go time: add support for day-of-year in Format and Parse 2019-03-08 01:21:33 +00:00
zoneinfo.go all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
zoneinfo_abbrs_windows.go
zoneinfo_android.go time: return ENOENT from androidLoadTzinfoFromTzdata if zone not found 2018-09-15 14:58:35 +00:00
zoneinfo_android_test.go
zoneinfo_ios.go
zoneinfo_js.go time: handle negative offsets on js/wasm 2018-11-08 17:33:49 +00:00
zoneinfo_plan9.go
zoneinfo_read.go time: reject tzdata with no zones 2019-02-27 18:08:03 +00:00
zoneinfo_test.go time: reject tzdata with no zones 2019-02-27 18:08:03 +00:00
zoneinfo_unix.go time: return correct zone info on js/wasm 2018-10-24 15:42:36 +00:00
zoneinfo_windows.go
zoneinfo_windows_test.go time: always run ZoneAbbr test 2018-08-20 14:39:59 +00:00