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

Date formatter's format #4

Closed
eofster opened this issue Jul 27, 2010 · 1 comment
Closed

Date formatter's format #4

eofster opened this issue Jul 27, 2010 · 1 comment

Comments

@eofster
Copy link

eofster commented Jul 27, 2010

Now date formatter's format looks like that:
[monthAndYearFormatter setDateFormat:@"MMMM yyyy"];

And it causes troubles with when Russian is set as a regional format. Changing this to
[monthAndYearFormatter setDateFormat:@"LLLL yyyy"];
solves the problem.

According to this page (link from Apple's Data Formatting Guide)
http://unicode.org/reports/tr35/tr35-6.html#Date_Format_Patterns
"L" should be used as a month specifier for stand-alone month. And when it is used in Kal, it is stand-alone: "January 2010", not "January 1, 2010". We don't see it in English or in German, because both forms—stand-alone and not stand-alone—are the same. In Russian they are not, and the current calendar title incorrectly reads something like "of January 2010" instead of just "January 2010".

@klazuka
Copy link
Owner

klazuka commented Aug 3, 2010

Thanks. I fixed this in SHA: ef88c6f

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

No branches or pull requests

2 participants