]> Cypherpunks repositories - gostls13.git/commit
time: handle localized time zone names
authorDaniel Johansson <dajo2002@gmail.com>
Sun, 23 Aug 2015 20:08:27 +0000 (22:08 +0200)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 26 Aug 2015 04:40:59 +0000 (04:40 +0000)
commitcba1528ceb0a386e889d0dfbf549c8055ff10018
treeac60eeef42bd13c2e65372d8cc3aecfc65c22224
parent32add8d7c8433d87aca782ddcd79898922ac96b7
time: handle localized time zone names

The existing implementation fails to determine the correct time zone
abbreviations when the display language is non-English. This change adds
support for localized time zone names (standard- and daylightname)
by using the function RegLoadMUIString.

Fixes #12015

Change-Id: Ic0dc89c50993af8f292b199c20bc5932903e7e87
Reviewed-on: https://go-review.googlesource.com/13854
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/internal/syscall/windows/registry/registry_test.go
src/internal/syscall/windows/registry/syscall.go
src/internal/syscall/windows/registry/value.go
src/internal/syscall/windows/registry/zsyscall_windows.go
src/time/zoneinfo_windows.go
src/time/zoneinfo_windows_test.go