Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Discarded
    • None
    • None
    • Workflow

    Description

      All date and time should follow the same format for chart labels, popovers and time range dropdown menu components. For english-US the default date format is MM/DD/YYYY and time format is AM/PM with hours only, and should be displayed as described bellow:

      • Time only
        • 2 AM
        • 10 PM
      • Date and Time
        • 9/4/2018: Sep 4, 2018, 2 AM
        • 9/4/2019: Sep 4, 11 PM
        • 7/1/2019 12 AM - 7/1/2019 11:59 PM: Jul 1, 12 AM - Jul 1, 11 PM
      • Date only
        • 9/4/2018: Sep 4, 2018
        • 12/30/2018 - 1/5/2019: Dec 30, 2018 - Jan 5, 2019
        • 12/1/2018 - 12/30/2018: Dec 1 - 30, 2018
        • 1/6/2019 - 1/12/2019: Jan 6 - 12
        • 1/27/2019 - 2/2/2019: Jan 27 - Feb 2
        • 9/4/2019: Sep 4
      • If the selected range date is from the same month, the month name should only be displayed once;
      • If the selected range date is from the current year, the year number doesn't have to be displayed;
      • If the selected range date have different years, the year number has to be displayed;

      Reference:
      https://st.unicode.org/cldr-apps/v#/en/Gregorian/1302cf7eee8f1c9e

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            nathalia.moura Nathália Moura (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package