aboutsummaryrefslogtreecommitdiff
path: root/src/time/format.go
diff options
context:
space:
mode:
authorKenny Grant <kennygrant@gmail.com>2017-11-02 12:35:25 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2017-11-02 17:16:37 +0000
commit2da1446bb11cdfaac1f86d7c2134c36487dd2d66 (patch)
treedb8df8f13f58e3feb5b372e9e50c81c121b1a90b /src/time/format.go
parente4468c99b004bc15936727a79dd36621b65c58f9 (diff)
downloadgo-2da1446bb11cdfaac1f86d7c2134c36487dd2d66.tar.gz
go-2da1446bb11cdfaac1f86d7c2134c36487dd2d66.zip
time: fix incorrect "zero padding" comments
The comment on invalid time values in Constants and example refers to _ zero padding when it should refer to space padding. Change-Id: I5784356e389d324703e20eec6203f147db92880f Reviewed-on: https://go-review.googlesource.com/75410 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/time/format.go')
-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 d964f4ab75..a60474f026 100644
--- a/src/time/format.go
+++ b/src/time/format.go
@@ -19,7 +19,7 @@ import "errors"
// the same transformation to a general time value.
//
// Some valid layouts are invalid time values for time.Parse, due to formats
-// such as _ for zero padding and Z for zone information.
+// such as _ for space padding and Z for zone information.
//
// Within the format string, an underscore _ represents a space that may be
// replaced by a digit if the following number (a day) has two digits; for