-
-
Notifications
You must be signed in to change notification settings - Fork 244
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 ordinals numbers to fr_CA #344
Comments
Numbers of what? Because if you mean the day number, then in French (including fr_CA) day number should only have ordinal for the The reason is simple : you don't say "Mardi second Mars", you say: "Mardi deux Mars", no ordinal form. So it should not be implemented in the regular translation. It would be grammatically wrong. If you're still really sure you want to override this for you app, you can use: \Carbon\Translator::get('fr_CA')->setTranslations([
'ordinal' => function ($number) {
return $number.($number === 1 ? 'er' : 'e');
},
]); |
Is it possible to include fr_CA to numbers in the following format: 12e ??
The text was updated successfully, but these errors were encountered: