]> Cypherpunks repositories - gostls13.git/commitdiff
doc: note that Time.String changed in go1.9
authorAlberto Donizetti <alb.donizetti@gmail.com>
Fri, 16 Jun 2017 12:40:34 +0000 (14:40 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 16 Jun 2017 15:48:10 +0000 (15:48 +0000)
Fixes #20702

Change-Id: Id90f08c33e3ccc37794b47fcd27f6c3f2f41c634
Reviewed-on: https://go-review.googlesource.com/46011
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/go1.9.html

index 04625e779e02cdad0c189a017e361e57c53eebce..3e7f1477c9ca74d24b0176f7c105910f8fba2897 100644 (file)
@@ -805,6 +805,13 @@ CL 40331: https://golang.org/cl/40331: cmd/link,runtime/cgo: enable PT_TLS gener
       Retrieving the time and sleeping now work correctly under Wine.
     </p>
 
+    <p>
+      If a <code>Time</code> value has a monotonic clock reading, its
+      string representation (as returned by <code>String</code>) now includes a
+      final field <code>"m=±value"</code>, where <code>value</code> is the
+      monotonic clock reading formatted as a decimal number of seconds.
+    </p>
+
     <p><!-- CL 44832 -->
       The included <code>tzdata</code> timezone database has been
       updated to version 2017b. As always, it is only used if the