1
0
mirror of https://github.com/golang/go synced 2024-11-21 21:34:40 -07:00

time: fix spacing in comment.

No semantic change.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6475050
This commit is contained in:
Rob Pike 2012-08-22 21:30:18 -07:00
parent 7802080962
commit 6fd2febaef

View File

@ -412,7 +412,7 @@ func (t Time) Nanosecond() int {
return int(t.nsec)
}
// YearDay returns the day of the year specified by t, in the range [1, 365] for non-leap years,
// YearDay returns the day of the year specified by t, in the range [1,365] for non-leap years,
// and [1,366] in leap years.
func (t Time) YearDay() int {
_, _, _, yday := t.date(false)