1
0
mirror of https://github.com/golang/go synced 2024-11-05 17:36:15 -07:00
go/src/time
Patrick Mezard 51021cc83f time: fix registry zone info lookup on Windows
registry.ReadSubKeyNames requires QUERY access right in addition to
ENUMERATE_SUB_KEYS.

This was making TestLocalZoneAbbr fail on Windows 7 in Paris/Madrid
timezone. It succeeded on Windows 8 because timezone name changed from
"Paris/Madrid" to "Romance Standard Time", the latter being matched by
an abbrs entry.

Change-Id: I791287ba9d1b3556246fa4e9e1604a1fbba1f5e6
Reviewed-on: https://go-review.googlesource.com/9809
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-05-12 14:28:40 +00:00
..
example_test.go time: add a thorough example for time.Format 2015-03-26 18:44:42 +00:00
export_test.go
export_windows_test.go time: fix registry zone info lookup on Windows 2015-05-12 14:28:40 +00:00
format_test.go
format.go time: add Time.AppendFormat 2015-04-10 20:18:22 +00:00
genzabbrs.go
internal_test.go
sleep_test.go time: deflake TestAfterQueuing 2015-05-06 19:26:27 +00:00
sleep.go
sys_plan9.go
sys_unix.go
sys_windows.go
tick_test.go
tick.go
time_test.go
time.go
zoneinfo_abbrs_windows.go
zoneinfo_ios.go time: zoneinfo support for darwin 2015-03-03 15:37:14 +00:00
zoneinfo_plan9.go
zoneinfo_read.go
zoneinfo_test.go
zoneinfo_unix.go time: zoneinfo support for darwin 2015-03-03 15:37:14 +00:00
zoneinfo_windows_test.go time: fix registry zone info lookup on Windows 2015-05-12 14:28:40 +00:00
zoneinfo_windows.go time: fix registry zone info lookup on Windows 2015-05-12 14:28:40 +00:00
zoneinfo.go