1
0
mirror of https://github.com/golang/go synced 2024-10-04 07:21:22 -06:00
go/src/pkg/time
Shenghou Ma 98f16ad112 time: fix test error in Chinese edition of Windows
On the Chinese Windows XP system that I'm using, GetTimeZoneInformation returns a struct containing "中国标准时间" (China Standard Time in Chinese) in both StandardName and DaylightName (which is correct, because China does not use DST). However, in registry, under key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\China Standard Time, the key Std and Dlt contain "中国标准时间" (China Standard Time in Chinese) and "中国夏季时间" (China Summer Time in Chinese) respectively. This means that time.toEnglishName() cannot determine the abbreviation for the local timezone (CST) and causes test failures (time.Local is empty)

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/43210043
2013-12-17 02:43:14 -05:00
..
example_test.go time: improve the explanation of the working of Format and Parse 2013-04-22 11:36:17 -07:00
export_test.go time: correct path to time zone zip file on Unix 2013-10-29 17:11:51 -04:00
export_windows_test.go time: provide timezone abbreviations on windows 2013-06-06 16:30:25 +10:00
format.go time: fix ParseDuration overflow when given more than 9 digits on 32-bit arch 2013-10-22 18:33:05 -04:00
genzabbrs.go time: provide timezone abbreviations on windows 2013-06-06 16:30:25 +10:00
internal_test.go time: allow more time for TestOverflowRuntimeTimer to succeed 2013-09-09 15:50:11 +10:00
Makefile time: provide timezone abbreviations on windows 2013-06-06 16:30:25 +10:00
sleep_test.go runtime: handle timer overflow in tsleep 2013-09-06 15:47:39 -04:00
sleep.go time: add more docs on Sleep 2013-08-28 11:16:55 -07:00
sys_plan9.go os,time: fix Plan 9 build 2012-02-20 12:31:24 +11:00
sys_unix.go all: dragonfly support 2013-08-24 02:22:52 +10:00
sys_windows.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00
tick_test.go time: during short test, do not bother tickers take longer than expected 2012-03-07 01:10:55 +08:00
tick.go time: clarify why timer.Stop and ticker.Stop don't close the channel 2012-11-08 23:25:48 +08:00
time_test.go time: correct path to time zone zip file on Unix 2013-10-29 17:11:51 -04:00
time.go time: make Time implement encoding interfaces 2013-08-14 00:34:00 -04:00
zoneinfo_abbrs_windows.go time: provide timezone abbreviations on windows 2013-06-06 16:30:25 +10:00
zoneinfo_plan9.go time: correct path to time zone zip file on Unix 2013-10-29 17:11:51 -04:00
zoneinfo_read.go various: deleted unused items 2013-08-03 16:01:04 +10:00
zoneinfo_unix.go time: correct path to time zone zip file on Unix 2013-10-29 17:11:51 -04:00
zoneinfo_windows_test.go time: provide timezone abbreviations on windows 2013-06-06 16:30:25 +10:00
zoneinfo_windows.go time: fix test error in Chinese edition of Windows 2013-12-17 02:43:14 -05:00
zoneinfo.go various: deleted unused items 2013-08-03 16:01:04 +10:00