aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiley Avron <ra.git@posteo.net>2021-09-14 18:45:53 +0000
committerIan Lance Taylor <iant@golang.org>2021-09-17 23:19:17 +0000
commit163871feb177ca0d7c690052b4cdd17bd57fcc04 (patch)
tree1469be036ee5786d69237b8f6bf01526c3d998f2
parentac7c34767dd710643f5f5fea1720a18cc392b7f8 (diff)
downloadgo-163871feb177ca0d7c690052b4cdd17bd57fcc04.tar.gz
go-163871feb177ca0d7c690052b4cdd17bd57fcc04.zip
time: re-add space-padded day of year to docs
CL 320252 reworked the time docs, but accidentally deleted the format __2 from the sentence describing the three-character day of year component. Change-Id: I3f583733028657c2a677358a25e062ea81835ce8 GitHub-Last-Rev: 2fa98324191500fd6a37097a9712ae23cc509269 GitHub-Pull-Request: golang/go#48387 Reviewed-on: https://go-review.googlesource.com/c/go/+/349929 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Carlos Amedee <carlos@golang.org>
-rw-r--r--src/time/format.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/format.go b/src/time/format.go
index c2bffb8ff6..7373892b97 100644
--- a/src/time/format.go
+++ b/src/time/format.go
@@ -74,7 +74,7 @@ import "errors"
// for compatibility with fixed-width Unix time formats. A leading zero represents
// a zero-padded value.
//
-// The formats and 002 are space-padded and zero-padded
+// The formats __2 and 002 are space-padded and zero-padded
// three-character day of year; there is no unpadded day of year format.
//
// A comma or decimal point followed by one or more zeros represents