feat: Refactor emergency contact screen and info banner for improved UI consistency
This commit is contained in:
@@ -294,7 +294,7 @@ class ShiftsBloc extends Bloc<ShiftsEvent, ShiftsState>
|
||||
return shifts.where((shift) {
|
||||
if (shift.date.isEmpty) return false;
|
||||
try {
|
||||
final shiftDate = DateTime.parse(shift.date);
|
||||
final shiftDate = DateTime.parse(shift.date).toLocal();
|
||||
final dateOnly = DateTime(
|
||||
shiftDate.year,
|
||||
shiftDate.month,
|
||||
|
||||
Reference in New Issue
Block a user