PageRenderTime 25ms CodeModel.GetById 15ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 1ms

/node_modules/moment/locale/en-ie.js

https://bitbucket.org/coleman333/smartsite
JavaScript | 66 lines | 60 code | 5 blank | 1 comment | 3 complexity | 48ce7d346e74a00a83512e6c10a81c62 MD5 | raw file
 1//! moment.js locale configuration
 2
 3;(function (global, factory) {
 4   typeof exports === 'object' && typeof module !== 'undefined'
 5       && typeof require === 'function' ? factory(require('../moment')) :
 6   typeof define === 'function' && define.amd ? define(['../moment'], factory) :
 7   factory(global.moment)
 8}(this, (function (moment) { 'use strict';
 9
10
11    var enIe = moment.defineLocale('en-ie', {
12        months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
13        monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
14        weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
15        weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
16        weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
17        longDateFormat : {
18            LT : 'HH:mm',
19            LTS : 'HH:mm:ss',
20            L : 'DD-MM-YYYY',
21            LL : 'D MMMM YYYY',
22            LLL : 'D MMMM YYYY HH:mm',
23            LLLL : 'dddd D MMMM YYYY HH:mm'
24        },
25        calendar : {
26            sameDay : '[Today at] LT',
27            nextDay : '[Tomorrow at] LT',
28            nextWeek : 'dddd [at] LT',
29            lastDay : '[Yesterday at] LT',
30            lastWeek : '[Last] dddd [at] LT',
31            sameElse : 'L'
32        },
33        relativeTime : {
34            future : 'in %s',
35            past : '%s ago',
36            s : 'a few seconds',
37            ss : '%d seconds',
38            m : 'a minute',
39            mm : '%d minutes',
40            h : 'an hour',
41            hh : '%d hours',
42            d : 'a day',
43            dd : '%d days',
44            M : 'a month',
45            MM : '%d months',
46            y : 'a year',
47            yy : '%d years'
48        },
49        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
50        ordinal : function (number) {
51            var b = number % 10,
52                output = (~~(number % 100 / 10) === 1) ? 'th' :
53                (b === 1) ? 'st' :
54                (b === 2) ? 'nd' :
55                (b === 3) ? 'rd' : 'th';
56            return number + output;
57        },
58        week : {
59            dow : 1, // Monday is the first day of the week.
60            doy : 4  // The week that contains Jan 4th is the first week of the year.
61        }
62    });
63
64    return enIe;
65
66})));