We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf91430 commit a77ccfbCopy full SHA for a77ccfb
utils/now_unix.go
@@ -15,5 +15,5 @@ func Now() time.Time {
15
return time.Now()
16
}
17
18
- return time.Unix(0, syscall.TimevalToNsec(tv))
+ return time.Unix(tv.Sec, tv.Usec*1000)
19
0 commit comments