Open swift-ci opened 5 years ago
The month names that Foundation uses come from libICU and ultimately the CLDR (
Unicode Common Locale Data Repository) so cant easily be fixed in Foundation. This ICU bug (https://unicode-org.atlassian.net/browse/ICU-8893) may give further insight, especially the last comment.
Environment
Swift 4.2 macOS, iOS (haven't tested it on tvOS but i'm pretty sure that it's also qualifying)Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Foundation | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: d80bfb31bbcc9308f8b2835bdac5537eIssue Description:
In Polish language this example have one minor grammar mistake:
date variable outputs "styczeń 2019" (on 6th of January 2019) when it should capitalize first letter of month (as in "Styczeń 2019"). I couldn't find any format template that capitalizes it and i had to do it manually (by creating an extension to String). It is not critical or anything, but it's definitely not correct.