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

moment not loading locales

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-SNAPSHOT
    • Fix Version/s: 3.0.0
    • Component/s: I18n, UI, Widgets

      Description

      While tackling ELEMENTS-1182 we've found out that moment only have en locale loaded.
      This will lead that widgets as nuxeo-date-picker that rely on moment locale data will be broken.

      An easy way to reproduce the issue is to set the browser's language to french.
      Then we can see that almost all the UI is translated but, as soon as we expand nuxeo-date-picker to see the calendar we can check that everything is in english. Also, the first day of the calendar will be Sunday but, in french, it should be Monday (Lundi).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 - 2 days
                  2d