diff options
author | Ian Lance Taylor <iant@golang.org> | 2016-01-26 05:28:20 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2016-01-26 15:16:47 +0000 |
commit | 830143fa3dd344a72d5c00643983ab62abb88a72 (patch) | |
tree | b6863ab6fd0cc2d67aa9a3c28196acfbd8eeb532 | |
parent | e6347659410454cfabc4f4bc04fe37e538f472e8 (diff) | |
download | go-830143fa3dd344a72d5c00643983ab62abb88a72.tar.gz go-830143fa3dd344a72d5c00643983ab62abb88a72.zip |
time: fix comment about use of Location.cacheEnd
Fixes #14099.
Change-Id: I122e918bdc55fb185f4a4a797489b160219542d2
Reviewed-on: https://go-review.googlesource.com/18943
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
-rw-r--r-- | src/time/zoneinfo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/zoneinfo.go b/src/time/zoneinfo.go index c8e53a27cf..c56743933f 100644 --- a/src/time/zoneinfo.go +++ b/src/time/zoneinfo.go @@ -21,7 +21,7 @@ type Location struct { // To avoid the binary search through tx, keep a // static one-element cache that gives the correct // zone for the time when the Location was created. - // if cacheStart <= t <= cacheEnd, + // if cacheStart <= t < cacheEnd, // lookup can return cacheZone. // The units for cacheStart and cacheEnd are seconds // since January 1, 1970 UTC, to match the argument |