Refactoring stable

This commit is contained in:
DahoudG
2024-09-03 14:24:46 +00:00
parent 04f240b521
commit dc73ba7dcc
6 changed files with 35 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
class Urls {
static const String baseUrl = 'http://192.168.0.145:8085';
static const String baseUrl = 'http://192.168.1.145:8085';
// static const String login = baseUrl + 'auth/login';
static const String eventsUrl = '$baseUrl/events';
// Ajoute d'autres URLs ici

View 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);
}
}