Merge "Don't fallback from uk to ru"
[lhc/web/wiklou.git] / resources / lib / moment / locale / en-gb.js
1 // moment.js locale configuration
2 // locale : great britain english (en-gb)
3 // author : Chris Gedrim : https://github.com/chrisgedrim
4
5 (function (factory) {
6 // Comment out broken wrapper, see T145382
7 /*if (typeof define === 'function' && define.amd) {
8 define(['moment'], factory); // AMD
9 } else if (typeof exports === 'object') {
10 module.exports = factory(require('../moment')); // Node
11 } else {
12 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
13 }*/
14 factory(this.moment);
15 }(function (moment) {
16 return moment.defineLocale('en-gb', {
17 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
18 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
19 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
20 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
21 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
22 longDateFormat : {
23 LT : 'HH:mm',
24 LTS : 'HH:mm:ss',
25 L : 'DD/MM/YYYY',
26 LL : 'D MMMM YYYY',
27 LLL : 'D MMMM YYYY LT',
28 LLLL : 'dddd, D MMMM YYYY LT'
29 },
30 calendar : {
31 sameDay : '[Today at] LT',
32 nextDay : '[Tomorrow at] LT',
33 nextWeek : 'dddd [at] LT',
34 lastDay : '[Yesterday at] LT',
35 lastWeek : '[Last] dddd [at] LT',
36 sameElse : 'L'
37 },
38 relativeTime : {
39 future : 'in %s',
40 past : '%s ago',
41 s : 'a few seconds',
42 m : 'a minute',
43 mm : '%d minutes',
44 h : 'an hour',
45 hh : '%d hours',
46 d : 'a day',
47 dd : '%d days',
48 M : 'a month',
49 MM : '%d months',
50 y : 'a year',
51 yy : '%d years'
52 },
53 ordinalParse: /\d{1,2}(st|nd|rd|th)/,
54 ordinal : function (number) {
55 var b = number % 10,
56 output = (~~(number % 100 / 10) === 1) ? 'th' :
57 (b === 1) ? 'st' :
58 (b === 2) ? 'nd' :
59 (b === 3) ? 'rd' : 'th';
60 return number + output;
61 },
62 week : {
63 dow : 1, // Monday is the first day of the week.
64 doy : 4 // The week that contains Jan 4th is the first week of the year.
65 }
66 });
67 }));