Skip to content

Commit

Permalink
Fix typo for UnixMicro documention
Browse files Browse the repository at this point in the history
  • Loading branch information
helloPiers committed Jul 19, 2021
1 parent 49402be commit 691c503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/time/time.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 691c503

Please sign in to comment.