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