edemaine / coauthor

Coauthor supercollaboration/discussion forum
MIT License
249 stars 34 forks source link

'today' and 'yesterday' dates don't age #497

Closed edemaine closed 3 years ago

edemaine commented 3 years ago

If you post a message, it's labeled as posted 'today'. If you wait 24 hours, it still says 'today', instead of 'yesterday'. If you wait 48 hours, it still says 'today', instead of the date. If you edit the message, the date will update correctly.

We need to make a reactive variable containing the current date (sans time), and depend on it in the date display.