Skip to content

time: offset is getting repeated twice when date is parsed. #22664

@saleem-mirza

Description

@saleem-mirza

Please answer these questions before submitting your issue. Thanks!

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

go1.9.2 windows/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

Windows/amd64

What did you do?

Parsed date with time offset. Please see link below.

If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

https://play.golang.org/p/dhwzR4Y_LL

What did you expect to see?

Expected output is as below
2016-09-11 18:35:00 +0500

but see time offset is repeating twice.

What did you see instead?

2016-09-11 18:35:00 +0500 +0500

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