FSCalendar
FSCalendar copied to clipboard
issues with localization
when I use your calendar and after I make a localization in English version the months names comes right but in arabic it comes wrong "رمضان ٢٠٩٧" so what is the problem ?
Is this happen in sample project?
Yes the problem was when I force the alignment to be right to left and toogle that The solution that worked with me to not make force content mode in this screen
The solution that worked with me to not make force content mode in this screen
Yes, I should fix this for supporting RTL with the new way. I'll work on this.
Thanks for your response and I'm waiting
but in Arabic it comes wrong "رمضان ٢٠٩٧"
Use this code for change the correct format:
self.calendar.appearance.headerDateFormat = @"yyyy MMMM";

How to clear selection date? set as default calendar in above snapshot?
At RangePicker sample just use clearDateSelections
code:
func clearDateSelections() {
date1 = nil
date2 = nil
let selectedDates = self.calendar?.selectedDates
if ((selectedDates?.count) != nil) {
selectedDates?.forEach({ (date) in
self.calendar?.deselect(date)
})
}
configureVisibleCells()
}