Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-766

Set LL(L) date (time) default format

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.18, 2.3.3
    • Component/s: UI
    • Release Notes Summary:
      The default datetime format follows the localized one.
    • Sprint:
      nxGang Sprint 10.3.5
    • Story Points:
      1

      Description

      Currently, despite date keywords such as month and day names are localized, the format itself does not follow the locale standard.

      For instance, with the French locale, a date is displayed septembre 12, 2018 while it should be 12 septembre 2018 (grammatically, the day of the month is before the name of the month).

      Setting LL format for date and LLL format for dateTime would provide the standard format for all locale out of the box. See moment.js documentation.

        French English Description
      LL 12 septembre 2018 September 12, 2018 Month name, day of month, year
      LLL 12 septembre 2018 23:58 September 12, 2018 11:58 PM Month name, day of month, year, time

      as suggested in ELEMENTS-736

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h