-
Notifications
You must be signed in to change notification settings - Fork 83
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
Inconsistency when parsing month #83
Comments
hey there, Fixed the issue. Here's an updated sandbox code https://codesandbox.io/s/hungry-joji-3y7gm5?file=/demo.tsx **There is still an issue of month name doesn't correspond to actual month after parsing (woking on it). |
The array month naming in all issues fixed. |
Thanks We will start again the migration of the adapter |
there was an issue with moment-hijri when used with @inertiajs/react
|
@anon-phantom the link is broken it's redirect me to 404 page |
I'm working on adapting the moment-hijri for mui date pickers, but I'm facing an issue when parsing months. the value is neither correctly recognized.
I made a codesandbox where I test if the function x => format(parse(format(x))) is the identity. But it's not the case.
With strict parsing, it's an invalid date and with loose parsing, it always returns 12
https://codesandbox.io/s/cranky-shadow-u3sv6g?file=/demo.tsx
Not sure if it's a bug or I'm using the library in a wrong way
The text was updated successfully, but these errors were encountered: