datePickerMediumDate method
The medium-width date format that is shown in CupertinoDatePicker spinner. Abbreviates month and days of week.
Examples:
- US English: Wed Sep 27
- Russian: ср сент. 27
Implementation
@override
String datePickerMediumDate(DateTime date) {
Jalali jdate = Jalali.fromDateTime(date);
return '${shortWeekdays[jdate.weekDay - JalaliExt.saturday]} '
'${jdate.day.toString().padRight(2)}'
'${_shortMonths[jdate.month - JalaliExt.farvardin]} ';
}