url tools initial
This commit is contained in:
@@ -31,6 +31,10 @@ class Format extends _$Format {
|
||||
return pattern.format(date);
|
||||
}
|
||||
|
||||
String shortDate(DateTime date) {
|
||||
return DateFormat('yyyy-MM-dd').format(date);
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> build() async {
|
||||
await initializeDateFormatting();
|
||||
|
||||
Reference in New Issue
Block a user