]> Cypherpunks repositories - gostls13.git/commitdiff
time: fix 400 years offset in comment
authorAlberto Donizetti <alb.donizetti@gmail.com>
Mon, 17 Jul 2017 09:35:39 +0000 (11:35 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 17 Jul 2017 15:38:46 +0000 (15:38 +0000)
Fixes #21043

Change-Id: I12db4f67ddee80500ff323f84e8fa34511650e63
Reviewed-on: https://go-review.googlesource.com/49230
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/time/time.go

index 0a83543e8a69076c3f42f63fa79e84691116515e..8a29eef2631ad90c4544e1d21066906bab5314e3 100644 (file)
@@ -370,7 +370,7 @@ func (d Weekday) String() string { return days[d] }
 // everywhere.
 //
 // The calendar runs on an exact 400 year cycle: a 400-year calendar
-// printed for 1970-2469 will apply as well to 2370-2769. Even the days
+// printed for 1970-2369 will apply as well to 2370-2769. Even the days
 // of the week match up. It simplifies the computations to choose the
 // cycle boundaries so that the exceptional years are always delayed as
 // long as possible. That means choosing a year equal to 1 mod 400, so