mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
formatted all files.
This commit is contained in:
@ -5,8 +5,8 @@ String formatDateTime(DateTime? dateTime) {
|
||||
if (dateTime == null) {
|
||||
return '-';
|
||||
}
|
||||
final DateFormat dateFormatter = DateFormat('dd/MM/yyyy');
|
||||
final DateFormat timeFormatter = DateFormat('HH:mm');
|
||||
final dateFormatter = DateFormat('dd/MM/yyyy');
|
||||
final timeFormatter = DateFormat('HH:mm');
|
||||
|
||||
return '${dateFormatter.format(dateTime)} ${timeFormatter.format(dateTime)}';
|
||||
}
|
||||
|
Reference in New Issue
Block a user