]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.17: fix formatting for time changes
authorTobias Klauser <tklauser@distanz.ch>
Tue, 25 May 2021 08:33:02 +0000 (10:33 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Wed, 26 May 2021 05:45:56 +0000 (05:45 +0000)
Also add a link to the time.Time type and adjust the wording a bit.

Change-Id: I2f4210ada6d253eb5804e6327b2432487beb8a05
Reviewed-on: https://go-review.googlesource.com/c/go/+/321811
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go1.17.html

index c2317a4035284d21e8194c903a7c0f565ec3b55d..bdde26bd1088eb0b6b83f6a3a7a9d42b3f2869df 100644 (file)
@@ -558,9 +558,10 @@ Do not send CLs removing the interior tags from such phrases.
 <dl id="time"><dt><a href="/pkg/time/">time</a></dt>
   <dd>
     <p><!-- CL 260858 -->
-      time.Time now has a <a href="/pkg/time/#Time.GoString">GoString</a>
-      method that will return a more useful value for times when printed with
-      the <code>"%#v"</code> format specifier in the fmt package.
+      The <a href="/pkg/time/#Time"><code>Time</code></a> type now has a
+      <a href="/pkg/time/#Time.GoString"><code>GoString</code></a> method that
+      will return a more useful value for times when printed with the
+      <code>%#v</code> format specifier in the <code>fmt</code> package.
     </p>
 
     <p><!-- CL 264077 -->