Closed devAlikhani closed 8 years ago
Hi @devAlikhani
Can you show me what Persian calendar
looks like? October 2015 .e.g.
Sorry for my poor knowledge about calendars, but what is today
in Persian calendar
? I got it printed into console, it gives me 1394-8-19
oh no you are fantastic, this date is correct, today is 1394/8/19 in Persian calendar
OK. I'll figure out a way to fix this.
as a Persian Developer, I really thank you
Fixed.
_calendar.identifier = NSCalendarIdentifierPersian;
@devAlikhani I use this code line but my calendar is started from 1970,do you know why?
I had this problem and I solved in this way: fsCalendar.locale = NSLocale(localeIdentifier: "fa_IR") as Locale fsCalendar.select(Date()) fsCalendar.identifier = NSCalendar.Identifier.persian.rawValue
Hi I have a question about locale format of date, I want to convert this calendar to Persian calendar( I mean Solar Hijri calendar) then I use localIdentifier in viewDidLoad Function like this:
calendar is translated to Persian very good, but current date is not converted to Persian date, stay at Gregorian date, how can i translate or update current date to Persian?