adjust due date formatting to include the last second of the day

This commit is contained in:
Mo Tarbin
2026-02-10 00:43:59 -05:00
parent 9c115efecb
commit 979565691f

View File

@@ -256,7 +256,7 @@ const ChoreEdit = () => {
// Default to end of day (23:59:59) in user's timezone
const endOfDay = moment(dateValue)
.endOf('day')
.format('YYYY-MM-DDTHH:mm:00')
.format('YYYY-MM-DDTHH:mm:59')
setDueDate(endOfDay)
}
}