formatShortMonthDay method

  1. @override
String formatShortMonthDay(
  1. DateTime date
)
override

Formats the month and day of the given date.

Examples:

  • US English: Feb 21
  • Russian: 21 февр.

Implementation

@override
String formatShortMonthDay(DateTime date) {
  final jalaliDate = Jalali.fromDateTime(date);
  return '${jalaliDate.day} ${_shortMonths[jalaliDate.month - 1]}'; // Short month day format
}