Skip to content

Commit 2ca44fe

Browse files
committed
doc/go1.17: linkify time.UnixMilli and time.UnixMicro
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>
1 parent 5c59e11 commit 2ca44fe

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/go1.17.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,10 +1132,13 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
11321132

11331133
<p><!-- CL 293349 -->
11341134
The new <a href="/pkg/time/#Time.UnixMilli"><code>Time.UnixMilli</code></a> and
1135-
<a href="/pkg/time/#Time.UnixMicro"><code>Time.UnixMicro</code></a> methods return the number of milliseconds and
1136-
microseconds elapsed since January 1, 1970 UTC respectively.<br>
1137-
The new <code>UnixMilli</code> and <code>UnixMicro</code> functions return local Time corresponding to given
1138-
Unix time.
1135+
<a href="/pkg/time/#Time.UnixMicro"><code>Time.UnixMicro</code></a>
1136+
methods return the number of milliseconds and microseconds elapsed since
1137+
January 1, 1970 UTC respectively.
1138+
<br />
1139+
The new <a href="/pkg/time/#UnixMilli"><code>UnixMilli</code></a> and
1140+
<a href="/pkg/time/#UnixMicro"><code>UnixMicro</code></a> functions
1141+
return the local <code>Time</code> corresponding to the given Unix time.
11391142
</p>
11401143

11411144
<p><!-- CL 300996 -->

0 commit comments

Comments
 (0)