-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Return incorrect month format in "ru" & "uk" translations after call ->format('M') #319
Comments
How to fix it now? Everything worked fine! |
+1 |
Hello |
For the record, Carbon handle it just fine: Carbon::setLocale('uk');
echo Carbon::parse('2019-05-08')->translatedFormat('d M');
So you can rely on the base features with jenssegers too: Date::setLocale('uk');
echo Date::parse('2019-05-08')->translatedFormat('d M'); |
Fixed in 4.0.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, sorry for my bad English.
Into lang files "ru" and "uk" we have duplicate keys in 30 and 43 lines:
30: 'may' => 'май'
43: 'may' => '{0}май|{1}мая'.
And if call some date with "->format('M')" we get '{0}май|{1}мая' instead expected "май".
The text was updated successfully, but these errors were encountered: