1 //! moment.js locale configuration
2 //! locale : great britain english (en-gb)
3 //! author : Chris Gedrim : https://github.com/chrisgedrim
5 import moment from '../moment';
7 export default moment.defineLocale('en-gb', {
8 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
9 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
10 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
11 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
12 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
18 LLL : 'D MMMM YYYY HH:mm',
19 LLLL : 'dddd, D MMMM YYYY HH:mm'
22 sameDay : '[Today at] LT',
23 nextDay : '[Tomorrow at] LT',
24 nextWeek : 'dddd [at] LT',
25 lastDay : '[Yesterday at] LT',
26 lastWeek : '[Last] dddd [at] LT',
44 ordinalParse: /\d{1,2}(st|nd|rd|th)/,
45 ordinal : function (number) {
47 output = (~~(number % 100 / 10) === 1) ? 'th' :
50 (b === 3) ? 'rd' : 'th';
51 return number + output;
54 dow : 1, // Monday is the first day of the week.
55 doy : 4 // The week that contains Jan 4th is the first week of the year.