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:
parent
7802080962
commit
6fd2febaef
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user