We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf91430 commit f76cf0dCopy full SHA for f76cf0d
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(int64(tv.Sec), int64(tv.Usec)*1000)
19
0 commit comments