Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
time: cannot parse GMT timezones with colon-separated offsets #9881
This program shows my attempt to parse the time: http://play.golang.org/p/2-YXz2wdIx
I've traced it to
The minutes (after the colon) then cause a parse failure.
Because the letters
changed the title
Time package: Cannot parse GMT timezones with colon-separated offsets
Feb 15, 2015
A workaround I used in my project, in case anyone finds it useful - https://play.golang.org/p/EshUUdz-fz
The regex will only affect timezones given in GMT, it won't affect say "UTC+08:00".