Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative comment dates #1

Open
rMazeiks opened this issue Mar 19, 2022 · 0 comments
Open

Relative comment dates #1

rMazeiks opened this issue Mar 19, 2022 · 0 comments
Labels
good first issue Recommended for new contributors as first task

Comments

@rMazeiks
Copy link
Collaborator

In the comment head, include, next to the author's username, the comment date and last edit date, if any.

The date should be expressed as the amount of time that has passed since the event – for example, "2h" for 2 hours ago, or "3d" for 3 days ago

sketch

Technical hints:

  • Use and install date-fns for the relative time display
  • We already have the InfoList component for displaying side-by-side bullet-separated info, please use that (/atoms/typography.tsx)
@rMazeiks rMazeiks added the good first issue Recommended for new contributors as first task label Mar 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Recommended for new contributors as first task
Projects
None yet
Development

No branches or pull requests

1 participant