Open mr-sarsarabi opened 6 years ago
I think using locale you can change it.
@droidstered can you give me more info about this locale? I mean what should I do?
You can set the interpreter which provides the text to show in the header column and the header row.
mWeekView.dateTimeInterpreter = object : DateTimeInterpreter {
override fun interpretDate(date: Calendar): String {
return ConvertToPersianCalendar(date)
}
override fun interpretTime(hour: Int): String {
return hour.toString()
}
}
This current library uses Gregorian calendar format by default. Is there a way to change this format and use jalali calendar format?