]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.17: linkify time.UnixMilli and time.UnixMicro
authorTobias Klauser <tklauser@distanz.ch>
Mon, 5 Jul 2021 08:35:53 +0000 (10:35 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Thu, 8 Jul 2021 09:09:53 +0000 (09:09 +0000)
Change-Id: I8503c4649fc42670f13d981f98af480467d6a3e8
Reviewed-on: https://go-review.googlesource.com/c/go/+/332829
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
doc/go1.17.html

index 66b4f48b61ea731451979f35b2fc9390f76760db..4fa30158bb2d49f543cb80e37301917d1272b2bd 100644 (file)
@@ -1132,10 +1132,13 @@ func Foo() bool {
 
     <p><!-- CL 293349 -->
       The new <a href="/pkg/time/#Time.UnixMilli"><code>Time.UnixMilli</code></a> and
-      <a href="/pkg/time/#Time.UnixMicro"><code>Time.UnixMicro</code></a> methods return the number of milliseconds and
-      microseconds elapsed since January 1, 1970 UTC respectively.<br>
-      The new <code>UnixMilli</code> and <code>UnixMicro</code> functions return local Time corresponding to given
-      Unix time.
+      <a href="/pkg/time/#Time.UnixMicro"><code>Time.UnixMicro</code></a>
+      methods return the number of milliseconds and microseconds elapsed since
+      January 1, 1970 UTC respectively.
+      <br />
+      The new <a href="/pkg/time/#UnixMilli"><code>UnixMilli</code></a> and
+      <a href="/pkg/time/#UnixMicro"><code>UnixMicro</code></a> functions
+      return the local <code>Time</code> corresponding to the given Unix time.
     </p>
 
     <p><!-- CL 300996 -->