go/src/time
Rob Pike 9c4295b574 time: print zero duration as 0s, not 0
There should be a unit, and s is the SI unit name, so use that.
The other obvious possibility is ns (nanosecond), but the fact
that durations are measured in nanoseconds is an internal detail.

Fixes #14058.

Change-Id: Id1f8f3c77088224d9f7cd643778713d5cc3be5d9
Reviewed-on: https://go-review.googlesource.com/22357
Reviewed-by: Robert Griesemer <gri@golang.org>
2016-04-21 22:07:59 +00:00
..
example_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
export_test.go
export_windows_test.go
format.go all: single space after period. 2016-03-02 00:13:47 +00:00
format_test.go all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
genzabbrs.go
internal_test.go
sleep.go all: single space after period. 2016-03-02 00:13:47 +00:00
sleep_test.go
sys_plan9.go
sys_unix.go
sys_windows.go
tick.go all: single space after period. 2016-03-02 00:13:47 +00:00
tick_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
time.go time: print zero duration as 0s, not 0 2016-04-21 22:07:59 +00:00
time_test.go time: print zero duration as 0s, not 0 2016-04-21 22:07:59 +00:00
zoneinfo.go time: fix comment about use of Location.cacheEnd 2016-01-26 15:16:47 +00:00
zoneinfo_abbrs_windows.go
zoneinfo_ios.go
zoneinfo_plan9.go
zoneinfo_read.go all: single space after period. 2016-03-02 00:13:47 +00:00
zoneinfo_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
zoneinfo_unix.go
zoneinfo_windows.go all: remove unnecessary type conversions 2016-04-15 07:31:45 +00:00
zoneinfo_windows_test.go