]> Cypherpunks repositories - gostls13.git/commit
time: add Duration.Truncate and Duration.Round
authorCaleb Spare <cespare@gmail.com>
Thu, 9 Feb 2017 03:47:23 +0000 (19:47 -0800)
committerRuss Cox <rsc@golang.org>
Tue, 14 Feb 2017 00:40:31 +0000 (00:40 +0000)
commit45356c1a082ae0e1f4233a8bc5644d60470e9e52
tree9826b919a88dc7e954bb0769c5000006c3c5007d
parent46a75870ad5b9b9711e69ffce3738a3ab2057789
time: add Duration.Truncate and Duration.Round

Fixes #18996

Change-Id: I0b0f7270960b368ce97ad4456f60bcc1fc2a8313
Reviewed-on: https://go-review.googlesource.com/36615
Run-TryBot: Caleb Spare <cespare@gmail.com>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/time/time.go
src/time/time_test.go