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 String month = _shortMonths[date.month - DateTime.january];
  return '$month ${date.day}';
}