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 timezone aware snap modifiers #186

Merged
merged 1 commit into from May 20, 2020

Conversation

cognifloyd
Copy link
Contributor

This allows for modifications in the given timezone. ie, snapping to the
beginning of the day with @d uses midnight in the given timezone instead
of in UTC. As usual, the maya object returned is back in UTC, only the
modifications happen in the requested timezone.

This is the same as #185. But there was no response in that PR and the Github Actions bot closed it. Since I can't reopen the PR (as it is still valid, and will still merge cleanly on master), I'm opening a new PR.

This allows for modifications in the given timezone. ie, snapping to the
beginning of the day with @d uses midnight in the given timezone instead
of in UTC. As usual, the maya object returned is back in UTC, only the
modifications happen in the requested timezone.
@timofurrer
Copy link
Collaborator

Looks good! Thanks 🎉

I'm gonna to disable the bot .. it's causing more harm then good.

Cheers 🎉

@timofurrer timofurrer merged commit 0a7061c into kennethreitz:master May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants