1
0
mirror of https://github.com/golang/go synced 2024-10-02 22:21:20 -06:00

time: fix Time.ZoneOffset documentation

R=rsc
CC=golang-dev
https://golang.org/cl/4240090
This commit is contained in:
Peter Mundy 2011-03-08 12:33:49 -05:00 committed by Russ Cox
parent da42312268
commit 87aa93457e

View File

@ -23,7 +23,7 @@ type Time struct {
Month, Day int // Jan-2 is 1, 2 Month, Day int // Jan-2 is 1, 2
Hour, Minute, Second int // 15:04:05 is 15, 4, 5. Hour, Minute, Second int // 15:04:05 is 15, 4, 5.
Weekday int // Sunday, Monday, ... Weekday int // Sunday, Monday, ...
ZoneOffset int // seconds east of UTC, e.g. -7*60 for -0700 ZoneOffset int // seconds east of UTC, e.g. -7*60*60 for -0700
Zone string // e.g., "MST" Zone string // e.g., "MST"
} }