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

Use Date.utc() instead of Date.toUtc() to create 'today' DateTime #87

Merged
merged 1 commit into from
Jul 15, 2021

Conversation

paolovalerdi
Copy link
Contributor

Fixes #81

Using Date.toUtc() can mess the actual locale 'today' date.
@JonasWanke JonasWanke merged commit 29645ea into JonasWanke:main Jul 15, 2021
@JonasWanke
Copy link
Owner

This is now published as part of v1.0.0-alpha.2. Thanks for contributing!

@paolovalerdi paolovalerdi deleted the today_utc_fix branch July 15, 2021 15:35
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.

'Today' doesn't respect time zone
2 participants