-
Notifications
You must be signed in to change notification settings - Fork 25
Update date display to include year and fix consistency across list and details views #6405
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
Conversation
<span className="truncate"> | ||
<DateDisplay date={attributeData.value} /> | ||
</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why should we not display time anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the goal is to make it consistent, it's a request from CS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and there was no details in the previous format, with the component it will be more clear since we have the tooltip for the absolute value and it adapts depending on how old the date is
Format is:
d MMM
for the current yeard MMM yyyy
beforeThe tooltip with absolute value is still available on hover