Fix IO-1828

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-01-09 17:14:30 -05:00
parent 3dcc1fe7e0
commit 46b58a6e1b
2 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ export default function CourtesyCarsList({ loading, courtesycars, refetch }) {
const mileageOver = nextservicekm ? nextservicekm <= mileage : false;
const dueForService =
nextservicedate && dayjs(nextservicedate).end('day').isSameOrBefore(dayjs());
nextservicedate && dayjs(nextservicedate).endOf('day').isSameOrBefore(dayjs());
return (
<Space>