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)