momentjs-rails 2.9.0 → 2.10.2
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 -2
- data/news.md +3 -0
- data/test/dummy/log/test.log +20 -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 +2475 -2435
- data/vendor/assets/javascripts/moment/af.js +15 -14
- data/vendor/assets/javascripts/moment/ar-ma.js +16 -15
- data/vendor/assets/javascripts/moment/ar-sa.js +15 -14
- data/vendor/assets/javascripts/moment/ar-tn.js +14 -13
- data/vendor/assets/javascripts/moment/ar.js +17 -16
- data/vendor/assets/javascripts/moment/az.js +16 -20
- data/vendor/assets/javascripts/moment/be.js +17 -25
- data/vendor/assets/javascripts/moment/bg.js +15 -14
- data/vendor/assets/javascripts/moment/bn.js +15 -14
- data/vendor/assets/javascripts/moment/bo.js +15 -14
- data/vendor/assets/javascripts/moment/br.js +15 -18
- data/vendor/assets/javascripts/moment/bs.js +16 -16
- data/vendor/assets/javascripts/moment/ca.js +15 -14
- data/vendor/assets/javascripts/moment/cs.js +15 -16
- data/vendor/assets/javascripts/moment/cv.js +15 -14
- data/vendor/assets/javascripts/moment/cy.js +15 -16
- data/vendor/assets/javascripts/moment/da.js +15 -14
- data/vendor/assets/javascripts/moment/de-at.js +17 -16
- data/vendor/assets/javascripts/moment/de.js +16 -15
- data/vendor/assets/javascripts/moment/el.js +15 -16
- data/vendor/assets/javascripts/moment/en-au.js +14 -13
- data/vendor/assets/javascripts/moment/en-ca.js +15 -14
- data/vendor/assets/javascripts/moment/en-gb.js +15 -14
- data/vendor/assets/javascripts/moment/eo.js +17 -16
- data/vendor/assets/javascripts/moment/es.js +15 -14
- data/vendor/assets/javascripts/moment/et.js +16 -15
- data/vendor/assets/javascripts/moment/eu.js +15 -14
- data/vendor/assets/javascripts/moment/fa.js +15 -14
- data/vendor/assets/javascripts/moment/fi.js +15 -16
- data/vendor/assets/javascripts/moment/fo.js +15 -14
- data/vendor/assets/javascripts/moment/fr-ca.js +15 -14
- data/vendor/assets/javascripts/moment/fr.js +15 -14
- data/vendor/assets/javascripts/moment/fy.js +15 -14
- data/vendor/assets/javascripts/moment/gl.js +15 -14
- data/vendor/assets/javascripts/moment/he.js +17 -16
- data/vendor/assets/javascripts/moment/hi.js +15 -14
- data/vendor/assets/javascripts/moment/hr.js +14 -16
- data/vendor/assets/javascripts/moment/hu.js +15 -18
- data/vendor/assets/javascripts/moment/hy-am.js +15 -23
- data/vendor/assets/javascripts/moment/id.js +16 -15
- data/vendor/assets/javascripts/moment/is.js +15 -15
- data/vendor/assets/javascripts/moment/it.js +16 -15
- data/vendor/assets/javascripts/moment/ja.js +15 -14
- data/vendor/assets/javascripts/moment/ka.js +15 -22
- data/vendor/assets/javascripts/moment/km.js +15 -14
- data/vendor/assets/javascripts/moment/ko.js +20 -18
- data/vendor/assets/javascripts/moment/lb.js +14 -20
- data/vendor/assets/javascripts/moment/lt.js +15 -21
- data/vendor/assets/javascripts/moment/lv.js +15 -16
- data/vendor/assets/javascripts/moment/mk.js +15 -14
- data/vendor/assets/javascripts/moment/ml.js +15 -14
- data/vendor/assets/javascripts/moment/mr.js +16 -16
- data/vendor/assets/javascripts/moment/ms-my.js +15 -14
- data/vendor/assets/javascripts/moment/my.js +16 -14
- data/vendor/assets/javascripts/moment/nb.js +16 -15
- data/vendor/assets/javascripts/moment/ne.js +15 -14
- data/vendor/assets/javascripts/moment/nl.js +15 -14
- data/vendor/assets/javascripts/moment/nn.js +15 -14
- data/vendor/assets/javascripts/moment/pl.js +15 -16
- data/vendor/assets/javascripts/moment/pt-br.js +15 -14
- data/vendor/assets/javascripts/moment/pt.js +15 -14
- data/vendor/assets/javascripts/moment/ro.js +16 -16
- data/vendor/assets/javascripts/moment/ru.js +16 -29
- data/vendor/assets/javascripts/moment/sk.js +16 -17
- data/vendor/assets/javascripts/moment/sl.js +15 -15
- data/vendor/assets/javascripts/moment/sq.js +17 -16
- data/vendor/assets/javascripts/moment/sr-cyrl.js +15 -15
- data/vendor/assets/javascripts/moment/sr.js +15 -15
- data/vendor/assets/javascripts/moment/sv.js +15 -14
- data/vendor/assets/javascripts/moment/ta.js +14 -50
- data/vendor/assets/javascripts/moment/th.js +15 -14
- data/vendor/assets/javascripts/moment/tl-ph.js +15 -14
- data/vendor/assets/javascripts/moment/tr.js +16 -21
- data/vendor/assets/javascripts/moment/tzm-latn.js +15 -14
- data/vendor/assets/javascripts/moment/tzm.js +15 -14
- data/vendor/assets/javascripts/moment/uk.js +16 -27
- data/vendor/assets/javascripts/moment/uz.js +15 -14
- data/vendor/assets/javascripts/moment/vi.js +15 -14
- data/vendor/assets/javascripts/moment/zh-cn.js +16 -15
- data/vendor/assets/javascripts/moment/zh-tw.js +15 -14
- metadata +2 -2
@@ -1,17 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : modern greek (el)
|
3
|
+
//! author : Aggelos Karalias : https://github.com/mehiel
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.defineLocale('el', {
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? 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 el = moment.defineLocale('el', {
|
15
13
|
monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
|
16
14
|
monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'),
|
17
15
|
months : function (momentToFormat, format) {
|
@@ -62,11 +60,9 @@
|
|
62
60
|
calendar : function (key, mom) {
|
63
61
|
var output = this._calendarEl[key],
|
64
62
|
hours = mom && mom.hours();
|
65
|
-
|
66
63
|
if (typeof output === 'function') {
|
67
64
|
output = output.apply(mom);
|
68
65
|
}
|
69
|
-
|
70
66
|
return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις'));
|
71
67
|
},
|
72
68
|
relativeTime : {
|
@@ -91,4 +87,7 @@
|
|
91
87
|
doy : 4 // The week that contains Jan 4st is the first week of the year.
|
92
88
|
}
|
93
89
|
});
|
94
|
-
|
90
|
+
|
91
|
+
return el;
|
92
|
+
|
93
|
+
}));
|
@@ -1,16 +1,14 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : australian english (en-au)
|
3
3
|
|
4
|
-
(function (factory) {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
}(function (moment) {
|
13
|
-
return moment.defineLocale('en-au', {
|
4
|
+
(function (global, factory) {
|
5
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? 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 en_au = moment.defineLocale('en-au', {
|
14
12
|
months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
15
13
|
monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
16
14
|
weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
@@ -61,4 +59,7 @@
|
|
61
59
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
62
60
|
}
|
63
61
|
});
|
64
|
-
|
62
|
+
|
63
|
+
return en_au;
|
64
|
+
|
65
|
+
}));
|
@@ -1,17 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : canadian english (en-ca)
|
3
|
+
//! author : Jonathan Abourbih : https://github.com/jonbca
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.defineLocale('en-ca', {
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? 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 en_ca = moment.defineLocale('en-ca', {
|
15
13
|
months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
16
14
|
monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
17
15
|
weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
@@ -58,4 +56,7 @@
|
|
58
56
|
return number + output;
|
59
57
|
}
|
60
58
|
});
|
61
|
-
|
59
|
+
|
60
|
+
return en_ca;
|
61
|
+
|
62
|
+
}));
|
@@ -1,17 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : great britain english (en-gb)
|
3
|
+
//! author : Chris Gedrim : https://github.com/chrisgedrim
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.defineLocale('en-gb', {
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? 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 en_gb = moment.defineLocale('en-gb', {
|
15
13
|
months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
16
14
|
monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
17
15
|
weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
@@ -62,4 +60,7 @@
|
|
62
60
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
63
61
|
}
|
64
62
|
});
|
65
|
-
|
63
|
+
|
64
|
+
return en_gb;
|
65
|
+
|
66
|
+
}));
|
@@ -1,19 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : esperanto (eo)
|
3
|
+
//! author : Colin Dean : https://github.com/colindean
|
4
|
+
//! komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko.
|
5
|
+
//! Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni!
|
6
6
|
|
7
|
-
(function (factory) {
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
}(function (moment) {
|
16
|
-
return moment.defineLocale('eo', {
|
7
|
+
(function (global, factory) {
|
8
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
9
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
10
|
+
factory(global.moment)
|
11
|
+
}(this, function (moment) { 'use strict';
|
12
|
+
|
13
|
+
|
14
|
+
var eo = moment.defineLocale('eo', {
|
17
15
|
months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'),
|
18
16
|
monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'),
|
19
17
|
weekdays : 'Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato'.split('_'),
|
@@ -68,4 +66,7 @@
|
|
68
66
|
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
69
67
|
}
|
70
68
|
});
|
71
|
-
|
69
|
+
|
70
|
+
return eo;
|
71
|
+
|
72
|
+
}));
|
@@ -1,20 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : spanish (es)
|
3
|
+
//! author : Julio Napurí : https://github.com/julionc
|
4
|
+
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
4
11
|
|
5
|
-
(function (factory) {
|
6
|
-
if (typeof define === 'function' && define.amd) {
|
7
|
-
define(['moment'], factory); // AMD
|
8
|
-
} else if (typeof exports === 'object') {
|
9
|
-
module.exports = factory(require('../moment')); // Node
|
10
|
-
} else {
|
11
|
-
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
12
|
var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
|
15
13
|
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
|
16
14
|
|
17
|
-
|
15
|
+
var es = moment.defineLocale('es', {
|
18
16
|
months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
|
19
17
|
monthsShort : function (m, format) {
|
20
18
|
if (/-MMM-/.test(format)) {
|
@@ -74,4 +72,7 @@
|
|
74
72
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
75
73
|
}
|
76
74
|
});
|
77
|
-
|
75
|
+
|
76
|
+
return es;
|
77
|
+
|
78
|
+
}));
|
@@ -1,17 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : estonian (et)
|
3
|
+
//! author : Henry Kehlmann : https://github.com/madhenry
|
4
|
+
//! improvements : Illimar Tambek : https://github.com/ragulka
|
5
|
+
|
6
|
+
(function (global, factory) {
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
9
|
+
factory(global.moment)
|
10
|
+
}(this, function (moment) { 'use strict';
|
11
|
+
|
5
12
|
|
6
|
-
(function (factory) {
|
7
|
-
if (typeof define === 'function' && define.amd) {
|
8
|
-
define(['moment'], factory); // AMD
|
9
|
-
} else if (typeof exports === 'object') {
|
10
|
-
module.exports = factory(require('../moment')); // Node
|
11
|
-
} else {
|
12
|
-
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
13
|
-
}
|
14
|
-
}(function (moment) {
|
15
13
|
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
16
14
|
var format = {
|
17
15
|
's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
|
@@ -31,7 +29,7 @@
|
|
31
29
|
return isFuture ? format[key][0] : format[key][1];
|
32
30
|
}
|
33
31
|
|
34
|
-
|
32
|
+
var et = moment.defineLocale('et', {
|
35
33
|
months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'),
|
36
34
|
monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
|
37
35
|
weekdays : 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'),
|
@@ -75,4 +73,7 @@
|
|
75
73
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
76
74
|
}
|
77
75
|
});
|
78
|
-
|
76
|
+
|
77
|
+
return et;
|
78
|
+
|
79
|
+
}));
|
@@ -1,17 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : euskara (eu)
|
3
|
+
//! author : Eneko Illarramendi : https://github.com/eillarra
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.defineLocale('eu', {
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? 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 eu = moment.defineLocale('eu', {
|
15
13
|
months : 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'),
|
16
14
|
monthsShort : 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'),
|
17
15
|
weekdays : 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'),
|
@@ -59,4 +57,7 @@
|
|
59
57
|
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
60
58
|
}
|
61
59
|
});
|
62
|
-
|
60
|
+
|
61
|
+
return eu;
|
62
|
+
|
63
|
+
}));
|
@@ -1,16 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Persian (fa)
|
3
|
+
//! author : Ebrahim Byagowi : https://github.com/ebraminio
|
4
|
+
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
4
11
|
|
5
|
-
(function (factory) {
|
6
|
-
if (typeof define === 'function' && define.amd) {
|
7
|
-
define(['moment'], factory); // AMD
|
8
|
-
} else if (typeof exports === 'object') {
|
9
|
-
module.exports = factory(require('../moment')); // Node
|
10
|
-
} else {
|
11
|
-
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
12
|
var symbolMap = {
|
15
13
|
'1': '۱',
|
16
14
|
'2': '۲',
|
@@ -35,7 +33,7 @@
|
|
35
33
|
'۰': '0'
|
36
34
|
};
|
37
35
|
|
38
|
-
|
36
|
+
var fa = moment.defineLocale('fa', {
|
39
37
|
months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
|
40
38
|
monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
|
41
39
|
weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
|
@@ -100,4 +98,7 @@
|
|
100
98
|
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
101
99
|
}
|
102
100
|
});
|
103
|
-
|
101
|
+
|
102
|
+
return fa;
|
103
|
+
|
104
|
+
}));
|
@@ -1,22 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : finnish (fi)
|
3
|
+
//! author : Tarmo Aidantausta : https://github.com/bleadof
|
4
|
+
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
7
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8
|
+
factory(global.moment)
|
9
|
+
}(this, function (moment) { 'use strict';
|
10
|
+
|
4
11
|
|
5
|
-
(function (factory) {
|
6
|
-
if (typeof define === 'function' && define.amd) {
|
7
|
-
define(['moment'], factory); // AMD
|
8
|
-
} else if (typeof exports === 'object') {
|
9
|
-
module.exports = factory(require('../moment')); // Node
|
10
|
-
} else {
|
11
|
-
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
12
|
var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '),
|
15
13
|
numbersFuture = [
|
16
14
|
'nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden',
|
17
15
|
numbersPast[7], numbersPast[8], numbersPast[9]
|
18
16
|
];
|
19
|
-
|
20
17
|
function translate(number, withoutSuffix, key, isFuture) {
|
21
18
|
var result = '';
|
22
19
|
switch (key) {
|
@@ -51,12 +48,11 @@
|
|
51
48
|
result = verbalNumber(number, isFuture) + ' ' + result;
|
52
49
|
return result;
|
53
50
|
}
|
54
|
-
|
55
51
|
function verbalNumber(number, isFuture) {
|
56
52
|
return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number;
|
57
53
|
}
|
58
54
|
|
59
|
-
|
55
|
+
var fi = moment.defineLocale('fi', {
|
60
56
|
months : 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'),
|
61
57
|
monthsShort : 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'),
|
62
58
|
weekdays : 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'),
|
@@ -104,4 +100,7 @@
|
|
104
100
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
105
101
|
}
|
106
102
|
});
|
107
|
-
|
103
|
+
|
104
|
+
return fi;
|
105
|
+
|
106
|
+
}));
|
@@ -1,17 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : faroese (fo)
|
3
|
+
//! author : Ragnar Johannesen : https://github.com/ragnar123
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.defineLocale('fo', {
|
5
|
+
(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? 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 fo = moment.defineLocale('fo', {
|
15
13
|
months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
|
16
14
|
monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
|
17
15
|
weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),
|
@@ -55,4 +53,7 @@
|
|
55
53
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
56
54
|
}
|
57
55
|
});
|
58
|
-
|
56
|
+
|
57
|
+
return fo;
|
58
|
+
|
59
|
+
}));
|