aboutsummaryrefslogtreecommitdiff
path: root/src/time/format.go
diff options
context:
space:
mode:
authorAlexey Palazhchenko <alexey.palazhchenko@gmail.com>2017-02-05 23:06:34 +0300
committerBrad Fitzpatrick <bradfitz@golang.org>2017-02-05 21:14:45 +0000
commit172311ce10c823c470d23060317f79c5059f041b (patch)
tree355b1778096fbd39821e1d188a8eeaecc059153f /src/time/format.go
parentb53f0f8c96a46b3cce0f1073787b74dd23f57a80 (diff)
downloadgo-172311ce10c823c470d23060317f79c5059f041b.tar.gz
go-172311ce10c823c470d23060317f79c5059f041b.zip
time: Fix typo in Time.String() description.
Refs #12914. Change-Id: Iadac4cbef70db6a95b47f86eaffcfc63bfdb8e90 Reviewed-on: https://go-review.googlesource.com/36334 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/time/format.go')
-rw-r--r--src/time/format.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/time/format.go b/src/time/format.go
index 2da9a5eca0..027fe8bdff 100644
--- a/src/time/format.go
+++ b/src/time/format.go
@@ -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")