Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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
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".