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: ParseDuration overflowing with long decimal #6617
What steps will reproduce the problem? http://play.golang.org/p/MYhh1EUqQX 1. time.ParseDuration with a decimal longer than 9 digits 2. build for 386 architecture 3. notice the duration has not been parsed properly Which compiler are you using (5g, 6g, 8g, gccgo)? 8g Which operating system are you using? windows/linux Which version are you using? (run 'go version') go1.1.2 Please provide any additional information below. I was able to correct the issue locally by changing this line in time.ParseDuration: scale := 1 to scale := float64(1)