Previously, the cron server library recorded the nextDue field in tasks, and the exp and todos array elements on the user, in JavaScript Date format. Elsewhere, these fields are updated using ISO date strings, leading to a mix of formats within the same data field.
Now, these updates use toISOString() to format the dates, keeping the format more consistent.
Previously, the
cron
server library recorded thenextDue
field in tasks, and theexp
andtodos
array elements on the user, in JavaScriptDate
format. Elsewhere, these fields are updated using ISO date strings, leading to a mix of formats within the same data field.Now, these updates use
toISOString()
to format the dates, keeping the format more consistent.