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

Midnight is expressed as 24th hour instead of 0th hour #15855

Open
trwnh opened this issue Mar 8, 2021 · 1 comment
Open

Midnight is expressed as 24th hour instead of 0th hour #15855

trwnh opened this issue Mar 8, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@trwnh
Copy link
Member

trwnh commented Mar 8, 2021

image

Expected behaviour

Midnight should be 0:00, as is standard

Actual behaviour

Midnight is 24:00, leading to confusion about date

@trwnh trwnh added the bug Something isn't working label Mar 8, 2021
@nightpool
Copy link
Member

This is a bug in the JS standard: tc39/ecma402#436 (although in practice it's mainly only a chrome bug)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants