Skip to content

Commit d050238

Browse files
committed
doc/go1.17: fix formatting for time changes
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 <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 74242ba commit d050238

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/go1.17.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -558,9 +558,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
558558
<dl id="time"><dt><a href="/pkg/time/">time</a></dt>
559559
<dd>
560560
<p><!-- CL 260858 -->
561-
time.Time now has a <a href="/pkg/time/#Time.GoString">GoString</a>
562-
method that will return a more useful value for times when printed with
563-
the <code>"%#v"</code> format specifier in the fmt package.
561+
The <a href="/pkg/time/#Time"><code>Time</code></a> type now has a
562+
<a href="/pkg/time/#Time.GoString"><code>GoString</code></a> method that
563+
will return a more useful value for times when printed with the
564+
<code>%#v</code> format specifier in the <code>fmt</code> package.
564565
</p>
565566

566567
<p><!-- CL 264077 -->

0 commit comments

Comments
 (0)