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


None yet
3 participants
Copy link

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


This comment has been minimized.

Copy link

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.
You can’t perform that action at this time.