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();
|
||||
|
||||
@@ -32,7 +32,7 @@ final class FormatProvider extends $AsyncNotifierProvider<Format, void> {
|
||||
Format create() => Format();
|
||||
}
|
||||
|
||||
String _$formatHash() => r'f132aabb20bf4df77d771d6c866bc413c00bd9ff';
|
||||
String _$formatHash() => r'695b94cc4b25596e4ef953d08ba954424a5ec33e';
|
||||
|
||||
abstract class _$Format extends $AsyncNotifier<void> {
|
||||
FutureOr<void> build();
|
||||
|
||||
Reference in New Issue
Block a user