@revivejs/moment 2.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +996 -0
- package/LICENSE +22 -0
- package/README.md +158 -0
- package/dist/locale/af.js +71 -0
- package/dist/locale/ar-dz.js +156 -0
- package/dist/locale/ar-kw.js +55 -0
- package/dist/locale/ar-ly.js +171 -0
- package/dist/locale/ar-ma.js +56 -0
- package/dist/locale/ar-ps.js +112 -0
- package/dist/locale/ar-sa.js +105 -0
- package/dist/locale/ar-tn.js +55 -0
- package/dist/locale/ar.js +189 -0
- package/dist/locale/az.js +102 -0
- package/dist/locale/be.js +142 -0
- package/dist/locale/bg.js +87 -0
- package/dist/locale/bm.js +52 -0
- package/dist/locale/bn-bd.js +129 -0
- package/dist/locale/bn.js +119 -0
- package/dist/locale/bo.js +124 -0
- package/dist/locale/br.js +168 -0
- package/dist/locale/bs.js +160 -0
- package/dist/locale/ca.js +100 -0
- package/dist/locale/cs.js +181 -0
- package/dist/locale/cv.js +63 -0
- package/dist/locale/cy.js +98 -0
- package/dist/locale/da.js +53 -0
- package/dist/locale/de-at.js +79 -0
- package/dist/locale/de-ch.js +78 -0
- package/dist/locale/de.js +78 -0
- package/dist/locale/dv.js +90 -0
- package/dist/locale/el.js +106 -0
- package/dist/locale/en-au.js +68 -0
- package/dist/locale/en-ca.js +64 -0
- package/dist/locale/en-gb.js +68 -0
- package/dist/locale/en-ie.js +68 -0
- package/dist/locale/en-il.js +64 -0
- package/dist/locale/en-in.js +68 -0
- package/dist/locale/en-nz.js +68 -0
- package/dist/locale/en-sg.js +68 -0
- package/dist/locale/eo.js +68 -0
- package/dist/locale/es-do.js +108 -0
- package/dist/locale/es-mx.js +110 -0
- package/dist/locale/es-us.js +110 -0
- package/dist/locale/es.js +110 -0
- package/dist/locale/et.js +78 -0
- package/dist/locale/eu.js +65 -0
- package/dist/locale/fa.js +113 -0
- package/dist/locale/fi.js +124 -0
- package/dist/locale/fil.js +58 -0
- package/dist/locale/fo.js +57 -0
- package/dist/locale/fr-ca.js +70 -0
- package/dist/locale/fr-ch.js +74 -0
- package/dist/locale/fr.js +108 -0
- package/dist/locale/fy.js +75 -0
- package/dist/locale/ga.js +95 -0
- package/dist/locale/gd.js +95 -0
- package/dist/locale/gl.js +75 -0
- package/dist/locale/gom-deva.js +126 -0
- package/dist/locale/gom-latn.js +124 -0
- package/dist/locale/gu.js +122 -0
- package/dist/locale/he.js +94 -0
- package/dist/locale/hi.js +168 -0
- package/dist/locale/hr.js +156 -0
- package/dist/locale/hu.js +118 -0
- package/dist/locale/hy-am.js +94 -0
- package/dist/locale/id.js +76 -0
- package/dist/locale/is.js +140 -0
- package/dist/locale/it-ch.js +64 -0
- package/dist/locale/it.js +106 -0
- package/dist/locale/ja.js +148 -0
- package/dist/locale/jv.js +76 -0
- package/dist/locale/ka.js +92 -0
- package/dist/locale/kk.js +82 -0
- package/dist/locale/km.js +103 -0
- package/dist/locale/kn.js +124 -0
- package/dist/locale/ko.js +75 -0
- package/dist/locale/ku-kmr.js +121 -0
- package/dist/locale/ku.js +118 -0
- package/dist/locale/ky.js +84 -0
- package/dist/locale/lb.js +137 -0
- package/dist/locale/lo.js +66 -0
- package/dist/locale/lt.js +125 -0
- package/dist/locale/lv.js +94 -0
- package/dist/locale/me.js +117 -0
- package/dist/locale/mi.js +60 -0
- package/dist/locale/mk.js +85 -0
- package/dist/locale/ml.js +82 -0
- package/dist/locale/mn.js +100 -0
- package/dist/locale/mr.js +203 -0
- package/dist/locale/ms-my.js +76 -0
- package/dist/locale/ms.js +75 -0
- package/dist/locale/mt.js +56 -0
- package/dist/locale/my.js +91 -0
- package/dist/locale/nb.js +60 -0
- package/dist/locale/ne.js +121 -0
- package/dist/locale/nl-be.js +102 -0
- package/dist/locale/nl.js +104 -0
- package/dist/locale/nn.js +59 -0
- package/dist/locale/oc-lnc.js +85 -0
- package/dist/locale/pa-in.js +122 -0
- package/dist/locale/pl.js +140 -0
- package/dist/locale/pt-br.js +58 -0
- package/dist/locale/pt.js +63 -0
- package/dist/locale/ro.js +76 -0
- package/dist/locale/ru.js +213 -0
- package/dist/locale/sd.js +81 -0
- package/dist/locale/se.js +57 -0
- package/dist/locale/si.js +69 -0
- package/dist/locale/sk.js +145 -0
- package/dist/locale/sl.js +171 -0
- package/dist/locale/sq.js +65 -0
- package/dist/locale/sr-cyrl.js +127 -0
- package/dist/locale/sr.js +129 -0
- package/dist/locale/ss.js +84 -0
- package/dist/locale/sv.js +68 -0
- package/dist/locale/sw.js +55 -0
- package/dist/locale/ta.js +131 -0
- package/dist/locale/te.js +88 -0
- package/dist/locale/tet.js +68 -0
- package/dist/locale/tg.js +117 -0
- package/dist/locale/th.js +65 -0
- package/dist/locale/tk.js +91 -0
- package/dist/locale/tl-ph.js +57 -0
- package/dist/locale/tlh.js +124 -0
- package/dist/locale/tr.js +106 -0
- package/dist/locale/tzl.js +89 -0
- package/dist/locale/tzm-latn.js +54 -0
- package/dist/locale/tzm.js +54 -0
- package/dist/locale/ug-cn.js +111 -0
- package/dist/locale/uk.js +167 -0
- package/dist/locale/ur.js +82 -0
- package/dist/locale/uz-latn.js +54 -0
- package/dist/locale/uz.js +51 -0
- package/dist/locale/vi.js +80 -0
- package/dist/locale/x-pseudo.js +73 -0
- package/dist/locale/yo.js +53 -0
- package/dist/locale/zh-cn.js +120 -0
- package/dist/locale/zh-hk.js +101 -0
- package/dist/locale/zh-mo.js +100 -0
- package/dist/locale/zh-tw.js +99 -0
- package/dist/moment.js +5680 -0
- package/ender.js +1 -0
- package/locale/af.js +82 -0
- package/locale/ar-dz.js +167 -0
- package/locale/ar-kw.js +66 -0
- package/locale/ar-ly.js +182 -0
- package/locale/ar-ma.js +67 -0
- package/locale/ar-ps.js +123 -0
- package/locale/ar-sa.js +116 -0
- package/locale/ar-tn.js +66 -0
- package/locale/ar.js +200 -0
- package/locale/az.js +113 -0
- package/locale/be.js +153 -0
- package/locale/bg.js +98 -0
- package/locale/bm.js +62 -0
- package/locale/bn-bd.js +140 -0
- package/locale/bn.js +130 -0
- package/locale/bo.js +135 -0
- package/locale/br.js +179 -0
- package/locale/bs.js +171 -0
- package/locale/ca.js +111 -0
- package/locale/cs.js +192 -0
- package/locale/cv.js +74 -0
- package/locale/cy.js +109 -0
- package/locale/da.js +64 -0
- package/locale/de-at.js +90 -0
- package/locale/de-ch.js +87 -0
- package/locale/de.js +89 -0
- package/locale/dv.js +101 -0
- package/locale/el.js +117 -0
- package/locale/en-au.js +79 -0
- package/locale/en-ca.js +75 -0
- package/locale/en-gb.js +79 -0
- package/locale/en-ie.js +79 -0
- package/locale/en-il.js +75 -0
- package/locale/en-in.js +79 -0
- package/locale/en-nz.js +79 -0
- package/locale/en-sg.js +79 -0
- package/locale/eo.js +79 -0
- package/locale/es-do.js +119 -0
- package/locale/es-mx.js +121 -0
- package/locale/es-us.js +121 -0
- package/locale/es.js +121 -0
- package/locale/et.js +89 -0
- package/locale/eu.js +76 -0
- package/locale/fa.js +124 -0
- package/locale/fi.js +135 -0
- package/locale/fil.js +69 -0
- package/locale/fo.js +68 -0
- package/locale/fr-ca.js +81 -0
- package/locale/fr-ch.js +85 -0
- package/locale/fr.js +119 -0
- package/locale/fy.js +86 -0
- package/locale/ga.js +106 -0
- package/locale/gd.js +106 -0
- package/locale/gl.js +86 -0
- package/locale/gom-deva.js +137 -0
- package/locale/gom-latn.js +135 -0
- package/locale/gu.js +133 -0
- package/locale/he.js +105 -0
- package/locale/hi.js +179 -0
- package/locale/hr.js +167 -0
- package/locale/hu.js +129 -0
- package/locale/hy-am.js +105 -0
- package/locale/id.js +87 -0
- package/locale/is.js +151 -0
- package/locale/it-ch.js +75 -0
- package/locale/it.js +117 -0
- package/locale/ja.js +159 -0
- package/locale/jv.js +87 -0
- package/locale/ka.js +103 -0
- package/locale/kk.js +93 -0
- package/locale/km.js +114 -0
- package/locale/kn.js +135 -0
- package/locale/ko.js +86 -0
- package/locale/ku-kmr.js +125 -0
- package/locale/ku.js +129 -0
- package/locale/ky.js +95 -0
- package/locale/lb.js +148 -0
- package/locale/lo.js +77 -0
- package/locale/lt.js +136 -0
- package/locale/lv.js +105 -0
- package/locale/me.js +128 -0
- package/locale/mi.js +71 -0
- package/locale/mk.js +97 -0
- package/locale/ml.js +93 -0
- package/locale/mn.js +111 -0
- package/locale/mr.js +214 -0
- package/locale/ms-my.js +87 -0
- package/locale/ms.js +86 -0
- package/locale/mt.js +67 -0
- package/locale/my.js +102 -0
- package/locale/nb.js +71 -0
- package/locale/ne.js +132 -0
- package/locale/nl-be.js +113 -0
- package/locale/nl.js +115 -0
- package/locale/nn.js +70 -0
- package/locale/oc-lnc.js +96 -0
- package/locale/pa-in.js +133 -0
- package/locale/pl.js +151 -0
- package/locale/pt-br.js +69 -0
- package/locale/pt.js +74 -0
- package/locale/ro.js +87 -0
- package/locale/ru.js +224 -0
- package/locale/sd.js +92 -0
- package/locale/se.js +68 -0
- package/locale/si.js +80 -0
- package/locale/sk.js +156 -0
- package/locale/sl.js +182 -0
- package/locale/sq.js +76 -0
- package/locale/sr-cyrl.js +138 -0
- package/locale/sr.js +140 -0
- package/locale/ss.js +95 -0
- package/locale/sv.js +79 -0
- package/locale/sw.js +66 -0
- package/locale/ta.js +142 -0
- package/locale/te.js +99 -0
- package/locale/tet.js +79 -0
- package/locale/tg.js +128 -0
- package/locale/th.js +76 -0
- package/locale/tk.js +102 -0
- package/locale/tl-ph.js +68 -0
- package/locale/tlh.js +135 -0
- package/locale/tr.js +117 -0
- package/locale/tzl.js +100 -0
- package/locale/tzm-latn.js +65 -0
- package/locale/tzm.js +65 -0
- package/locale/ug-cn.js +122 -0
- package/locale/uk.js +178 -0
- package/locale/ur.js +93 -0
- package/locale/uz-latn.js +65 -0
- package/locale/uz.js +62 -0
- package/locale/vi.js +91 -0
- package/locale/x-pseudo.js +84 -0
- package/locale/yo.js +64 -0
- package/locale/zh-cn.js +131 -0
- package/locale/zh-hk.js +112 -0
- package/locale/zh-mo.js +111 -0
- package/locale/zh-tw.js +110 -0
- package/min/locales.js +12800 -0
- package/min/locales.min.js +2 -0
- package/min/locales.min.js.map +1 -0
- package/min/moment-with-locales.js +18472 -0
- package/min/moment-with-locales.min.js +2 -0
- package/min/moment-with-locales.min.js.map +1 -0
- package/min/moment.min.js +2 -0
- package/min/moment.min.js.map +1 -0
- package/min/tests.js +149292 -0
- package/moment.d.ts +796 -0
- package/moment.js +5688 -0
- package/package.js +11 -0
- package/package.json +152 -0
- package/ts3.1-typings/moment.d.ts +785 -0
package/locale/el.js
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Greek [el]
|
|
3
|
+
//! author : Aggelos Karalias : https://github.com/mehiel
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
function isFunction(input) {
|
|
15
|
+
return (
|
|
16
|
+
(typeof Function !== 'undefined' && input instanceof Function) ||
|
|
17
|
+
Object.prototype.toString.call(input) === '[object Function]'
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
var el = moment.defineLocale('el', {
|
|
22
|
+
monthsNominativeEl:
|
|
23
|
+
'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split(
|
|
24
|
+
'_'
|
|
25
|
+
),
|
|
26
|
+
monthsGenitiveEl:
|
|
27
|
+
'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split(
|
|
28
|
+
'_'
|
|
29
|
+
),
|
|
30
|
+
months: function (momentToFormat, format) {
|
|
31
|
+
if (!momentToFormat) {
|
|
32
|
+
return this._monthsNominativeEl;
|
|
33
|
+
} else if (
|
|
34
|
+
typeof format === 'string' &&
|
|
35
|
+
/D/.test(format.substring(0, format.indexOf('MMMM')))
|
|
36
|
+
) {
|
|
37
|
+
// if there is a day number before 'MMMM'
|
|
38
|
+
return this._monthsGenitiveEl[momentToFormat.month()];
|
|
39
|
+
} else {
|
|
40
|
+
return this._monthsNominativeEl[momentToFormat.month()];
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
|
|
44
|
+
weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split(
|
|
45
|
+
'_'
|
|
46
|
+
),
|
|
47
|
+
weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
|
|
48
|
+
weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
|
|
49
|
+
meridiem: function (hours, minutes, isLower) {
|
|
50
|
+
if (hours > 11) {
|
|
51
|
+
return isLower ? 'μμ' : 'ΜΜ';
|
|
52
|
+
} else {
|
|
53
|
+
return isLower ? 'πμ' : 'ΠΜ';
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
isPM: function (input) {
|
|
57
|
+
return (input + '').toLowerCase()[0] === 'μ';
|
|
58
|
+
},
|
|
59
|
+
meridiemParse: /[ΠΜ]\.?Μ?\.?/i,
|
|
60
|
+
longDateFormat: {
|
|
61
|
+
LT: 'h:mm A',
|
|
62
|
+
LTS: 'h:mm:ss A',
|
|
63
|
+
L: 'DD/MM/YYYY',
|
|
64
|
+
LL: 'D MMMM YYYY',
|
|
65
|
+
LLL: 'D MMMM YYYY h:mm A',
|
|
66
|
+
LLLL: 'dddd, D MMMM YYYY h:mm A',
|
|
67
|
+
},
|
|
68
|
+
calendarEl: {
|
|
69
|
+
sameDay: '[Σήμερα {}] LT',
|
|
70
|
+
nextDay: '[Αύριο {}] LT',
|
|
71
|
+
nextWeek: 'dddd [{}] LT',
|
|
72
|
+
lastDay: '[Χθες {}] LT',
|
|
73
|
+
lastWeek: function () {
|
|
74
|
+
switch (this.day()) {
|
|
75
|
+
case 6:
|
|
76
|
+
return '[το προηγούμενο] dddd [{}] LT';
|
|
77
|
+
default:
|
|
78
|
+
return '[την προηγούμενη] dddd [{}] LT';
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
sameElse: 'L',
|
|
82
|
+
},
|
|
83
|
+
calendar: function (key, mom) {
|
|
84
|
+
var output = this._calendarEl[key],
|
|
85
|
+
hours = mom && mom.hours();
|
|
86
|
+
if (isFunction(output)) {
|
|
87
|
+
output = output.apply(mom);
|
|
88
|
+
}
|
|
89
|
+
return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');
|
|
90
|
+
},
|
|
91
|
+
relativeTime: {
|
|
92
|
+
future: 'σε %s',
|
|
93
|
+
past: '%s πριν',
|
|
94
|
+
s: 'λίγα δευτερόλεπτα',
|
|
95
|
+
ss: '%d δευτερόλεπτα',
|
|
96
|
+
m: 'ένα λεπτό',
|
|
97
|
+
mm: '%d λεπτά',
|
|
98
|
+
h: 'μία ώρα',
|
|
99
|
+
hh: '%d ώρες',
|
|
100
|
+
d: 'μία μέρα',
|
|
101
|
+
dd: '%d μέρες',
|
|
102
|
+
M: 'ένας μήνας',
|
|
103
|
+
MM: '%d μήνες',
|
|
104
|
+
y: 'ένας χρόνος',
|
|
105
|
+
yy: '%d χρόνια',
|
|
106
|
+
},
|
|
107
|
+
dayOfMonthOrdinalParse: /\d{1,2}η/,
|
|
108
|
+
ordinal: '%dη',
|
|
109
|
+
week: {
|
|
110
|
+
dow: 1, // Monday is the first day of the week.
|
|
111
|
+
doy: 4, // The week that contains Jan 4st is the first week of the year.
|
|
112
|
+
},
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
return el;
|
|
116
|
+
|
|
117
|
+
})));
|
package/locale/en-au.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : English (Australia) [en-au]
|
|
3
|
+
//! author : Jared Morse : https://github.com/jarcoal
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var enAu = moment.defineLocale('en-au', {
|
|
15
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
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
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
|
23
|
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
|
24
|
+
longDateFormat: {
|
|
25
|
+
LT: 'h:mm A',
|
|
26
|
+
LTS: 'h:mm:ss A',
|
|
27
|
+
L: 'DD/MM/YYYY',
|
|
28
|
+
LL: 'D MMMM YYYY',
|
|
29
|
+
LLL: 'D MMMM YYYY h:mm A',
|
|
30
|
+
LLLL: 'dddd, D MMMM YYYY h:mm A',
|
|
31
|
+
},
|
|
32
|
+
calendar: {
|
|
33
|
+
sameDay: '[Today at] LT',
|
|
34
|
+
nextDay: '[Tomorrow at] LT',
|
|
35
|
+
nextWeek: 'dddd [at] LT',
|
|
36
|
+
lastDay: '[Yesterday at] LT',
|
|
37
|
+
lastWeek: '[Last] dddd [at] LT',
|
|
38
|
+
sameElse: 'L',
|
|
39
|
+
},
|
|
40
|
+
relativeTime: {
|
|
41
|
+
future: 'in %s',
|
|
42
|
+
past: '%s ago',
|
|
43
|
+
s: 'a few seconds',
|
|
44
|
+
ss: '%d seconds',
|
|
45
|
+
m: 'a minute',
|
|
46
|
+
mm: '%d minutes',
|
|
47
|
+
h: 'an hour',
|
|
48
|
+
hh: '%d hours',
|
|
49
|
+
d: 'a day',
|
|
50
|
+
dd: '%d days',
|
|
51
|
+
M: 'a month',
|
|
52
|
+
MM: '%d months',
|
|
53
|
+
y: 'a year',
|
|
54
|
+
yy: '%d years',
|
|
55
|
+
},
|
|
56
|
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
|
57
|
+
ordinal: function (number) {
|
|
58
|
+
var b = number % 10,
|
|
59
|
+
output =
|
|
60
|
+
~~((number % 100) / 10) === 1
|
|
61
|
+
? 'th'
|
|
62
|
+
: b === 1
|
|
63
|
+
? 'st'
|
|
64
|
+
: b === 2
|
|
65
|
+
? 'nd'
|
|
66
|
+
: b === 3
|
|
67
|
+
? 'rd'
|
|
68
|
+
: 'th';
|
|
69
|
+
return number + output;
|
|
70
|
+
},
|
|
71
|
+
week: {
|
|
72
|
+
dow: 0, // Sunday is the first day of the week.
|
|
73
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
return enAu;
|
|
78
|
+
|
|
79
|
+
})));
|
package/locale/en-ca.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : English (Canada) [en-ca]
|
|
3
|
+
//! author : Jonathan Abourbih : https://github.com/jonbca
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var enCa = moment.defineLocale('en-ca', {
|
|
15
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
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
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
|
23
|
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
|
24
|
+
longDateFormat: {
|
|
25
|
+
LT: 'h:mm A',
|
|
26
|
+
LTS: 'h:mm:ss A',
|
|
27
|
+
L: 'YYYY-MM-DD',
|
|
28
|
+
LL: 'MMMM D, YYYY',
|
|
29
|
+
LLL: 'MMMM D, YYYY h:mm A',
|
|
30
|
+
LLLL: 'dddd, MMMM D, YYYY h:mm A',
|
|
31
|
+
},
|
|
32
|
+
calendar: {
|
|
33
|
+
sameDay: '[Today at] LT',
|
|
34
|
+
nextDay: '[Tomorrow at] LT',
|
|
35
|
+
nextWeek: 'dddd [at] LT',
|
|
36
|
+
lastDay: '[Yesterday at] LT',
|
|
37
|
+
lastWeek: '[Last] dddd [at] LT',
|
|
38
|
+
sameElse: 'L',
|
|
39
|
+
},
|
|
40
|
+
relativeTime: {
|
|
41
|
+
future: 'in %s',
|
|
42
|
+
past: '%s ago',
|
|
43
|
+
s: 'a few seconds',
|
|
44
|
+
ss: '%d seconds',
|
|
45
|
+
m: 'a minute',
|
|
46
|
+
mm: '%d minutes',
|
|
47
|
+
h: 'an hour',
|
|
48
|
+
hh: '%d hours',
|
|
49
|
+
d: 'a day',
|
|
50
|
+
dd: '%d days',
|
|
51
|
+
M: 'a month',
|
|
52
|
+
MM: '%d months',
|
|
53
|
+
y: 'a year',
|
|
54
|
+
yy: '%d years',
|
|
55
|
+
},
|
|
56
|
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
|
57
|
+
ordinal: function (number) {
|
|
58
|
+
var b = number % 10,
|
|
59
|
+
output =
|
|
60
|
+
~~((number % 100) / 10) === 1
|
|
61
|
+
? 'th'
|
|
62
|
+
: b === 1
|
|
63
|
+
? 'st'
|
|
64
|
+
: b === 2
|
|
65
|
+
? 'nd'
|
|
66
|
+
: b === 3
|
|
67
|
+
? 'rd'
|
|
68
|
+
: 'th';
|
|
69
|
+
return number + output;
|
|
70
|
+
},
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
return enCa;
|
|
74
|
+
|
|
75
|
+
})));
|
package/locale/en-gb.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : English (United Kingdom) [en-gb]
|
|
3
|
+
//! author : Chris Gedrim : https://github.com/chrisgedrim
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var enGb = moment.defineLocale('en-gb', {
|
|
15
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
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
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
|
23
|
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
|
24
|
+
longDateFormat: {
|
|
25
|
+
LT: 'HH:mm',
|
|
26
|
+
LTS: 'HH:mm:ss',
|
|
27
|
+
L: 'DD/MM/YYYY',
|
|
28
|
+
LL: 'D MMMM YYYY',
|
|
29
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
30
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
|
31
|
+
},
|
|
32
|
+
calendar: {
|
|
33
|
+
sameDay: '[Today at] LT',
|
|
34
|
+
nextDay: '[Tomorrow at] LT',
|
|
35
|
+
nextWeek: 'dddd [at] LT',
|
|
36
|
+
lastDay: '[Yesterday at] LT',
|
|
37
|
+
lastWeek: '[Last] dddd [at] LT',
|
|
38
|
+
sameElse: 'L',
|
|
39
|
+
},
|
|
40
|
+
relativeTime: {
|
|
41
|
+
future: 'in %s',
|
|
42
|
+
past: '%s ago',
|
|
43
|
+
s: 'a few seconds',
|
|
44
|
+
ss: '%d seconds',
|
|
45
|
+
m: 'a minute',
|
|
46
|
+
mm: '%d minutes',
|
|
47
|
+
h: 'an hour',
|
|
48
|
+
hh: '%d hours',
|
|
49
|
+
d: 'a day',
|
|
50
|
+
dd: '%d days',
|
|
51
|
+
M: 'a month',
|
|
52
|
+
MM: '%d months',
|
|
53
|
+
y: 'a year',
|
|
54
|
+
yy: '%d years',
|
|
55
|
+
},
|
|
56
|
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
|
57
|
+
ordinal: function (number) {
|
|
58
|
+
var b = number % 10,
|
|
59
|
+
output =
|
|
60
|
+
~~((number % 100) / 10) === 1
|
|
61
|
+
? 'th'
|
|
62
|
+
: b === 1
|
|
63
|
+
? 'st'
|
|
64
|
+
: b === 2
|
|
65
|
+
? 'nd'
|
|
66
|
+
: b === 3
|
|
67
|
+
? 'rd'
|
|
68
|
+
: 'th';
|
|
69
|
+
return number + output;
|
|
70
|
+
},
|
|
71
|
+
week: {
|
|
72
|
+
dow: 1, // Monday is the first day of the week.
|
|
73
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
return enGb;
|
|
78
|
+
|
|
79
|
+
})));
|
package/locale/en-ie.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : English (Ireland) [en-ie]
|
|
3
|
+
//! author : Chris Cartlidge : https://github.com/chriscartlidge
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var enIe = moment.defineLocale('en-ie', {
|
|
15
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
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
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
|
23
|
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
|
24
|
+
longDateFormat: {
|
|
25
|
+
LT: 'HH:mm',
|
|
26
|
+
LTS: 'HH:mm:ss',
|
|
27
|
+
L: 'DD/MM/YYYY',
|
|
28
|
+
LL: 'D MMMM YYYY',
|
|
29
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
30
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
|
31
|
+
},
|
|
32
|
+
calendar: {
|
|
33
|
+
sameDay: '[Today at] LT',
|
|
34
|
+
nextDay: '[Tomorrow at] LT',
|
|
35
|
+
nextWeek: 'dddd [at] LT',
|
|
36
|
+
lastDay: '[Yesterday at] LT',
|
|
37
|
+
lastWeek: '[Last] dddd [at] LT',
|
|
38
|
+
sameElse: 'L',
|
|
39
|
+
},
|
|
40
|
+
relativeTime: {
|
|
41
|
+
future: 'in %s',
|
|
42
|
+
past: '%s ago',
|
|
43
|
+
s: 'a few seconds',
|
|
44
|
+
ss: '%d seconds',
|
|
45
|
+
m: 'a minute',
|
|
46
|
+
mm: '%d minutes',
|
|
47
|
+
h: 'an hour',
|
|
48
|
+
hh: '%d hours',
|
|
49
|
+
d: 'a day',
|
|
50
|
+
dd: '%d days',
|
|
51
|
+
M: 'a month',
|
|
52
|
+
MM: '%d months',
|
|
53
|
+
y: 'a year',
|
|
54
|
+
yy: '%d years',
|
|
55
|
+
},
|
|
56
|
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
|
57
|
+
ordinal: function (number) {
|
|
58
|
+
var b = number % 10,
|
|
59
|
+
output =
|
|
60
|
+
~~((number % 100) / 10) === 1
|
|
61
|
+
? 'th'
|
|
62
|
+
: b === 1
|
|
63
|
+
? 'st'
|
|
64
|
+
: b === 2
|
|
65
|
+
? 'nd'
|
|
66
|
+
: b === 3
|
|
67
|
+
? 'rd'
|
|
68
|
+
: 'th';
|
|
69
|
+
return number + output;
|
|
70
|
+
},
|
|
71
|
+
week: {
|
|
72
|
+
dow: 1, // Monday is the first day of the week.
|
|
73
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
return enIe;
|
|
78
|
+
|
|
79
|
+
})));
|
package/locale/en-il.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : English (Israel) [en-il]
|
|
3
|
+
//! author : Chris Gedrim : https://github.com/chrisgedrim
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var enIl = moment.defineLocale('en-il', {
|
|
15
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
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
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
|
23
|
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
|
24
|
+
longDateFormat: {
|
|
25
|
+
LT: 'HH:mm',
|
|
26
|
+
LTS: 'HH:mm:ss',
|
|
27
|
+
L: 'DD/MM/YYYY',
|
|
28
|
+
LL: 'D MMMM YYYY',
|
|
29
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
30
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
|
31
|
+
},
|
|
32
|
+
calendar: {
|
|
33
|
+
sameDay: '[Today at] LT',
|
|
34
|
+
nextDay: '[Tomorrow at] LT',
|
|
35
|
+
nextWeek: 'dddd [at] LT',
|
|
36
|
+
lastDay: '[Yesterday at] LT',
|
|
37
|
+
lastWeek: '[Last] dddd [at] LT',
|
|
38
|
+
sameElse: 'L',
|
|
39
|
+
},
|
|
40
|
+
relativeTime: {
|
|
41
|
+
future: 'in %s',
|
|
42
|
+
past: '%s ago',
|
|
43
|
+
s: 'a few seconds',
|
|
44
|
+
ss: '%d seconds',
|
|
45
|
+
m: 'a minute',
|
|
46
|
+
mm: '%d minutes',
|
|
47
|
+
h: 'an hour',
|
|
48
|
+
hh: '%d hours',
|
|
49
|
+
d: 'a day',
|
|
50
|
+
dd: '%d days',
|
|
51
|
+
M: 'a month',
|
|
52
|
+
MM: '%d months',
|
|
53
|
+
y: 'a year',
|
|
54
|
+
yy: '%d years',
|
|
55
|
+
},
|
|
56
|
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
|
57
|
+
ordinal: function (number) {
|
|
58
|
+
var b = number % 10,
|
|
59
|
+
output =
|
|
60
|
+
~~((number % 100) / 10) === 1
|
|
61
|
+
? 'th'
|
|
62
|
+
: b === 1
|
|
63
|
+
? 'st'
|
|
64
|
+
: b === 2
|
|
65
|
+
? 'nd'
|
|
66
|
+
: b === 3
|
|
67
|
+
? 'rd'
|
|
68
|
+
: 'th';
|
|
69
|
+
return number + output;
|
|
70
|
+
},
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
return enIl;
|
|
74
|
+
|
|
75
|
+
})));
|
package/locale/en-in.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : English (India) [en-in]
|
|
3
|
+
//! author : Jatin Agrawal : https://github.com/jatinag22
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var enIn = moment.defineLocale('en-in', {
|
|
15
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
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
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
|
23
|
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
|
24
|
+
longDateFormat: {
|
|
25
|
+
LT: 'h:mm A',
|
|
26
|
+
LTS: 'h:mm:ss A',
|
|
27
|
+
L: 'DD/MM/YYYY',
|
|
28
|
+
LL: 'D MMMM YYYY',
|
|
29
|
+
LLL: 'D MMMM YYYY h:mm A',
|
|
30
|
+
LLLL: 'dddd, D MMMM YYYY h:mm A',
|
|
31
|
+
},
|
|
32
|
+
calendar: {
|
|
33
|
+
sameDay: '[Today at] LT',
|
|
34
|
+
nextDay: '[Tomorrow at] LT',
|
|
35
|
+
nextWeek: 'dddd [at] LT',
|
|
36
|
+
lastDay: '[Yesterday at] LT',
|
|
37
|
+
lastWeek: '[Last] dddd [at] LT',
|
|
38
|
+
sameElse: 'L',
|
|
39
|
+
},
|
|
40
|
+
relativeTime: {
|
|
41
|
+
future: 'in %s',
|
|
42
|
+
past: '%s ago',
|
|
43
|
+
s: 'a few seconds',
|
|
44
|
+
ss: '%d seconds',
|
|
45
|
+
m: 'a minute',
|
|
46
|
+
mm: '%d minutes',
|
|
47
|
+
h: 'an hour',
|
|
48
|
+
hh: '%d hours',
|
|
49
|
+
d: 'a day',
|
|
50
|
+
dd: '%d days',
|
|
51
|
+
M: 'a month',
|
|
52
|
+
MM: '%d months',
|
|
53
|
+
y: 'a year',
|
|
54
|
+
yy: '%d years',
|
|
55
|
+
},
|
|
56
|
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
|
57
|
+
ordinal: function (number) {
|
|
58
|
+
var b = number % 10,
|
|
59
|
+
output =
|
|
60
|
+
~~((number % 100) / 10) === 1
|
|
61
|
+
? 'th'
|
|
62
|
+
: b === 1
|
|
63
|
+
? 'st'
|
|
64
|
+
: b === 2
|
|
65
|
+
? 'nd'
|
|
66
|
+
: b === 3
|
|
67
|
+
? 'rd'
|
|
68
|
+
: 'th';
|
|
69
|
+
return number + output;
|
|
70
|
+
},
|
|
71
|
+
week: {
|
|
72
|
+
dow: 0, // Sunday is the first day of the week.
|
|
73
|
+
doy: 6, // The week that contains Jan 1st is the first week of the year.
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
return enIn;
|
|
78
|
+
|
|
79
|
+
})));
|
package/locale/en-nz.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : English (New Zealand) [en-nz]
|
|
3
|
+
//! author : Luke McGregor : https://github.com/lukemcgregor
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var enNz = moment.defineLocale('en-nz', {
|
|
15
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
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
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
|
23
|
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
|
24
|
+
longDateFormat: {
|
|
25
|
+
LT: 'h:mm A',
|
|
26
|
+
LTS: 'h:mm:ss A',
|
|
27
|
+
L: 'DD/MM/YYYY',
|
|
28
|
+
LL: 'D MMMM YYYY',
|
|
29
|
+
LLL: 'D MMMM YYYY h:mm A',
|
|
30
|
+
LLLL: 'dddd, D MMMM YYYY h:mm A',
|
|
31
|
+
},
|
|
32
|
+
calendar: {
|
|
33
|
+
sameDay: '[Today at] LT',
|
|
34
|
+
nextDay: '[Tomorrow at] LT',
|
|
35
|
+
nextWeek: 'dddd [at] LT',
|
|
36
|
+
lastDay: '[Yesterday at] LT',
|
|
37
|
+
lastWeek: '[Last] dddd [at] LT',
|
|
38
|
+
sameElse: 'L',
|
|
39
|
+
},
|
|
40
|
+
relativeTime: {
|
|
41
|
+
future: 'in %s',
|
|
42
|
+
past: '%s ago',
|
|
43
|
+
s: 'a few seconds',
|
|
44
|
+
ss: '%d seconds',
|
|
45
|
+
m: 'a minute',
|
|
46
|
+
mm: '%d minutes',
|
|
47
|
+
h: 'an hour',
|
|
48
|
+
hh: '%d hours',
|
|
49
|
+
d: 'a day',
|
|
50
|
+
dd: '%d days',
|
|
51
|
+
M: 'a month',
|
|
52
|
+
MM: '%d months',
|
|
53
|
+
y: 'a year',
|
|
54
|
+
yy: '%d years',
|
|
55
|
+
},
|
|
56
|
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
|
57
|
+
ordinal: function (number) {
|
|
58
|
+
var b = number % 10,
|
|
59
|
+
output =
|
|
60
|
+
~~((number % 100) / 10) === 1
|
|
61
|
+
? 'th'
|
|
62
|
+
: b === 1
|
|
63
|
+
? 'st'
|
|
64
|
+
: b === 2
|
|
65
|
+
? 'nd'
|
|
66
|
+
: b === 3
|
|
67
|
+
? 'rd'
|
|
68
|
+
: 'th';
|
|
69
|
+
return number + output;
|
|
70
|
+
},
|
|
71
|
+
week: {
|
|
72
|
+
dow: 1, // Monday is the first day of the week.
|
|
73
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
return enNz;
|
|
78
|
+
|
|
79
|
+
})));
|