LaravelTest
79 строк · 2.6 Кб
1//! moment.js locale configuration
2//! locale : English (Australia) [en-au]
3//! author : Jared Morse : https://github.com/jarcoal
4
5;(function (global, factory) {6typeof exports === 'object' && typeof module !== 'undefined'7&& typeof require === 'function' ? factory(require('../moment')) :8typeof define === 'function' && define.amd ? define(['../moment'], factory) :9factory(global.moment)10}(this, (function (moment) { 'use strict';11
12//! moment.js locale configuration13
14var enAu = moment.defineLocale('en-au', {15months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(16'_'17),18monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),19weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(20'_'21),22weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),23weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),24longDateFormat: {25LT: 'h:mm A',26LTS: 'h:mm:ss A',27L: 'DD/MM/YYYY',28LL: 'D MMMM YYYY',29LLL: 'D MMMM YYYY h:mm A',30LLLL: 'dddd, D MMMM YYYY h:mm A',31},32calendar: {33sameDay: '[Today at] LT',34nextDay: '[Tomorrow at] LT',35nextWeek: 'dddd [at] LT',36lastDay: '[Yesterday at] LT',37lastWeek: '[Last] dddd [at] LT',38sameElse: 'L',39},40relativeTime: {41future: 'in %s',42past: '%s ago',43s: 'a few seconds',44ss: '%d seconds',45m: 'a minute',46mm: '%d minutes',47h: 'an hour',48hh: '%d hours',49d: 'a day',50dd: '%d days',51M: 'a month',52MM: '%d months',53y: 'a year',54yy: '%d years',55},56dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,57ordinal: function (number) {58var b = number % 10,59output =60~~((number % 100) / 10) === 161? 'th'62: b === 163? 'st'64: b === 265? 'nd'66: b === 367? 'rd'68: 'th';69return number + output;70},71week: {72dow: 0, // Sunday is the first day of the week.73doy: 4, // The week that contains Jan 4th is the first week of the year.74},75});76
77return enAu;78
79})));80