Please answer these questions before submitting your issue. Thanks!
- What version of Go are you using (
go version)?
go 1.6
- What operating system and processor architecture are you using (
go env)?
Ubuntu x64 but it fails on play.golang.org too.
- What did you do?
I ran http://play.golang.org/p/N0A7ph_xkj which contains a large string (not really that large) to be parsed.
- What did you expect to see?
Duration parsed with no errors. It works if you remove the last number of duration.
- What did you see instead?
2009/11/10 23:00:00 time: invalid duration 0.12345678912345678912h