morris / vanilla-todo

A case study on viable techniques for vanilla web development.
https://morris.github.io/vanilla-todo/
ISC License
1.17k stars 54 forks source link

Move past items (not done) to today #14

Closed morris closed 3 months ago

morris commented 10 months ago

When (re-)loading the app, past items that were not marked "done" should automatically move to today so they don't get lost. This should be solvable by

harrisonJones12 commented 10 months ago

I can work on this issue.

harrisonJones12 commented 10 months ago

I have noticed an issue where the todo items do not have the correct date.

image

I have kind of worked out solution however my logic will not work due to dates of the saved todoItems being incorrect. I'll keep working on it. @morris

harrisonJones12 commented 10 months ago

Update upon looking in to it I cannot see why the date is being saved like that.

morris commented 10 months ago

Thanks for looking into it! Hmmm, unfortunately I can't reproduce the situation you're describing. Could it be a time zone issue?

morris commented 10 months ago

Indeed... should be fixed now in main :)

morris commented 8 months ago

@harrisonJones12 any chance you want to pick this up again :)?