formatMonthDayWithSuffixYearTime static method

String formatMonthDayWithSuffixYearTime(
  1. DateTime date
)

Implementation

static String formatMonthDayWithSuffixYearTime(DateTime date) {
  final local = date.toLocal();
  return "${DateFormat.MMM().format(local)} ${DateFormat.d().format(local)}${getDayOfMonthSuffix(date.day)} ${DateFormat.y().format(local)}, ${DateFormat.jm().format(date)}";
}