diff options
author | Alberto Donizetti <alb.donizetti@gmail.com> | 2017-07-17 11:35:39 +0200 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-07-17 15:38:46 +0000 |
commit | 4522efb7f1e9bb7242c9f82076d3db5461f8647b (patch) | |
tree | 723e0f4af00c1fc6aeeb44548024050b58c2734d | |
parent | 44275b8569085e405bd50f6373f201167c1850ee (diff) | |
download | go-4522efb7f1e9bb7242c9f82076d3db5461f8647b.tar.gz go-4522efb7f1e9bb7242c9f82076d3db5461f8647b.zip |
time: fix 400 years offset in comment
Fixes #21043
Change-Id: I12db4f67ddee80500ff323f84e8fa34511650e63
Reviewed-on: https://go-review.googlesource.com/49230
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r-- | src/time/time.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/time.go b/src/time/time.go index 0a83543e8a..8a29eef263 100644 --- a/src/time/time.go +++ b/src/time/time.go @@ -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 |