1 // moment.js language configuration
2 // language : australian english (en-au)
5 if (typeof define
=== 'function' && define
.amd
) {
6 define(['moment'], factory
); // AMD
7 } else if (typeof exports
=== 'object') {
8 module
.exports
= factory(require('../moment')); // Node
10 factory(window
.moment
); // Browser global
13 return moment
.lang('en-au', {
14 months
: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
15 monthsShort
: "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
16 weekdays
: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
17 weekdaysShort
: "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
18 weekdaysMin
: "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
23 LLL
: "D MMMM YYYY LT",
24 LLLL
: "dddd, D MMMM YYYY LT"
27 sameDay
: '[Today at] LT',
28 nextDay
: '[Tomorrow at] LT',
29 nextWeek
: 'dddd [at] LT',
30 lastDay
: '[Yesterday at] LT',
31 lastWeek
: '[Last] dddd [at] LT',
49 ordinal : function (number
) {
51 output
= (~~ (number
% 100 / 10) === 1) ? 'th' :
54 (b
=== 3) ? 'rd' : 'th';
55 return number
+ output
;
58 dow
: 1, // Monday is the first day of the week.
59 doy
: 4 // The week that contains Jan 4th is the first week of the year.