Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-2765

Create user preference option for date/time display format

    XMLWordPrintable

Details

    Description

      As a user, I need the ability to set my display date/time format. The following need to be configurable:

      1. Date format
      2. Time format: 12h vs 24h
      3. Timezone
        1. Cluster Timezone
        2. Local Timezone
        3. Any Timezone
      4. 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.

      Attachments

        1. 2.png
          2.png
          475 kB
        2. 21.png
          21.png
          963 kB
        3. 22.png
          22.png
          953 kB
        4. 9.png
          9.png
          301 kB

        Issue Links

          Activity

            People

              jhadvig@redhat.com Jakub Hadvig
              ralpert@redhat.com Rebecca Alpert
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: