mirror of
https://github.com/golang/go
synced 2024-11-26 14:26:51 -07:00
0981d9fff1
Add named constants for the 3rd, 4th, and 13th most popular formats. Fixes #52746 Change-Id: I7ce92e44dcae18c089124f1d6f5bc2d6359d436c Reviewed-on: https://go-review.googlesource.com/c/go/+/412495 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Joseph Tsai <joetsai@digital-static.net> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Joseph Tsai <joetsai@digital-static.net>
7 lines
283 B
Plaintext
7 lines
283 B
Plaintext
pkg time, const DateOnly = "2006-01-02" #52746
|
|
pkg time, const DateOnly ideal-string #52746
|
|
pkg time, const DateTime = "2006-01-02 15:04:05" #52746
|
|
pkg time, const DateTime ideal-string #52746
|
|
pkg time, const TimeOnly = "15:04:05" #52746
|
|
pkg time, const TimeOnly ideal-string #52746
|