Skip to content

time: format stdNumShortTZ not working #13426

@requilence

Description

@requilence

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions