momentjs-rails 2.11.1 → 2.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/news.md +3 -0
- data/test/dummy/tmp/cache/assets/D1C/680/sprockets%2F16ed4d5afdb2919596e6f8790e2116c2 +0 -0
- data/test/dummy/tmp/cache/assets/D35/CA0/sprockets%2F493e64bce2d302801dc01cf7cd096a58 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/5F0/sprockets%2F4a6c53eae7c6e41a69a191578bbb6417 +0 -0
- data/test/dummy/tmp/cache/assets/D58/BD0/sprockets%2F4de9ddc9b725c715a54c98697b2528fe +0 -0
- data/test/dummy/tmp/cache/assets/D75/510/sprockets%2Fe690787ac522f47a6be024bfcc1767ee +0 -0
- data/test/dummy/tmp/cache/assets/E10/250/sprockets%2Fe4badb9ddfda484eb9671bf88567be61 +0 -0
- data/test/integration/navigation_test.rb +1 -1
- data/vendor/assets/javascripts/moment.js +1517 -889
- data/vendor/assets/javascripts/moment/af.js +3 -3
- data/vendor/assets/javascripts/moment/ar-ly.js +122 -0
- data/vendor/assets/javascripts/moment/ar-ma.js +3 -2
- data/vendor/assets/javascripts/moment/ar-sa.js +3 -2
- data/vendor/assets/javascripts/moment/ar-tn.js +4 -2
- data/vendor/assets/javascripts/moment/ar.js +6 -5
- data/vendor/assets/javascripts/moment/az.js +3 -2
- data/vendor/assets/javascripts/moment/be.js +21 -21
- data/vendor/assets/javascripts/moment/bg.js +11 -11
- data/vendor/assets/javascripts/moment/bn.js +18 -12
- data/vendor/assets/javascripts/moment/bo.js +13 -4
- data/vendor/assets/javascripts/moment/br.js +11 -10
- data/vendor/assets/javascripts/moment/bs.js +73 -71
- data/vendor/assets/javascripts/moment/ca.js +4 -2
- data/vendor/assets/javascripts/moment/cs.js +76 -75
- data/vendor/assets/javascripts/moment/cv.js +2 -2
- data/vendor/assets/javascripts/moment/cy.js +5 -3
- data/vendor/assets/javascripts/moment/da.js +2 -2
- data/vendor/assets/javascripts/moment/de-at.js +4 -2
- data/vendor/assets/javascripts/moment/de.js +4 -2
- data/vendor/assets/javascripts/moment/dv.js +3 -3
- data/vendor/assets/javascripts/moment/el.js +2 -2
- data/vendor/assets/javascripts/moment/en-au.js +3 -2
- data/vendor/assets/javascripts/moment/en-ca.js +5 -5
- data/vendor/assets/javascripts/moment/en-gb.js +2 -2
- data/vendor/assets/javascripts/moment/en-ie.js +2 -2
- data/vendor/assets/javascripts/moment/en-nz.js +3 -2
- data/vendor/assets/javascripts/moment/eo.js +2 -2
- data/vendor/assets/javascripts/moment/es-do.js +80 -0
- data/vendor/assets/javascripts/moment/es.js +4 -2
- data/vendor/assets/javascripts/moment/et.js +2 -2
- data/vendor/assets/javascripts/moment/eu.js +4 -2
- data/vendor/assets/javascripts/moment/fa.js +3 -2
- data/vendor/assets/javascripts/moment/fi.js +29 -29
- data/vendor/assets/javascripts/moment/fo.js +2 -2
- data/vendor/assets/javascripts/moment/fr-ca.js +4 -2
- data/vendor/assets/javascripts/moment/fr-ch.js +4 -2
- data/vendor/assets/javascripts/moment/fr.js +4 -2
- data/vendor/assets/javascripts/moment/fy.js +4 -2
- data/vendor/assets/javascripts/moment/gd.js +2 -2
- data/vendor/assets/javascripts/moment/gl.js +15 -13
- data/vendor/assets/javascripts/moment/he.js +19 -2
- data/vendor/assets/javascripts/moment/hi.js +3 -2
- data/vendor/assets/javascripts/moment/hr.js +73 -71
- data/vendor/assets/javascripts/moment/hu.js +24 -24
- data/vendor/assets/javascripts/moment/hy-am.js +12 -12
- data/vendor/assets/javascripts/moment/id.js +2 -2
- data/vendor/assets/javascripts/moment/is.js +52 -52
- data/vendor/assets/javascripts/moment/it.js +2 -2
- data/vendor/assets/javascripts/moment/ja.js +13 -2
- data/vendor/assets/javascripts/moment/jv.js +2 -2
- data/vendor/assets/javascripts/moment/ka.js +2 -2
- data/vendor/assets/javascripts/moment/kk.js +7 -7
- data/vendor/assets/javascripts/moment/km.js +4 -4
- data/vendor/assets/javascripts/moment/ko.js +8 -11
- data/vendor/assets/javascripts/moment/ky.js +88 -0
- data/vendor/assets/javascripts/moment/lb.js +6 -3
- data/vendor/assets/javascripts/moment/lo.js +3 -2
- data/vendor/assets/javascripts/moment/lt.js +5 -3
- data/vendor/assets/javascripts/moment/lv.js +5 -4
- data/vendor/assets/javascripts/moment/me.js +21 -19
- data/vendor/assets/javascripts/moment/mi.js +64 -0
- data/vendor/assets/javascripts/moment/mk.js +11 -11
- data/vendor/assets/javascripts/moment/ml.js +14 -4
- data/vendor/assets/javascripts/moment/mr.js +3 -2
- data/vendor/assets/javascripts/moment/ms-my.js +3 -2
- data/vendor/assets/javascripts/moment/ms.js +2 -2
- data/vendor/assets/javascripts/moment/my.js +4 -2
- data/vendor/assets/javascripts/moment/nb.js +5 -3
- data/vendor/assets/javascripts/moment/ne.js +4 -2
- data/vendor/assets/javascripts/moment/nl.js +18 -3
- data/vendor/assets/javascripts/moment/nn.js +3 -3
- data/vendor/assets/javascripts/moment/pa-in.js +124 -0
- data/vendor/assets/javascripts/moment/pl.js +22 -22
- data/vendor/assets/javascripts/moment/pt-br.js +4 -3
- data/vendor/assets/javascripts/moment/pt.js +3 -2
- data/vendor/assets/javascripts/moment/ro.js +3 -2
- data/vendor/assets/javascripts/moment/ru.js +59 -42
- data/vendor/assets/javascripts/moment/se.js +2 -2
- data/vendor/assets/javascripts/moment/si.js +7 -2
- data/vendor/assets/javascripts/moment/sk.js +74 -74
- data/vendor/assets/javascripts/moment/sl.js +92 -90
- data/vendor/assets/javascripts/moment/sq.js +5 -4
- data/vendor/assets/javascripts/moment/sr-cyrl.js +21 -19
- data/vendor/assets/javascripts/moment/sr.js +21 -19
- data/vendor/assets/javascripts/moment/ss.js +89 -0
- data/vendor/assets/javascripts/moment/sv.js +6 -4
- data/vendor/assets/javascripts/moment/sw.js +3 -2
- data/vendor/assets/javascripts/moment/ta.js +2 -2
- data/vendor/assets/javascripts/moment/te.js +3 -2
- data/vendor/assets/javascripts/moment/th.js +9 -7
- data/vendor/assets/javascripts/moment/tl-ph.js +3 -3
- data/vendor/assets/javascripts/moment/tlh.js +18 -17
- data/vendor/assets/javascripts/moment/tr.js +2 -2
- data/vendor/assets/javascripts/moment/tzl.js +8 -4
- data/vendor/assets/javascripts/moment/tzm-latn.js +2 -2
- data/vendor/assets/javascripts/moment/tzm.js +2 -2
- data/vendor/assets/javascripts/moment/uk.js +21 -21
- data/vendor/assets/javascripts/moment/uz.js +2 -2
- data/vendor/assets/javascripts/moment/vi.js +15 -2
- data/vendor/assets/javascripts/moment/x-pseudo.js +68 -0
- data/vendor/assets/javascripts/moment/zh-cn.js +14 -14
- data/vendor/assets/javascripts/moment/zh-hk.js +105 -0
- data/vendor/assets/javascripts/moment/zh-tw.js +29 -26
- metadata +10 -4
- data/test/dummy/log/test.log +0 -47
@@ -1,11 +1,12 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale : Welsh
|
3
|
-
//! author : Robert Allen
|
2
|
+
//! locale : Welsh [cy]
|
3
|
+
//! author : Robert Allen : https://github.com/robgallen
|
4
|
+
//! author : https://github.com/ryangreaves
|
4
5
|
|
5
6
|
;(function (global, factory) {
|
6
7
|
typeof exports === 'object' && typeof module !== 'undefined'
|
7
8
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
10
|
factory(global.moment)
|
10
11
|
}(this, function (moment) { 'use strict';
|
11
12
|
|
@@ -16,6 +17,7 @@
|
|
16
17
|
weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'),
|
17
18
|
weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
|
18
19
|
weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
|
20
|
+
weekdaysParseExact : true,
|
19
21
|
// time formats are the same as en-gb
|
20
22
|
longDateFormat: {
|
21
23
|
LT: 'HH:mm',
|
@@ -1,11 +1,11 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : Danish [da]
|
3
3
|
//! author : Ulrik Nielsen : https://github.com/mrbase
|
4
4
|
|
5
5
|
;(function (global, factory) {
|
6
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
10
|
}(this, function (moment) { 'use strict';
|
11
11
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : German (Austria) [de-at]
|
3
3
|
//! author : lluchs : https://github.com/lluchs
|
4
4
|
//! author: Menelion Elensúle: https://github.com/Oire
|
5
5
|
//! author : Martin Groller : https://github.com/MadMG
|
@@ -8,7 +8,7 @@
|
|
8
8
|
;(function (global, factory) {
|
9
9
|
typeof exports === 'object' && typeof module !== 'undefined'
|
10
10
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
11
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
11
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
12
12
|
factory(global.moment)
|
13
13
|
}(this, function (moment) { 'use strict';
|
14
14
|
|
@@ -30,9 +30,11 @@
|
|
30
30
|
var de_at = moment.defineLocale('de-at', {
|
31
31
|
months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
|
32
32
|
monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
|
33
|
+
monthsParseExact : true,
|
33
34
|
weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
|
34
35
|
weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
|
35
36
|
weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
|
37
|
+
weekdaysParseExact : true,
|
36
38
|
longDateFormat : {
|
37
39
|
LT: 'HH:mm',
|
38
40
|
LTS: 'HH:mm:ss',
|
@@ -1,5 +1,5 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : German [de]
|
3
3
|
//! author : lluchs : https://github.com/lluchs
|
4
4
|
//! author: Menelion Elensúle: https://github.com/Oire
|
5
5
|
//! author : Mikolaj Dadela : https://github.com/mik01aj
|
@@ -7,7 +7,7 @@
|
|
7
7
|
;(function (global, factory) {
|
8
8
|
typeof exports === 'object' && typeof module !== 'undefined'
|
9
9
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
10
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
10
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11
11
|
factory(global.moment)
|
12
12
|
}(this, function (moment) { 'use strict';
|
13
13
|
|
@@ -29,9 +29,11 @@
|
|
29
29
|
var de = moment.defineLocale('de', {
|
30
30
|
months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
|
31
31
|
monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
|
32
|
+
monthsParseExact : true,
|
32
33
|
weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
|
33
34
|
weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
|
34
35
|
weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
|
36
|
+
weekdaysParseExact : true,
|
35
37
|
longDateFormat : {
|
36
38
|
LT: 'HH:mm',
|
37
39
|
LTS: 'HH:mm:ss',
|
@@ -1,11 +1,11 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : Maldivian [dv]
|
3
3
|
//! author : Jawish Hameed : https://github.com/jawish
|
4
4
|
|
5
5
|
;(function (global, factory) {
|
6
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
10
|
}(this, function (moment) { 'use strict';
|
11
11
|
|
@@ -50,7 +50,7 @@
|
|
50
50
|
},
|
51
51
|
meridiemParse: /މކ|މފ/,
|
52
52
|
isPM : function (input) {
|
53
|
-
return '' === input;
|
53
|
+
return 'މފ' === input;
|
54
54
|
},
|
55
55
|
meridiem : function (hour, minute, isLower) {
|
56
56
|
if (hour < 12) {
|
@@ -1,11 +1,11 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : Greek [el]
|
3
3
|
//! author : Aggelos Karalias : https://github.com/mehiel
|
4
4
|
|
5
5
|
;(function (global, factory) {
|
6
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
10
|
}(this, function (moment) { 'use strict';
|
11
11
|
|
@@ -1,10 +1,11 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : English (Australia) [en-au]
|
3
|
+
//! author : Jared Morse : https://github.com/jarcoal
|
3
4
|
|
4
5
|
;(function (global, factory) {
|
5
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
6
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
7
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
8
9
|
factory(global.moment)
|
9
10
|
}(this, function (moment) { 'use strict';
|
10
11
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : English (Canada) [en-ca]
|
3
3
|
//! author : Jonathan Abourbih : https://github.com/jonbca
|
4
4
|
|
5
5
|
;(function (global, factory) {
|
6
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
10
|
}(this, function (moment) { 'use strict';
|
11
11
|
|
@@ -20,9 +20,9 @@
|
|
20
20
|
LT : 'h:mm A',
|
21
21
|
LTS : 'h:mm:ss A',
|
22
22
|
L : 'YYYY-MM-DD',
|
23
|
-
LL : 'D
|
24
|
-
LLL : 'D
|
25
|
-
LLLL : 'dddd, D
|
23
|
+
LL : 'MMMM D, YYYY',
|
24
|
+
LLL : 'MMMM D, YYYY h:mm A',
|
25
|
+
LLLL : 'dddd, MMMM D, YYYY h:mm A'
|
26
26
|
},
|
27
27
|
calendar : {
|
28
28
|
sameDay : '[Today at] LT',
|
@@ -1,11 +1,11 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : English (United Kingdom) [en-gb]
|
3
3
|
//! author : Chris Gedrim : https://github.com/chrisgedrim
|
4
4
|
|
5
5
|
;(function (global, factory) {
|
6
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
10
|
}(this, function (moment) { 'use strict';
|
11
11
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : English (Ireland) [en-ie]
|
3
3
|
//! author : Chris Cartlidge : https://github.com/chriscartlidge
|
4
4
|
|
5
5
|
;(function (global, factory) {
|
6
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
10
|
}(this, function (moment) { 'use strict';
|
11
11
|
|
@@ -1,10 +1,11 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale : New Zealand
|
2
|
+
//! locale : English (New Zealand) [en-nz]
|
3
|
+
//! author : Luke McGregor : https://github.com/lukemcgregor
|
3
4
|
|
4
5
|
;(function (global, factory) {
|
5
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
6
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
7
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
8
9
|
factory(global.moment)
|
9
10
|
}(this, function (moment) { 'use strict';
|
10
11
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : Esperanto [eo]
|
3
3
|
//! author : Colin Dean : https://github.com/colindean
|
4
4
|
//! komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko.
|
5
5
|
//! Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni!
|
@@ -7,7 +7,7 @@
|
|
7
7
|
;(function (global, factory) {
|
8
8
|
typeof exports === 'object' && typeof module !== 'undefined'
|
9
9
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
10
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
10
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11
11
|
factory(global.moment)
|
12
12
|
}(this, function (moment) { 'use strict';
|
13
13
|
|
@@ -0,0 +1,80 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Spanish (Dominican Republic) [es-do]
|
3
|
+
|
4
|
+
;(function (global, factory) {
|
5
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
6
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
11
|
+
|
12
|
+
var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
|
13
|
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
|
14
|
+
|
15
|
+
var es_do = moment.defineLocale('es-do', {
|
16
|
+
months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
|
17
|
+
monthsShort : function (m, format) {
|
18
|
+
if (/-MMM-/.test(format)) {
|
19
|
+
return monthsShort[m.month()];
|
20
|
+
} else {
|
21
|
+
return monthsShortDot[m.month()];
|
22
|
+
}
|
23
|
+
},
|
24
|
+
monthsParseExact : true,
|
25
|
+
weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
26
|
+
weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
27
|
+
weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
28
|
+
weekdaysParseExact : true,
|
29
|
+
longDateFormat : {
|
30
|
+
LT : 'h:mm A',
|
31
|
+
LTS : 'h:mm:ss A',
|
32
|
+
L : 'DD/MM/YYYY',
|
33
|
+
LL : 'D [de] MMMM [de] YYYY',
|
34
|
+
LLL : 'D [de] MMMM [de] YYYY h:mm A',
|
35
|
+
LLLL : 'dddd, D [de] MMMM [de] YYYY h:mm A'
|
36
|
+
},
|
37
|
+
calendar : {
|
38
|
+
sameDay : function () {
|
39
|
+
return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
40
|
+
},
|
41
|
+
nextDay : function () {
|
42
|
+
return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
43
|
+
},
|
44
|
+
nextWeek : function () {
|
45
|
+
return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
46
|
+
},
|
47
|
+
lastDay : function () {
|
48
|
+
return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
49
|
+
},
|
50
|
+
lastWeek : function () {
|
51
|
+
return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
52
|
+
},
|
53
|
+
sameElse : 'L'
|
54
|
+
},
|
55
|
+
relativeTime : {
|
56
|
+
future : 'en %s',
|
57
|
+
past : 'hace %s',
|
58
|
+
s : 'unos segundos',
|
59
|
+
m : 'un minuto',
|
60
|
+
mm : '%d minutos',
|
61
|
+
h : 'una hora',
|
62
|
+
hh : '%d horas',
|
63
|
+
d : 'un día',
|
64
|
+
dd : '%d días',
|
65
|
+
M : 'un mes',
|
66
|
+
MM : '%d meses',
|
67
|
+
y : 'un año',
|
68
|
+
yy : '%d años'
|
69
|
+
},
|
70
|
+
ordinalParse : /\d{1,2}º/,
|
71
|
+
ordinal : '%dº',
|
72
|
+
week : {
|
73
|
+
dow : 1, // Monday is the first day of the week.
|
74
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
75
|
+
}
|
76
|
+
});
|
77
|
+
|
78
|
+
return es_do;
|
79
|
+
|
80
|
+
}));
|
@@ -1,11 +1,11 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : Spanish [es]
|
3
3
|
//! author : Julio Napurí : https://github.com/julionc
|
4
4
|
|
5
5
|
;(function (global, factory) {
|
6
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
10
|
}(this, function (moment) { 'use strict';
|
11
11
|
|
@@ -22,9 +22,11 @@
|
|
22
22
|
return monthsShortDot[m.month()];
|
23
23
|
}
|
24
24
|
},
|
25
|
+
monthsParseExact : true,
|
25
26
|
weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
26
27
|
weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
27
28
|
weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
29
|
+
weekdaysParseExact : true,
|
28
30
|
longDateFormat : {
|
29
31
|
LT : 'H:mm',
|
30
32
|
LTS : 'H:mm:ss',
|
@@ -1,12 +1,12 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : Estonian [et]
|
3
3
|
//! author : Henry Kehlmann : https://github.com/madhenry
|
4
4
|
//! improvements : Illimar Tambek : https://github.com/ragulka
|
5
5
|
|
6
6
|
;(function (global, factory) {
|
7
7
|
typeof exports === 'object' && typeof module !== 'undefined'
|
8
8
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
9
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10
10
|
factory(global.moment)
|
11
11
|
}(this, function (moment) { 'use strict';
|
12
12
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : Basque [eu]
|
3
3
|
//! author : Eneko Illarramendi : https://github.com/eillarra
|
4
4
|
|
5
5
|
;(function (global, factory) {
|
6
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
10
|
}(this, function (moment) { 'use strict';
|
11
11
|
|
@@ -13,9 +13,11 @@
|
|
13
13
|
var eu = moment.defineLocale('eu', {
|
14
14
|
months : 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'),
|
15
15
|
monthsShort : 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'),
|
16
|
+
monthsParseExact : true,
|
16
17
|
weekdays : 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'),
|
17
18
|
weekdaysShort : 'ig._al._ar._az._og._ol._lr.'.split('_'),
|
18
19
|
weekdaysMin : 'ig_al_ar_az_og_ol_lr'.split('_'),
|
20
|
+
weekdaysParseExact : true,
|
19
21
|
longDateFormat : {
|
20
22
|
LT : 'HH:mm',
|
21
23
|
LTS : 'HH:mm:ss',
|
@@ -1,11 +1,11 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale : Persian
|
2
|
+
//! locale : Persian [fa]
|
3
3
|
//! author : Ebrahim Byagowi : https://github.com/ebraminio
|
4
4
|
|
5
5
|
;(function (global, factory) {
|
6
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
10
|
}(this, function (moment) { 'use strict';
|
11
11
|
|
@@ -40,6 +40,7 @@
|
|
40
40
|
weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
|
41
41
|
weekdaysShort : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
|
42
42
|
weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'),
|
43
|
+
weekdaysParseExact : true,
|
43
44
|
longDateFormat : {
|
44
45
|
LT : 'HH:mm',
|
45
46
|
LTS : 'HH:mm:ss',
|
@@ -1,11 +1,11 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
|
-
//! locale :
|
2
|
+
//! locale : Finnish [fi]
|
3
3
|
//! author : Tarmo Aidantausta : https://github.com/bleadof
|
4
4
|
|
5
5
|
;(function (global, factory) {
|
6
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
10
|
}(this, function (moment) { 'use strict';
|
11
11
|
|
@@ -18,33 +18,33 @@
|
|
18
18
|
function translate(number, withoutSuffix, key, isFuture) {
|
19
19
|
var result = '';
|
20
20
|
switch (key) {
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
21
|
+
case 's':
|
22
|
+
return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
|
23
|
+
case 'm':
|
24
|
+
return isFuture ? 'minuutin' : 'minuutti';
|
25
|
+
case 'mm':
|
26
|
+
result = isFuture ? 'minuutin' : 'minuuttia';
|
27
|
+
break;
|
28
|
+
case 'h':
|
29
|
+
return isFuture ? 'tunnin' : 'tunti';
|
30
|
+
case 'hh':
|
31
|
+
result = isFuture ? 'tunnin' : 'tuntia';
|
32
|
+
break;
|
33
|
+
case 'd':
|
34
|
+
return isFuture ? 'päivän' : 'päivä';
|
35
|
+
case 'dd':
|
36
|
+
result = isFuture ? 'päivän' : 'päivää';
|
37
|
+
break;
|
38
|
+
case 'M':
|
39
|
+
return isFuture ? 'kuukauden' : 'kuukausi';
|
40
|
+
case 'MM':
|
41
|
+
result = isFuture ? 'kuukauden' : 'kuukautta';
|
42
|
+
break;
|
43
|
+
case 'y':
|
44
|
+
return isFuture ? 'vuoden' : 'vuosi';
|
45
|
+
case 'yy':
|
46
|
+
result = isFuture ? 'vuoden' : 'vuotta';
|
47
|
+
break;
|
48
48
|
}
|
49
49
|
result = verbalNumber(number, isFuture) + ' ' + result;
|
50
50
|
return result;
|