aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-05-25 10:33:02 +0200
committerTobias Klauser <tobias.klauser@gmail.com>2021-05-26 05:45:56 +0000
commitd050238bb653711b47335583c5425c9efec30e4e (patch)
tree4bbb0d70438914fdbf8bd95a6ba27cb389981dff /doc
parent74242baa4136c7a9132a8ccd9881354442788c8c (diff)
downloadgo-d050238bb653711b47335583c5425c9efec30e4e.tar.gz
go-d050238bb653711b47335583c5425c9efec30e4e.zip
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.17.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/go1.17.html b/doc/go1.17.html
index c2317a4035..bdde26bd10 100644
--- a/doc/go1.17.html
+++ b/doc/go1.17.html
@@ -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 -->