]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.17: mention time.Layout
authorIan Lance Taylor <iant@golang.org>
Sat, 29 May 2021 00:32:15 +0000 (17:32 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 29 May 2021 01:59:17 +0000 (01:59 +0000)
For #44513

Change-Id: Id4624e977654f7e8c489508a9dce98c9fab621a6
Reviewed-on: https://go-review.googlesource.com/c/go/+/323490
Trust: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
doc/go1.17.html

index 3805a4c14e0d0a3ed8c4e6fc3aad422f31e81cf6..02a58f89844012da0b6405cb3894e12911ef688d 100644 (file)
@@ -673,6 +673,11 @@ Do not send CLs removing the interior tags from such phrases.
     <p><!-- CL 300996 -->
       TODO: <a href="https://golang.org/cl/300996">https://golang.org/cl/300996</a>: support &#34;,&#34; as separator for fractional seconds
     </p>
+
+    <p><!-- CL 320252 -->
+      The new constant <a href="/pkg/time/#Layout"><code>Layout</code></a>
+      defines the reference time.
+    </p>
   </dd>
 </dl><!-- time -->