Skip to content

time: error at parsing a time with time zone #29924

@tredoe

Description

@tredoe

What version of Go are you using (go version)?

$ go version
go version go1.11.4 darwin/amd64

Does this issue reproduce with the latest release?

Yes

What did you do?

Parsing the time-zone "11:04:10Z11:00" with layout "15:04:05Z07:00".
https://play.golang.org/p/1i_aHPOrKVu

What did you expect to see?

Any error.

What did you see instead?

At the last part of error: extra text: 11:00

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions