X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=resources%2Fsrc%2Fmoment-dmy.js;h=2b7ca1618363820ccb82a9978f33009f0934f51a;hb=ed84cd9c424e8ee66aa94d572e6e892c781ba02c;hp=c67b93e97657cdbecc852a289d13dc71389f3388;hpb=045ca4ca47eb3b9120599d6964b33c15bd96b6e7;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/moment-dmy.js b/resources/src/moment-dmy.js index c67b93e976..2b7ca16183 100644 --- a/resources/src/moment-dmy.js +++ b/resources/src/moment-dmy.js @@ -1,8 +1,8 @@ // Use DMY date format for Moment.js, in accordance with MediaWiki's date formatting routines. // This affects English only (and languages without localisations, that fall back to English). // http://momentjs.com/docs/#/customization/long-date-formats/ -/*global moment */ -moment.locale( 'en', { +/* global moment */ +moment.updateLocale( 'en', { longDateFormat: { // Unchanged, but have to be repeated here: LT: 'h:mm A',