Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time: incorrect comment/documentation in time.Location #14099

Closed
msimonsson opened this issue Jan 26, 2016 · 1 comment
Closed

time: incorrect comment/documentation in time.Location #14099

msimonsson opened this issue Jan 26, 2016 · 1 comment

Comments

@msimonsson
Copy link

@msimonsson msimonsson commented Jan 26, 2016

Hi,

In:
https://github.com/golang/go/blob/master/src/time/zoneinfo.go#L24

// if cacheStart <= t <= cacheEnd,
// lookup can return cacheZone.

This should be:

// if cacheStart <= t < cacheEnd,

For actual code:

https://github.com/golang/go/blob/master/src/time/zoneinfo.go#L120

@ianlancetaylor ianlancetaylor changed the title time/zoneinfo: Incorrect comment/documentation time: incorrect comment/documentation in time.Location Jan 26, 2016
@gopherbot
Copy link

@gopherbot gopherbot commented Jan 26, 2016

CL https://golang.org/cl/18943 mentions this issue.

@gopherbot gopherbot closed this in 830143f Jan 26, 2016
@golang golang locked and limited conversation to collaborators Feb 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.