Add getStatsdDataFactory to MediawikiServices
[mediawiki.git] / resources / src / moment-local-dmy.js
blobc67b93e97657cdbecc852a289d13dc71389f3388
1 // Use DMY date format for Moment.js, in accordance with MediaWiki's date formatting routines.
2 // This affects English only (and languages without localisations, that fall back to English).
3 // http://momentjs.com/docs/#/customization/long-date-formats/
4 /*global moment */
5 moment.locale( 'en', {
6         longDateFormat: {
7                 // Unchanged, but have to be repeated here:
8                 LT: 'h:mm A',
9                 LTS: 'h:mm:ss A',
10                 // Customized:
11                 L: 'DD/MM/YYYY',
12                 LL: 'D MMMM YYYY',
13                 LLL: 'D MMMM YYYY LT',
14                 LLLL: 'dddd, D MMMM YYYY LT'
15         }
16 } );