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
Tried parsing Japanese date but it is not working correctly
parse('6日 11月 2025', 'do MMMM yyyy', new Date(), {locale: ja}); // Expected: 2025-11-06T00:00:00.000Z // Received: 2025-01-06T00:00:00.000Z
same happening with dd/MMM/yy
parse('06/12月/33', 'dd/MMM/yy', new Date(), {locale: ja}); // Expected: 2033-12-06T00:00:00.000Z // Received: 2033-01-06T00:00:00.000Z
It returns 01 form October(10), November(11), December(12), however format is working correctlly
format(new Date(2033, 11, 6), 'dd/MMM/yy', {locale: ja}); // 06/12月/33
This is running on jest tests (node environment)
The text was updated successfully, but these errors were encountered:
After further debugging, I found that it is due to months match RegEx. PR raised for the fixed #1807.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Tried parsing Japanese date but it is not working correctly
same happening with dd/MMM/yy
It returns 01 form October(10), November(11), December(12), however format is working correctlly
This is running on jest tests (node environment)
The text was updated successfully, but these errors were encountered: