1
0
mirror of https://github.com/golang/go synced 2024-11-15 05:20:21 -07:00

[release-branch.go1] time: doc fix.

««« CL 6127050 / 6d5417240a0c
time: doc fix.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6127050
»»»

R=golang-dev
CC=golang-dev
https://golang.org/cl/6118057
This commit is contained in:
Andrew Gerrand 2012-04-26 11:45:54 -07:00
parent 19b11c49a9
commit c7a1baf1f0

View File

@ -403,7 +403,7 @@ const (
Hour = 60 * Minute
)
// Duration returns a string representing the duration in the form "72h3m0.5s".
// String returns a string representing the duration in the form "72h3m0.5s".
// Leading zero units are omitted. As a special case, durations less than one
// second format use a smaller unit (milli-, micro-, or nanoseconds) to ensure
// that the leading digit is non-zero. The zero duration formats as 0,