ui-components
ui-components copied to clipboard
Timestamp component - edits to message info
Describe the bug
- A comma is missing between the date and the year.
- I recommend mentioning a year stamp only if the message was sent last year. So, if a message was sent on December 31, 2023 (which is last year), there is a year stamp, whereas for a message sent on January 1, 2024 (which is current year), the year is not shown.
- In addition to that, for messages sent last year, let's add a preposition "at" to the time stamp in between the time and the date.
To Reproduce
- Go to storybook & open "Message Canvas" component
- Hover over the component
Expected behavior
Current behavior