]> Cypherpunks repositories - gostls13.git/commit
time: reduce OS dependent timezone related code
authorFlorian Uekermann <florian@uekermann.me>
Mon, 18 Sep 2017 17:22:29 +0000 (19:22 +0200)
committerIan Lance Taylor <iant@golang.org>
Wed, 27 Sep 2017 14:14:45 +0000 (14:14 +0000)
commit7340d1397701a0dc4d2570dac6414f0cdec3fff8
tree539e00126e53b75f8210da9bba09efcbe56b1be7
parentabd7ba026d4cfe65fdc99808de63a703694432c2
time: reduce OS dependent timezone related code

Loading and testing timezones is currently implemented using several,
partly redundant, OS specific data structures and functions. This
change merges most of that code into OS independent implementations.

Change-Id: Iae2877c5f48d1e4a9de9ce55d0530d52e24cf96e
Reviewed-on: https://go-review.googlesource.com/64391
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
12 files changed:
src/time/export_android_test.go
src/time/export_windows_test.go
src/time/internal_test.go
src/time/sys_unix.go
src/time/zoneinfo.go
src/time/zoneinfo_android.go
src/time/zoneinfo_ios.go
src/time/zoneinfo_plan9.go
src/time/zoneinfo_read.go
src/time/zoneinfo_unix.go
src/time/zoneinfo_windows.go
src/time/zoneinfo_windows_test.go