You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
Just go to the Luxon docs and paste the example above into the console.
Actual vs Expected behavior
The date string supplied is using hour 15 with a meridian, and the format string is expecting 12-hour time. Shouldn't luxon notice that hour 15 is out of bounds and return an Invalid object?
Desktop (please complete the following information):
Describe the bug
Correct me if I'm wrong, but shouldn't this return an invalid DateTime?
To Reproduce
Just go to the Luxon docs and paste the example above into the console.
Actual vs Expected behavior
The date string supplied is using hour 15 with a meridian, and the format string is expecting 12-hour time. Shouldn't luxon notice that hour 15 is out of bounds and return an Invalid object?
Desktop (please complete the following information):
Originally posted by @Matthematic in #1549
The text was updated successfully, but these errors were encountered: