Skip to content
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

DateTime.ToOrdinalWords() in French Culture incorrect #1012

Closed
mr-aboutin opened this issue Nov 26, 2020 · 1 comment · Fixed by #1150
Closed

DateTime.ToOrdinalWords() in French Culture incorrect #1012

mr-aboutin opened this issue Nov 26, 2020 · 1 comment · Fixed by #1150

Comments

@mr-aboutin
Copy link
Contributor

At the moment, converting 23/10/2020 to 23ème octobre 2020 and should return 23 octobre 2020. the only time where the date should be written ordinaly in french is the first day of the month like 1er Avril 2021.

@ohmineer
Copy link

It looks like the same issue in present in Spanish (es-ES) culture:
Console.WriteLine(DateTime.Now.ToOrdinalWords()); // Returns => 20.º julio 2021

Dates are not written in ordinal words in Spanish so the function should return "20 de julio de 2021".
I wish this would be solved in a future release. However, it may be argued that "ToOrdinalWords()" does not apply to all languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants