Currently when getting the moment locale we split at the dash
moment.locale(window.nuxeo.I18n.language ? window.nuxeo.I18n.language.split('-')[0] : 'en');
which ends up just taking the language part of the locale. For a user that has a locale of 'fr-CA', they expect the date to be displayed as yyyy-mm-dd but because the locale gets truncated to just 'fr', the date is displayed as dd-mm-yyyy