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

To use user-friendly format for the timestamp in the trx cell #163

Open
sallymoc opened this issue Sep 26, 2024 · 0 comments
Open

To use user-friendly format for the timestamp in the trx cell #163

sallymoc opened this issue Sep 26, 2024 · 0 comments

Comments

@sallymoc
Copy link

Currently, time stamp is displaying the full date
image

As defined in the Figma, user-friendly format should be used and the full date between parenthesis:
image

User-friendly format suggestion:

  • Less than 1 second: Displayed as "Just now."
  • Within 1 to 59 seconds: Displayed as "x seconds ago."
  • Minutes ago: Posts made a few minutes ago will show as "x minutes ago."
  • Hours ago: Posts made within the last day will appear as "x hours ago."
  • Yesterday: Posts from the previous day are labeled as "Yesterday."
  • Days ago: Posts older than one day but less than a week will be shown as "x days ago."
  • Weeks ago: Posts older than a week but less than a month will appear as "x weeks ago."
  • Beyond a week: ?? (@Orestasas could you please define in this case which would be the expected format?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant