new plus button
This commit is contained in:
@@ -16,5 +16,23 @@ const _months = [
|
||||
'Dec',
|
||||
];
|
||||
|
||||
const _monthNames = [
|
||||
'January',
|
||||
'February',
|
||||
'March',
|
||||
'April',
|
||||
'May',
|
||||
'June',
|
||||
'July',
|
||||
'August',
|
||||
'September',
|
||||
'October',
|
||||
'November',
|
||||
'December',
|
||||
];
|
||||
|
||||
String formatDate(DateTime date) =>
|
||||
'${date.day} ${_months[date.month - 1]} ${date.year}';
|
||||
|
||||
String formatMonthYear(DateTime date) =>
|
||||
'${_monthNames[date.month - 1]} ${date.year}';
|
||||
|
||||
Reference in New Issue
Block a user