Skip to content

Commit

Permalink
fix clock
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvolp12 committed Sep 10, 2024
1 parent 23e6bd0 commit fbb45d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/monotonic/clock.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ func (c *Clock) Now() int64 {
case time.Second:
now = s.Unix()
case time.Millisecond:
now = s.UnixMicro()
case time.Microsecond:
now = s.UnixMilli()
case time.Microsecond:
now = s.UnixMicro()
case time.Nanosecond:
now = s.UnixNano()
}
Expand Down

0 comments on commit fbb45d1

Please sign in to comment.