]> Cypherpunks repositories - gostls13.git/commit
Revert "time: optimize Sub"
authorJoe Tsai <thebrokentoaster@gmail.com>
Fri, 16 Aug 2019 03:16:34 +0000 (03:16 +0000)
committerJoe Tsai <thebrokentoaster@gmail.com>
Fri, 16 Aug 2019 17:01:35 +0000 (17:01 +0000)
commit4983a0b75b40448d3245811ddcf682a9c86fc975
tree23637e943df3fea232fe103458d0beb6f488890b
parent0212f0410f845815f5327a7f2e705891a9598f3d
Revert "time: optimize Sub"

This reverts commit CL 131196 because there is a bug
in the calculation of nanoseconds.

Fixes #33677

Change-Id: Ic8e94c547ee29b8aeda1b9a5cb9764dbf47b14b4
Reviewed-on: https://go-review.googlesource.com/c/go/+/190497
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
src/time/time.go
src/time/time_test.go