Skip to content

Commit 1d91551

Browse files
helloPiersianlancetaylor
authored andcommitted
time: correct typo in documentation for UnixMicro
Fixes #47283. Change-Id: Ibdc35433d22be3caa70197b6a95c66999812a16a GitHub-Last-Rev: 75962b0 GitHub-Pull-Request: #47284 Reviewed-on: https://go-review.googlesource.com/c/go/+/335549 Reviewed-by: Ian Lance Taylor <[email protected]> Trust: Than McIntosh <[email protected]>
1 parent 404127c commit 1d91551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/time/time.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ func UnixMilli(msec int64) Time {
13341334
}
13351335

13361336
// UnixMicro returns the local Time corresponding to the given Unix time,
1337-
// usec milliseconds since January 1, 1970 UTC.
1337+
// usec microseconds since January 1, 1970 UTC.
13381338
func UnixMicro(usec int64) Time {
13391339
return Unix(usec/1e6, (usec%1e6)*1e3)
13401340
}

0 commit comments

Comments
 (0)