Skip to content

time: zoneinfo_windows_test fails, if Moscow Standard Time (MSK) is set as time current time zone. #5672

@gopherbot

Description

@gopherbot

by pk@cin.io:

What steps will reproduce the problem?
Set your Windows' time zone to '(UTC+04:00) Moscow, St. Petersburg, Volgograd' in the
date and time settings. Run %GOROOT%\src\all.bat.

What is the expected output?
ALL TESTS PASSED

What do you see instead?
--- FAIL: TestLocalZoneAbbr (0.00 seconds)
        zoneinfo_windows_test.go:18: Parse failed: parsing time "Sun, 09 Jun 2013 14:39:27 MSK" as "Mon, 02 Jan 2006 15:04:05 MST": cannot parse "MSK" as "MST"
FAIL
FAIL    time    2.666s

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
MS Windows 7, x86-64

Which version are you using?  (run 'go version')
hg identify
3378d2483995 tip

Please provide any additional information below.
-

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions