Real-Dev-Squad / website-status

Shows a roadmap of the ongoing projects being done
https://status.realdevsquad.com/
MIT License
21 stars 145 forks source link

Make date more human readable on status site task details page #1115

Closed Achintya-Chatterjee closed 2 months ago

Achintya-Chatterjee commented 3 months ago

Issue Description

Currently on the status site, on the task details page, there are only two things for tasks one is the Started On date and another one is the Ends On date but both of these are not that human readable.

Expected Behavior

The expected behaviour should be to make these dates more human-readable with an absolute value tooltip. So when a user goes to that page and hovers over Started On and Ends On dates, It should say "4 days ago" for dates in past. And "3 days" for future dates. Also, labels should say "Started" and "Ended" (drop the "on").

Current Behavior

Currently, both the dates are in MM/DD/YYYY and time format, and also there is a time format HH:MM: SS. But these are not that human-readable.

Screenshots

date

Reproducibility

Steps to Reproduce

  1. Go to status.realdevsquad.com and click on task cards
  2. After clicking on the task cards anyone can see both those Started On and Ends On dates.

Severity/Priority

Additional Information

Checklist