1
0
mirror of https://github.com/golang/go synced 2024-11-21 22:54:40 -07:00

time: fix windows build

R=rsc
CC=golang-dev
https://golang.org/cl/5440071
This commit is contained in:
Alex Brainman 2011-12-01 15:26:28 +11:00
parent 9a86e244bf
commit 68e30a9765

View File

@ -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) {