We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hh
Describe the bug Parsing time from string based on a hh:mm a format gives valid true even if the hour is greater than 12
hh:mm a
To Reproduce
import { DateTime } from "luxon"; const date = DateTime.fromFormat('13:00 AM', 'hh:mm a', {}); console.log(date); console.log(date.isValid);
Actual vs Expected behavior It should give invalid since the definition of hh is 12 hours clock
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
Is there any workaround for this for now?
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Parsing time from string based on a
hh:mm a
format gives valid true even if the hour is greater than 12To Reproduce
Actual vs Expected behavior
It should give invalid since the definition of
hh
is 12 hours clockDesktop (please complete the following information):
The text was updated successfully, but these errors were encountered: