Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time: format stdNumShortTZ not working #13426

Closed
requilence opened this issue Nov 29, 2015 · 1 comment
Closed

time: format stdNumShortTZ not working #13426

requilence opened this issue Nov 29, 2015 · 1 comment
Milestone

Comments

@requilence
Copy link

Here is the example:
http://play.golang.org/p/aQzzsC_ZS6

stdNumShortTZ is missed in the case switch:

case stdISO8601TZ, stdISO8601ColonTZ, stdISO8601SecondsTZ, stdISO8601ColonSecondsTZ, stdNumTZ, stdNumColonTZ, stdNumSecondsTz, stdNumColonSecondsTZ:

Also there is a need to check for stdNumShortTZ before appending minutes here:

b = appendInt(b, zone/60, 2)

@ianlancetaylor ianlancetaylor added this to the Go1.6 milestone Nov 30, 2015
@ianlancetaylor ianlancetaylor self-assigned this Nov 30, 2015
@gopherbot
Copy link

CL https://golang.org/cl/17260 mentions this issue.

@golang golang locked and limited conversation to collaborators Dec 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants