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
Describe the bug An error "Invalid DateTime" is raised when parsing a date with AM in it and the a token in the format.
To Reproduce DateTime.fromFormat("Nov 08, 2022, 2 AM Europe/Berlin", "MMM dd, yyyy, h a z", {locale: "en-US"}).toString()
DateTime.fromFormat("Nov 08, 2022, 2 AM Europe/Berlin", "MMM dd, yyyy, h a z", {locale: "en-US"}).toString()
Actual vs Expected behavior "Invalid DateTime" vs the date being parsed.
Desktop (please complete the following information):
Additional context It fails in browser and in a node app.
The text was updated successfully, but these errors were encountered:
The error was a weird unicode character instead of a normal space.
Sorry, something went wrong.
This may be fixed by #1369
No branches or pull requests
Describe the bug
An error "Invalid DateTime" is raised when parsing a date with AM in it and the a token in the format.
To Reproduce
DateTime.fromFormat("Nov 08, 2022, 2 AM Europe/Berlin", "MMM dd, yyyy, h a z", {locale: "en-US"}).toString()
Actual vs Expected behavior
"Invalid DateTime" vs the date being parsed.
Desktop (please complete the following information):
Additional context
It fails in browser and in a node app.
The text was updated successfully, but these errors were encountered: