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

Message list items should support timestamps as dates #7135

Open
marcushellberg opened this issue Feb 19, 2024 · 1 comment
Open

Message list items should support timestamps as dates #7135

marcushellberg opened this issue Feb 19, 2024 · 1 comment

Comments

@marcushellberg
Copy link
Member

Describe your motivation

Right now, the API for message list item assumes you pass in a string for the time. If you pass in "right now", as in the API docs, it remains "right now" even if an hour passes.

Describe the solution you'd like

I would like the item to take a date object as the time. The message list should have a default formatter for times that can be overridden.

Describe alternatives you've considered

  • Updating the entire message history every few seconds
  • Not using relative times

Additional context

No response

@yuriy-fix
Copy link
Contributor

Related issue: #2060

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants