]> Cypherpunks repositories - gostls13.git/commitdiff
time: re-add space-padded day of year to docs
authorRiley Avron <ra.git@posteo.net>
Tue, 14 Sep 2021 18:45:53 +0000 (18:45 +0000)
committerIan Lance Taylor <iant@golang.org>
Fri, 17 Sep 2021 23:19:17 +0000 (23:19 +0000)
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>

src/time/format.go

index c2bffb8ff68b8888b4cbfeb66df445fbd26ce473..7373892b9772f878264a6e5f4e81a186cef93037 100644 (file)
@@ -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