Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(135)

Issue 43210043: code review 43210043: time: fix test error in Chinese edition of Windows (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by minux1
Modified:
11 years, 7 months ago
Reviewers:
brainman, dvyukov, bradfitz
CC:
golang-dev, bradfitz
Visibility:
Public.

Description

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)

Patch Set 1 #

Patch Set 2 : diff -r 8ef815dd2770 https://code.google.com/p/go #

Patch Set 3 : diff -r 8ef815dd2770 https://code.google.com/p/go #

Patch Set 4 : diff -r 8ef815dd2770 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/pkg/time/zoneinfo_windows.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
minux1
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 7 months ago (2013-12-17 06:48:57 UTC) #1
bradfitz
LGTM On Dec 16, 2013 10:49 PM, <minux.ma@gmail.com> wrote: > Reviewers: golang-dev1, > > Message: ...
11 years, 7 months ago (2013-12-17 06:50:00 UTC) #2
minux1
*** Submitted as https://code.google.com/p/go/source/detail?r=ba905026f14d *** time: fix test error in Chinese edition of Windows On ...
11 years, 7 months ago (2013-12-17 07:43:20 UTC) #3
dvyukov
I suspect all our builders are down with: 2013/12/17 12:05:57 json unmarshal ``: unexpected end ...
11 years, 7 months ago (2013-12-17 08:09:29 UTC) #4
minux1
On Dec 17, 2013 3:09 AM, "Dmitry Vyukov" <dvyukov@google.com> wrote: > > I suspect all ...
11 years, 7 months ago (2013-12-17 08:21:11 UTC) #5
brainman
11 years, 7 months ago (2013-12-17 23:25:39 UTC) #6
Message was sent while issue was closed.
This whole thing is completely broken. :-(

Alex
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b