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

requilence opened this issue Nov 29, 2015 · 1 comment

time: format stdNumShortTZ not working #13426

requilence opened this issue Nov 29, 2015 · 1 comment


Copy link

@requilence requilence commented Nov 29, 2015

Here is the example:

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
Copy link

@gopherbot gopherbot commented Nov 30, 2015

CL 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.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.