-
-
Notifications
You must be signed in to change notification settings - Fork 36
DOM release currently reported as one day early #75
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
Comments
I'm not seeing that behavior. Furthermore, the code is correct: https://github.com/glacials/whatsinstandard/blob/master/api/v5/sets.json#L104 Possibly a Javascript timezone/clock issue? |
If the code is localizing Dominaria releases at midnight on April 27 in each time zone, not at exactly the time 2018-04-27 00:00 UTC These dates should be interpreted a "calendar dates" without a time zone, not as full localizable timestamps |
Explicitly leave off timezone in all ISO 8601 dates. Set release dates are always in midnight local time, not midnight UTC or any other specific timezone, so these should be parse with the local timezone. In ISO 8601, the absence of a timezone means the parser should use local time. Fixes #75.
Thanks yall, should be fixed! |
The text was updated successfully, but these errors were encountered: