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

Add time.ParseLocal and time.ParseInLocation functions #223

Merged
merged 1 commit into from
Nov 2, 2017

Conversation

hairyhenderson
Copy link
Owner

@hairyhenderson hairyhenderson commented Nov 1, 2017

time.Parse assumes UTC when no timezone is given in the input. This can be surprising, and there can be use cases to either use the local zone or a named zone. These functions help with that!

@hairyhenderson hairyhenderson changed the title Add time.ParseLocal and time.ParseInLocation functions [WIP] Add time.ParseLocal and time.ParseInLocation functions Nov 1, 2017
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
@hairyhenderson hairyhenderson force-pushed the add-time-parselocal-func branch from fb3754c to 6f14f57 Compare November 2, 2017 01:17
@hairyhenderson hairyhenderson self-assigned this Nov 2, 2017
@hairyhenderson hairyhenderson changed the title [WIP] Add time.ParseLocal and time.ParseInLocation functions Add time.ParseLocal and time.ParseInLocation functions Nov 2, 2017
@hairyhenderson hairyhenderson merged commit 75f0194 into master Nov 2, 2017
@hairyhenderson hairyhenderson deleted the add-time-parselocal-func branch November 2, 2017 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant