iamlogand / republic-of-rome-online

An online adaptation of The Republic of Rome, a strategy board game
https://www.roronline.com/
MIT License
5 stars 2 forks source link

Add timestamps to action logs #423

Closed iamlogand closed 8 months ago

iamlogand commented 8 months ago

Whenever an action log is created, it should have a creation_date field set to the current date/time. For the migration, existing action logs can also have the current date/time.

This should be represented in the UI on the notification list. Rather than show the date and time, each action log should show the time elapsed since that date and time.

Examples:

Hovering over the elapsed time should show the date and time in a MUI Tooltip.