Brad Fitzpatrick
14a75ecf4a
time: support version 3 zone records
...
Fixes #8134
LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews, r, rsc
https://golang.org/cl/100930044
2014-06-03 11:44:17 +09:00
Ian Lance Taylor
fabd261fe2
time: use names for beginning and end of zone transition times
...
No functional changes, just more readable code.
LGTM=r
R=golang-codereviews, gobot, r
CC=golang-codereviews
https://golang.org/cl/59240043
2014-01-31 17:22:10 -08:00
Rob Pike
16c9d3616a
various: deleted unused items
...
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/12396043
2013-08-03 16:01:04 +10:00
Russ Cox
6a003d7589
time: handle zone file with no transitions
...
Code fix by Alex Bramley.
Fixes #4064 .
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/7289049
2013-02-03 22:41:00 -05:00
Shenghou Ma
d1ef9b56fb
all: fix typos
...
caught by https://github.com/lyda/misspell-check .
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/6949072
2012-12-19 03:04:09 +08:00
Robert Griesemer
465b9c35e5
gofmt: apply gofmt -w src misc
...
Remove trailing whitespace in comments.
No other changes.
R=r
CC=golang-dev
https://golang.org/cl/6815053
2012-10-30 13:38:01 -07:00
Russ Cox
edce634963
time: prepare for 64-bit ints
...
The code was trying to interpret a uint32 n as a signed quantity
and then store it in an int. For this, int(n) currently works, but when
int becomes 64 bits one must write int(int32(n)) instead, to get
the 32-bit sign extension.
Update #2188 .
R=golang-dev, nigeltao
CC=golang-dev
https://golang.org/cl/6551068
2012-09-23 23:04:28 -04:00
Russ Cox
cb5e181fe7
time: switch to using (uncompressed) zoneinfo zip file
...
Removal of old zoneinfo files is a separate CL due to its size.
R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/5676100
2012-02-19 03:16:20 -05:00
Russ Cox
ad17a9c0a9
time: use Go distribution zoneinfo if system copy not found
...
Fixes #2964 .
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5656101
2012-02-18 21:02:41 -05:00