1
0
mirror of https://github.com/golang/go synced 2024-10-04 09:11:21 -06:00
go/src/pkg/time
Adam Langley 9d9a421e24 Change description of time.Time.ZoneOffset to specify east is +ve.
Currently, the description says that +ve numbers are westwards of UTC.
Typically, timezones are specified with +ve numbers running east of Greenwich.
For example, San Francisco is specified as UTC-8. Also, when calling
time.Localtime(), the following is returned on my box in PDT:

{Year:2009 Month:10 Day:5 Hour:18 Minute:55 Second:6 Weekday:1 ZoneOffset:-25200
Zone:PDT}

Note that the ZoneOffset is negative. This leads me to suspect that the
description is mistaken.

R=rsc
APPROVED=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=35356
CL=35377
2009-10-06 10:01:39 -07:00
..
Makefile convert low-level (used by testing) packages to 2009-08-12 13:18:37 -07:00
sleep.go unused imports 2009-09-17 10:27:04 -07:00
tick_test.go expand ticker interface to allow a client to shut down a ticker. 2009-09-23 13:02:14 -07:00
tick.go expand ticker interface to allow a client to shut down a ticker. 2009-09-23 13:02:14 -07:00
time_test.go convert low-level (used by testing) packages to 2009-08-12 13:18:37 -07:00
time.go Change description of time.Time.ZoneOffset to specify east is +ve. 2009-10-06 10:01:39 -07:00
zoneinfo.go more "declared and not used". 2009-09-15 09:41:59 -07:00