aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/time
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2021-08-19 12:29:54 -0700
committerIan Lance Taylor <iant@golang.org>2021-09-05 16:10:51 -0700
commit74df79ec3e0a1af87e2619fc07533aba58680f0a (patch)
tree321354569188d7b7de54cd23d3c6785030163cef /libgo/go/time
parenta827909537cf085e5673ca7816b7bd7151d89fc5 (diff)
downloadgcc-74df79ec3e0a1af87e2619fc07533aba58680f0a.zip
gcc-74df79ec3e0a1af87e2619fc07533aba58680f0a.tar.gz
gcc-74df79ec3e0a1af87e2619fc07533aba58680f0a.tar.bz2
libgo: update to final Go 1.17 release
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/343729
Diffstat (limited to 'libgo/go/time')
-rw-r--r--libgo/go/time/format.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgo/go/time/format.go b/libgo/go/time/format.go
index bb173a2..f4b4f48 100644
--- a/libgo/go/time/format.go
+++ b/libgo/go/time/format.go
@@ -77,9 +77,9 @@ import "errors"
// The formats and 002 are space-padded and zero-padded
// three-character day of year; there is no unpadded day of year format.
//
-// A decimal point followed by one or more zeros represents a fractional
-// second, printed to the given number of decimal places.
-// Either a comma or decimal point followed by one or more nines represents
+// A comma or decimal point followed by one or more zeros represents
+// a fractional second, printed to the given number of decimal places.
+// A comma or decimal point followed by one or more nines represents
// a fractional second, printed to the given number of decimal places, with
// trailing zeros removed.
// For example "15:04:05,000" or "15:04:05.000" formats or parses with