mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
refactor schedule view and cleaning
This commit is contained in:
@ -23,4 +23,9 @@ String formatTimeOfDayToISO(TimeOfDay time, {DateTime? currentDate}) {
|
||||
);
|
||||
|
||||
return dateTime.toUtc().toIso8601String();
|
||||
}
|
||||
}
|
||||
|
||||
String formatIsoStringToTime(String isoString) {
|
||||
final dateTime = DateTime.parse(isoString);
|
||||
return DateFormat('hh:mm a').format(dateTime);
|
||||
}
|
||||
|
Reference in New Issue
Block a user