mirror of
https://github.com/golang/go
synced 2024-11-21 16:54:46 -07:00
time: fix windows build
R=rsc CC=golang-dev https://golang.org/cl/5440071
This commit is contained in:
parent
9a86e244bf
commit
68e30a9765
@ -62,7 +62,7 @@ func pseudoUnix(year int, d *syscall.Systemtime) int64 {
|
|||||||
day -= 7
|
day -= 7
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return t.sec + int64(day-1)*secondsPerDay
|
return t.sec + int64(day-1)*secondsPerDay + internalToUnix
|
||||||
}
|
}
|
||||||
|
|
||||||
func initLocalFromTZI(i *syscall.Timezoneinformation) {
|
func initLocalFromTZI(i *syscall.Timezoneinformation) {
|
||||||
|
Loading…
Reference in New Issue
Block a user