]> Cypherpunks repositories - gostls13.git/commitdiff
time: Fix typo in Time.String() description.
authorAlexey Palazhchenko <alexey.palazhchenko@gmail.com>
Sun, 5 Feb 2017 20:06:34 +0000 (23:06 +0300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 5 Feb 2017 21:14:45 +0000 (21:14 +0000)
Refs #12914.

Change-Id: Iadac4cbef70db6a95b47f86eaffcfc63bfdb8e90
Reviewed-on: https://go-review.googlesource.com/36334
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/time/format.go

index 2da9a5eca03a51f3c9248bdf21fb6d0d14906152..027fe8bdffe742da3a20d9f72a55ee348bf2b010 100644 (file)
@@ -424,9 +424,9 @@ func formatNano(b []byte, nanosec uint, n int, trim bool) []byte {
 
 // String returns the time formatted using the format string
 //     "2006-01-02 15:04:05.999999999 -0700 MST"
-// 
+//
 // If the time has a monotonic clock reading, the returned string
-// includes a final field "m±<value>", where value is the monotonic
+// includes a final field "m=±<value>", where value is the monotonic
 // clock reading formatted as a decimal number of seconds.
 func (t Time) String() string {
        s := t.Format("2006-01-02 15:04:05.999999999 -0700 MST")