feat: Implement UTC conversion for order date and time serialization in order use cases

This commit is contained in:
Achintha Isuru
2026-03-19 23:34:29 -04:00
parent 207831eb3e
commit 4cd83a9281
9 changed files with 186 additions and 135 deletions

View File

@@ -36,8 +36,8 @@ class ShiftsRepositoryImpl implements ShiftsRepositoryInterface {
final ApiResponse response = await _apiService.get(
StaffEndpoints.shiftsAssigned,
params: <String, dynamic>{
'startDate': start.toIso8601String(),
'endDate': end.toIso8601String(),
'startDate': start.toUtc().toIso8601String(),
'endDate': end.toUtc().toIso8601String(),
},
);
final List<dynamic> items = _extractItems(response.data);