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
Dayjs can't parse date in russian format
https://codesandbox.io/s/dayjs-parse-russian-date-error-wv2wh
Expected behavior
Should correctly parse date and return valid dayjs object. Moment.js works correctly
Information
The text was updated successfully, but these errors were encountered:
Hi, is '08 мая 2020' , '08 май 2020' both valid string in ru?
ru
This bug is caused by two different month strings. https://github.com/iamkun/dayjs/blob/dev/src/locale/ru.js#L4
Sorry, something went wrong.
'май' is a nominative case and 'мая' is a genitive case.
'08 мая 2020' is the most common date form as I know.
But anyway, looks like dayjs right now doesn't parse both '08 мая 2020' and '08 май 2020'
I could help you with PR
Fixed in #908
No branches or pull requests
Describe the bug
Dayjs can't parse date in russian format
https://codesandbox.io/s/dayjs-parse-russian-date-error-wv2wh
Expected behavior
Should correctly parse date and return valid dayjs object. Moment.js works correctly
Information
The text was updated successfully, but these errors were encountered: