mirror of
https://github.com/golang/go
synced 2024-09-05 07:54:46 +00:00
fix typo
This commit is contained in:
parent
49402bee36
commit
75962b0294
|
@ -1334,7 +1334,7 @@ func UnixMilli(msec int64) Time {
|
|||
}
|
||||
|
||||
// UnixMicro returns the local Time corresponding to the given Unix time,
|
||||
// usec milliseconds since January 1, 1970 UTC.
|
||||
// usec microseconds since January 1, 1970 UTC.
|
||||
func UnixMicro(usec int64) Time {
|
||||
return Unix(usec/1e6, (usec%1e6)*1e3)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue