Merge pull request #327 from Oloodi/310-fix-incorrect-today-coverage-slots-count-on-home-screen

just validation of time utc
This commit is contained in:
José Salazar
2026-01-29 19:20:20 -05:00
committed by GitHub

View File

@@ -89,6 +89,14 @@ class HomeRepositoryImpl implements HomeRepositoryInterface {
end: _toTimestamp(end),
)
.execute();
print(
'Home coverage: businessId=$businessId '
'startLocal=${start.toIso8601String()} '
'endLocal=${end.toIso8601String()} '
'startUtc=${_toTimestamp(start).toJson()} '
'endUtc=${_toTimestamp(end).toJson()} '
'shiftRoles=${result.data.shiftRoles.length}',
);
int totalNeeded = 0;
int totalFilled = 0;