momentjs-rails 2.7.0 → 2.8.0
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/integration/navigation_test.rb +1 -1
- data/vendor/assets/javascripts/moment.js +560 -367
- data/vendor/assets/javascripts/moment/af.js +65 -0
- data/vendor/assets/javascripts/moment/ar-ma.js +3 -3
- data/vendor/assets/javascripts/moment/ar-sa.js +3 -3
- data/vendor/assets/javascripts/moment/ar.js +3 -3
- data/vendor/assets/javascripts/moment/az.js +3 -4
- data/vendor/assets/javascripts/moment/be.js +150 -0
- data/vendor/assets/javascripts/moment/bg.js +3 -3
- data/vendor/assets/javascripts/moment/bn.js +4 -4
- data/vendor/assets/javascripts/moment/bo.js +103 -0
- data/vendor/assets/javascripts/moment/br.js +3 -3
- data/vendor/assets/javascripts/moment/bs.js +5 -6
- data/vendor/assets/javascripts/moment/ca.js +3 -3
- data/vendor/assets/javascripts/moment/cs.js +3 -3
- data/vendor/assets/javascripts/moment/cv.js +3 -3
- data/vendor/assets/javascripts/moment/cy.js +3 -3
- data/vendor/assets/javascripts/moment/da.js +3 -3
- data/vendor/assets/javascripts/moment/de-at.js +3 -3
- data/vendor/assets/javascripts/moment/de.js +3 -3
- data/vendor/assets/javascripts/moment/el.js +4 -4
- data/vendor/assets/javascripts/moment/en-au.js +4 -4
- data/vendor/assets/javascripts/moment/en-ca.js +4 -4
- data/vendor/assets/javascripts/moment/en-gb.js +4 -4
- data/vendor/assets/javascripts/moment/eo.js +3 -3
- data/vendor/assets/javascripts/moment/es.js +3 -3
- data/vendor/assets/javascripts/moment/et.js +3 -3
- data/vendor/assets/javascripts/moment/eu.js +3 -3
- data/vendor/assets/javascripts/moment/fa.js +3 -3
- data/vendor/assets/javascripts/moment/fi.js +7 -5
- data/vendor/assets/javascripts/moment/fo.js +3 -3
- data/vendor/assets/javascripts/moment/fr-ca.js +3 -3
- data/vendor/assets/javascripts/moment/fr.js +3 -3
- data/vendor/assets/javascripts/moment/gl.js +3 -3
- data/vendor/assets/javascripts/moment/he.js +3 -3
- data/vendor/assets/javascripts/moment/hi.js +3 -3
- data/vendor/assets/javascripts/moment/hr.js +3 -4
- data/vendor/assets/javascripts/moment/hu.js +3 -3
- data/vendor/assets/javascripts/moment/hy-am.js +3 -4
- data/vendor/assets/javascripts/moment/id.js +3 -3
- data/vendor/assets/javascripts/moment/is.js +3 -3
- data/vendor/assets/javascripts/moment/it.js +3 -3
- data/vendor/assets/javascripts/moment/ja.js +3 -3
- data/vendor/assets/javascripts/moment/ka.js +3 -4
- data/vendor/assets/javascripts/moment/km.js +3 -3
- data/vendor/assets/javascripts/moment/ko.js +4 -4
- data/vendor/assets/javascripts/moment/lb.js +29 -52
- data/vendor/assets/javascripts/moment/lt.js +4 -4
- data/vendor/assets/javascripts/moment/lv.js +3 -3
- data/vendor/assets/javascripts/moment/mk.js +3 -3
- data/vendor/assets/javascripts/moment/ml.js +3 -3
- data/vendor/assets/javascripts/moment/mr.js +3 -3
- data/vendor/assets/javascripts/moment/ms-my.js +3 -3
- data/vendor/assets/javascripts/moment/my.js +88 -0
- data/vendor/assets/javascripts/moment/nb.js +3 -3
- data/vendor/assets/javascripts/moment/ne.js +3 -3
- data/vendor/assets/javascripts/moment/nl.js +3 -3
- data/vendor/assets/javascripts/moment/nn.js +3 -3
- data/vendor/assets/javascripts/moment/pl.js +3 -3
- data/vendor/assets/javascripts/moment/pt-br.js +3 -3
- data/vendor/assets/javascripts/moment/pt.js +3 -3
- data/vendor/assets/javascripts/moment/ro.js +9 -9
- data/vendor/assets/javascripts/moment/ru.js +3 -3
- data/vendor/assets/javascripts/moment/sk.js +3 -3
- data/vendor/assets/javascripts/moment/sl.js +3 -3
- data/vendor/assets/javascripts/moment/sq.js +3 -3
- data/vendor/assets/javascripts/moment/sr-cyrl.js +3 -4
- data/vendor/assets/javascripts/moment/sr.js +3 -4
- data/vendor/assets/javascripts/moment/sv.js +4 -4
- data/vendor/assets/javascripts/moment/ta.js +9 -9
- data/vendor/assets/javascripts/moment/th.js +3 -3
- data/vendor/assets/javascripts/moment/tl-ph.js +3 -3
- data/vendor/assets/javascripts/moment/tr.js +3 -4
- data/vendor/assets/javascripts/moment/tzm-latn.js +3 -3
- data/vendor/assets/javascripts/moment/tzm.js +3 -3
- data/vendor/assets/javascripts/moment/uk.js +3 -3
- data/vendor/assets/javascripts/moment/uz.js +3 -3
- data/vendor/assets/javascripts/moment/vi.js +3 -3
- data/vendor/assets/javascripts/moment/zh-cn.js +3 -3
- data/vendor/assets/javascripts/moment/zh-tw.js +3 -3
- metadata +13 -9
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : bosnian (bs)
|
3
3
|
// author : Nedim Cholich : https://github.com/frontyard
|
4
4
|
// based on (hr) translation by Bojan Marković
|
5
5
|
|
@@ -12,7 +12,6 @@
|
|
12
12
|
factory(window.moment); // Browser global
|
13
13
|
}
|
14
14
|
}(function (moment) {
|
15
|
-
|
16
15
|
function translate(number, withoutSuffix, key) {
|
17
16
|
var result = number + " ";
|
18
17
|
switch (key) {
|
@@ -66,9 +65,9 @@
|
|
66
65
|
}
|
67
66
|
}
|
68
67
|
|
69
|
-
return moment.
|
70
|
-
|
71
|
-
|
68
|
+
return moment.defineLocale('bs', {
|
69
|
+
months : "januar_februar_mart_april_maj_juni_juli_avgust_septembar_oktobar_novembar_decembar".split("_"),
|
70
|
+
monthsShort : "jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),
|
72
71
|
weekdays : "nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),
|
73
72
|
weekdaysShort : "ned._pon._uto._sri._čet._pet._sub.".split("_"),
|
74
73
|
weekdaysMin : "ne_po_ut_sr_če_pe_su".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : catalan (ca)
|
3
3
|
// author : Juan G. Hurtado : https://github.com/juanghurtado
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
return moment.
|
14
|
+
return moment.defineLocale('ca', {
|
15
15
|
months : "gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),
|
16
16
|
monthsShort : "gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),
|
17
17
|
weekdays : "diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : czech (cs)
|
3
3
|
// author : petrbela : https://github.com/petrbela
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -71,7 +71,7 @@
|
|
71
71
|
}
|
72
72
|
}
|
73
73
|
|
74
|
-
return moment.
|
74
|
+
return moment.defineLocale('cs', {
|
75
75
|
months : months,
|
76
76
|
monthsShort : monthsShort,
|
77
77
|
monthsParse : (function (months, monthsShort) {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : chuvash (cv)
|
3
3
|
// author : Anatoly Mironov : https://github.com/mirontoli
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
return moment.
|
14
|
+
return moment.defineLocale('cv', {
|
15
15
|
months : "кăрлач_нарăс_пуш_ака_май_çĕртме_утă_çурла_авăн_юпа_чӳк_раштав".split("_"),
|
16
16
|
monthsShort : "кăр_нар_пуш_ака_май_çĕр_утă_çур_ав_юпа_чӳк_раш".split("_"),
|
17
17
|
weekdays : "вырсарникун_тунтикун_ытларикун_юнкун_кĕçнерникун_эрнекун_шăматкун".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : Welsh (cy)
|
3
3
|
// author : Robert Allen
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
return moment.
|
14
|
+
return moment.defineLocale("cy", {
|
15
15
|
months: "Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),
|
16
16
|
monthsShort: "Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),
|
17
17
|
weekdays: "Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : danish (da)
|
3
3
|
// author : Ulrik Nielsen : https://github.com/mrbase
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
return moment.
|
14
|
+
return moment.defineLocale('da', {
|
15
15
|
months : "januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),
|
16
16
|
monthsShort : "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
|
17
17
|
weekdays : "søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : austrian german (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
|
@@ -27,7 +27,7 @@
|
|
27
27
|
return withoutSuffix ? format[key][0] : format[key][1];
|
28
28
|
}
|
29
29
|
|
30
|
-
return moment.
|
30
|
+
return 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
33
|
weekdays : "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : german (de)
|
3
3
|
// author : lluchs : https://github.com/lluchs
|
4
4
|
// author: Menelion Elensúle: https://github.com/Oire
|
5
5
|
|
@@ -26,7 +26,7 @@
|
|
26
26
|
return withoutSuffix ? format[key][0] : format[key][1];
|
27
27
|
}
|
28
28
|
|
29
|
-
return moment.
|
29
|
+
return 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
32
|
weekdays : "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : modern greek (el)
|
3
3
|
// author : Aggelos Karalias : https://github.com/mehiel
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
return moment.
|
14
|
+
return moment.defineLocale('el', {
|
15
15
|
monthsNominativeEl : "Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),
|
16
16
|
monthsGenitiveEl : "Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),
|
17
17
|
months : function (momentToFormat, format) {
|
@@ -44,7 +44,7 @@
|
|
44
44
|
nextDay : '[Αύριο {}] LT',
|
45
45
|
nextWeek : 'dddd [{}] LT',
|
46
46
|
lastDay : '[Χθες {}] LT',
|
47
|
-
lastWeek : function() {
|
47
|
+
lastWeek : function () {
|
48
48
|
switch (this.day()) {
|
49
49
|
case 6:
|
50
50
|
return '[το προηγούμενο] dddd [{}] LT';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : australian english (en-au)
|
3
3
|
|
4
4
|
(function (factory) {
|
5
5
|
if (typeof define === 'function' && define.amd) {
|
@@ -10,7 +10,7 @@
|
|
10
10
|
factory(window.moment); // Browser global
|
11
11
|
}
|
12
12
|
}(function (moment) {
|
13
|
-
return moment.
|
13
|
+
return moment.defineLocale('en-au', {
|
14
14
|
months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
15
15
|
monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
16
16
|
weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
@@ -48,7 +48,7 @@
|
|
48
48
|
},
|
49
49
|
ordinal : function (number) {
|
50
50
|
var b = number % 10,
|
51
|
-
output = (~~
|
51
|
+
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
52
52
|
(b === 1) ? 'st' :
|
53
53
|
(b === 2) ? 'nd' :
|
54
54
|
(b === 3) ? 'rd' : 'th';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : canadian english (en-ca)
|
3
3
|
// author : Jonathan Abourbih : https://github.com/jonbca
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
return moment.
|
14
|
+
return moment.defineLocale('en-ca', {
|
15
15
|
months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
16
16
|
monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
17
17
|
weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
@@ -49,7 +49,7 @@
|
|
49
49
|
},
|
50
50
|
ordinal : function (number) {
|
51
51
|
var b = number % 10,
|
52
|
-
output = (~~
|
52
|
+
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
53
53
|
(b === 1) ? 'st' :
|
54
54
|
(b === 2) ? 'nd' :
|
55
55
|
(b === 3) ? 'rd' : 'th';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : great britain english (en-gb)
|
3
3
|
// author : Chris Gedrim : https://github.com/chrisgedrim
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
return moment.
|
14
|
+
return moment.defineLocale('en-gb', {
|
15
15
|
months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
16
16
|
monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
17
17
|
weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
@@ -49,7 +49,7 @@
|
|
49
49
|
},
|
50
50
|
ordinal : function (number) {
|
51
51
|
var b = number % 10,
|
52
|
-
output = (~~
|
52
|
+
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
53
53
|
(b === 1) ? 'st' :
|
54
54
|
(b === 2) ? 'nd' :
|
55
55
|
(b === 3) ? 'rd' : 'th';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
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!
|
@@ -13,7 +13,7 @@
|
|
13
13
|
factory(window.moment); // Browser global
|
14
14
|
}
|
15
15
|
}(function (moment) {
|
16
|
-
return moment.
|
16
|
+
return moment.defineLocale('eo', {
|
17
17
|
months : "januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),
|
18
18
|
monthsShort : "jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),
|
19
19
|
weekdays : "Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : spanish (es)
|
3
3
|
// author : Julio Napurí : https://github.com/julionc
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -14,7 +14,7 @@
|
|
14
14
|
var monthsShortDot = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),
|
15
15
|
monthsShort = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");
|
16
16
|
|
17
|
-
return moment.
|
17
|
+
return moment.defineLocale('es', {
|
18
18
|
months : "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),
|
19
19
|
monthsShort : function (m, format) {
|
20
20
|
if (/-MMM-/.test(format)) {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : estonian (et)
|
3
3
|
// author : Henry Kehlmann : https://github.com/madhenry
|
4
4
|
// improvements : Illimar Tambek : https://github.com/ragulka
|
5
5
|
|
@@ -31,7 +31,7 @@
|
|
31
31
|
return isFuture ? format[key][0] : format[key][1];
|
32
32
|
}
|
33
33
|
|
34
|
-
return moment.
|
34
|
+
return moment.defineLocale('et', {
|
35
35
|
months : "jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),
|
36
36
|
monthsShort : "jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),
|
37
37
|
weekdays : "pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : euskara (eu)
|
3
3
|
// author : Eneko Illarramendi : https://github.com/eillarra
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
return moment.
|
14
|
+
return moment.defineLocale('eu', {
|
15
15
|
months : "urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),
|
16
16
|
monthsShort : "urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),
|
17
17
|
weekdays : "igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : Persian
|
3
3
|
// author : Ebrahim Byagowi : https://github.com/ebraminio
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -35,7 +35,7 @@
|
|
35
35
|
'۰': '0'
|
36
36
|
};
|
37
37
|
|
38
|
-
return moment.
|
38
|
+
return moment.defineLocale('fa', {
|
39
39
|
months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
|
40
40
|
monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
|
41
41
|
weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : finnish (fi)
|
3
3
|
// author : Tarmo Aidantausta : https://github.com/bleadof
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -12,8 +12,10 @@
|
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '),
|
15
|
-
numbersFuture = [
|
16
|
-
|
15
|
+
numbersFuture = [
|
16
|
+
'nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden',
|
17
|
+
numbersPast[7], numbersPast[8], numbersPast[9]
|
18
|
+
];
|
17
19
|
|
18
20
|
function translate(number, withoutSuffix, key, isFuture) {
|
19
21
|
var result = "";
|
@@ -54,7 +56,7 @@
|
|
54
56
|
return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number;
|
55
57
|
}
|
56
58
|
|
57
|
-
return moment.
|
59
|
+
return moment.defineLocale('fi', {
|
58
60
|
months : "tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),
|
59
61
|
monthsShort : "tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),
|
60
62
|
weekdays : "sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : faroese (fo)
|
3
3
|
// author : Ragnar Johannesen : https://github.com/ragnar123
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
return moment.
|
14
|
+
return moment.defineLocale('fo', {
|
15
15
|
months : "januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),
|
16
16
|
monthsShort : "jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),
|
17
17
|
weekdays : "sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : canadian french (fr-ca)
|
3
3
|
// author : Jonathan Abourbih : https://github.com/jonbca
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
return moment.
|
14
|
+
return moment.defineLocale('fr-ca', {
|
15
15
|
months : "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),
|
16
16
|
monthsShort : "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
|
17
17
|
weekdays : "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : french (fr)
|
3
3
|
// author : John Fischer : https://github.com/jfroffice
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
return moment.
|
14
|
+
return moment.defineLocale('fr', {
|
15
15
|
months : "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),
|
16
16
|
monthsShort : "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
|
17
17
|
weekdays : "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : galician (gl)
|
3
3
|
// author : Juan G. Hurtado : https://github.com/juanghurtado
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
return moment.
|
14
|
+
return moment.defineLocale('gl', {
|
15
15
|
months : "Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro".split("_"),
|
16
16
|
monthsShort : "Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.".split("_"),
|
17
17
|
weekdays : "Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : Hebrew (he)
|
3
3
|
// author : Tomer Cohen : https://github.com/tomer
|
4
4
|
// author : Moshe Simantov : https://github.com/DevelopmentIL
|
5
5
|
// author : Tal Ater : https://github.com/TalAter
|
@@ -13,7 +13,7 @@
|
|
13
13
|
factory(window.moment); // Browser global
|
14
14
|
}
|
15
15
|
}(function (moment) {
|
16
|
-
return moment.
|
16
|
+
return moment.defineLocale('he', {
|
17
17
|
months : "ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),
|
18
18
|
monthsShort : "ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),
|
19
19
|
weekdays : "ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),
|