mirror of https://github.com/golang/go.git
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:
parent
7802080962
commit
6fd2febaef
|
|
@ -412,7 +412,7 @@ func (t Time) Nanosecond() int {
|
||||||
return int(t.nsec)
|
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.
|
// and [1,366] in leap years.
|
||||||
func (t Time) YearDay() int {
|
func (t Time) YearDay() int {
|
||||||
_, _, _, yday := t.date(false)
|
_, _, _, yday := t.date(false)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue