Skip to content

time: A colon is missing when formatting a time zone with seconds #8497

@jstemmer

Description

@jstemmer
What does 'go version' print?
go version devel +a4de97b5ea66 Fri Aug 08 16:20:20 2014 +0900 linux/amd64

What steps reproduce the problem?
Try to format a time zone with seconds using one of the colon layouts.
http://play.golang.org/p/CWRGALvwh9

What happened?
The time zone part is formatted as "+0019:32"

What should have happened instead?
The time zone part should be "+00:19:32"

Please provide any additional information below.

Here's a proposed CL to fix this:
https://golang.org/cl/126840043/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions