Refactoring stable
This commit is contained in:
7
lib/core/utils/date_formatter.dart
Normal file
7
lib/core/utils/date_formatter.dart
Normal file
@@ -0,0 +1,7 @@
|
||||
import 'package:intl/intl.dart';
|
||||
|
||||
class DateFormatter {
|
||||
static String formatDate(DateTime date) {
|
||||
return DateFormat('EEEE dd MMMM yyyy', 'fr_FR').format(date);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user