Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-7872

Use a consistent and human-readable timestamp format in the UI

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 2.11.1, 3.0.0-m3
    • Fix Version/s: None
    • Component/s: Rapture, UI
    • Labels:
      None
    • Environment:
      Safari MacOSX

      Description

      Timestamps are used in a few areas, with different formatting in each place:

      + ISO 8601 is used for timestamps on the system information page (YYYY-MM-DDThh:mm:ssTZD). This is optimized for machine readability.

      Other date formatting includes:

      + Date patterns (short – 'Y-M-d', and long – 'l, F d, Y')
      + Time patterns (short – 'H:i:s', and long – 'H:i:s T (\\G\\M
      TO)')
      + Datetime patterns (short – 'Y-M-d H:i:s', and long 'l, F d, Y H:i:s T (\\G\\M
      TO)')

      This is all within Nexus itself. We should also consider the formats used by CLM and (if possible) reconcile them.

      While reviewing the site, I noticed that on the System Information page, the timestamps showed in a "YYYY-MM-DDThh:mm:ssTZD" format.
      I asked why this was so squished and what the T stood for, and Daniel Sauble relayed this was ISO 8601 (http://www.w3.org/TR/NOTE-datetime). He asked for a ticket to make this better. This is that ticket.

      While researching to make sure my creation would not be a duplicate, I found https://issues.sonatype.org/browse/NEXUS-6154, so I specifically am making this one related to the UI. While this affects both NX2 and NX3, since I have been told not to expect UI changes for NX2, I am making the Epic NX3.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jtom Joe Tom
              Last Updated By:
              Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title