aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorDmitri Shuralyov <shurcooL@gmail.com>2017-08-17 19:30:34 -0400
committerIan Lance Taylor <iant@golang.org>2017-08-29 17:16:15 +0000
commitb79337212585a473238a37421cefa9931b2fca4c (patch)
tree5852352a51009b9519f4c8086eeb6bd0e2aca95b /src/encoding
parentf2c0531795462c0b49dea4f849af18087a5c1077 (diff)
downloadgo-b79337212585a473238a37421cefa9931b2fca4c.tar.xz
time: fix documentation of Round, Truncate behavior for d <= 0
Saying that they return t unchanged is misleading, because they return a modified t, stripped of any monotonic clock reading, as of Go 1.9. Fixes #21485. Change-Id: Icddf8813aed3d687fcefcd2fe542829438be6a0a Reviewed-on: https://go-review.googlesource.com/56690 Reviewed-by: Avelino <t@avelino.xxx> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions