-
Story
-
Resolution: Unresolved
-
Major
-
None
-
None
-
5
-
False
-
False
-
Undefined
-
As a user, I need the ability to set my display date/time format. The following need to be configurable:
- Date format
- Time format: 12h vs 24h
- Timezone
- Cluster Timezone
- Local Timezone
- Any Timezone
- Relative timestamp
This will ensure when multiple parties are referencing the UI they will be able to quickly identify what they need.
Tooltips should always show UTC timestamp. This will allow users to easily match with logs, etc...
Design doc - see language and region tab: https://docs.google.com/document/d/13fs8QFkPT9eiLfNJaGgTqr-qdkbDyKoFx9fF46MdrAM/edit?userstoinvite=abraren%40redhat.com&ts=60229887&actionButton=1
As part of this work, we should update most or all places we show a date (other than in charts) to use the common Timestamp component or a common hook we create for formatting dates. We might need to update the Timestamp component to make the icon optional or to allow custom classNames.
When handling a dynamic date/time rendering, be sure to align to the language selector state as well. Module based (written in the base of the file) language detection leaves to stale language backing the date/time – as it only evaluates once.