mirror of
https://github.com/golang/go
synced 2024-11-27 01:01:21 -07:00
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 <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
74242baa41
commit
d050238bb6
@ -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>
|
<dl id="time"><dt><a href="/pkg/time/">time</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><!-- CL 260858 -->
|
<p><!-- CL 260858 -->
|
||||||
time.Time now has a <a href="/pkg/time/#Time.GoString">GoString</a>
|
The <a href="/pkg/time/#Time"><code>Time</code></a> type now has a
|
||||||
method that will return a more useful value for times when printed with
|
<a href="/pkg/time/#Time.GoString"><code>GoString</code></a> method that
|
||||||
the <code>"%#v"</code> format specifier in the fmt package.
|
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>
|
||||||
|
|
||||||
<p><!-- CL 264077 -->
|
<p><!-- CL 264077 -->
|
||||||
|
Loading…
Reference in New Issue
Block a user