the-collab-lab / tcl-36-smart-shopping-list

1 stars 2 forks source link

15. Refactor Dates #28

Closed shelleymcq closed 2 years ago

shelleymcq commented 2 years ago

While the date seems to be working correctly to persist the check mark on purchased items for 24 hours, it is not working with the calculateEstimate utility.

Consider using a package such as moment.js to handle determining the days since last transaction.

shelleymcq commented 2 years ago

Fixing the milliseconds for 24 hours resolved the calculateEstimate issue.