edemaine / coauthor

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

'today'/'yesterday' dates don't age #496

Closed edemaine closed 3 years ago

edemaine commented 3 years ago

What's wrong?

If you post a message, it's labeled as posted 'today'. If you then wait 24 hours, it still says 'today', unless you update the message which triggers the date to rerender.

We need to add a reactive variable that changes each calendar day, and make the date rendering depend on it.