-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
headerDateFormat and day name cannot be set to a fixed locale #40
Comments
How did set it and what do you mean by |
And you might try: _calendar.appearance.headerDateFormat = [NSDateFormatter dateFormatFromTemplate:@"MMMM yy" options:0 locale:[NSLocale localeWithLocaleIdentifier:@"en-US"]]; BTW: green colors looks good~ |
I'm using swift with this code self.calendar.appearance.headerDateFormat = NSDateFormatter.dateFormatFromTemplate("MMMM yyyy", options: 0, locale: NSLocale(localeIdentifier: "en-US")) and the text is still not in English when the phone's language is not set to English. The zh-CN works at any language though.. |
Yes. Maybe a |
|
TRY THIS THIS WILL WORK |
So in my app, I don't want any localization from happening.
But I cannot set the NSLocale in FSCalendar. Using NSDateFormatter.dateFormatFromTemplate to set the headerDateFormat does not work.
The text was updated successfully, but these errors were encountered: