diff --git a/frontend/src/components/pages/ResidentDirectory/ResidentDirectoryTable.tsx b/frontend/src/components/pages/ResidentDirectory/ResidentDirectoryTable.tsx index fd4e1248..51f1d939 100644 --- a/frontend/src/components/pages/ResidentDirectory/ResidentDirectoryTable.tsx +++ b/frontend/src/components/pages/ResidentDirectory/ResidentDirectoryTable.tsx @@ -62,6 +62,7 @@ const getFormattedDatesAndStatus = (resident: Resident) => { let endDate; let status = ResidentStatus.CURRENT; const currentDate = new Date(); + currentDate.setHours(0,0,0,0); if (resident.dateLeft != null) { const endDateObj = convertToDate(resident.dateLeft); endDate = getFormattedDateAndTime(endDateObj, true); @@ -164,7 +165,7 @@ const ResidentDirectoryTable = ({ Resident - Status + Status Building Residency Start Date Residency End Date