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 : norwegian bokmål (nb)
|
3
3
|
// authors : Espen Hovlandsdal : https://github.com/rexxars
|
4
4
|
// Sigurd Gartmann : https://github.com/sigurdga
|
5
5
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
factory(window.moment); // Browser global
|
13
13
|
}
|
14
14
|
}(function (moment) {
|
15
|
-
return moment.
|
15
|
+
return moment.defineLocale('nb', {
|
16
16
|
months : "januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),
|
17
17
|
monthsShort : "jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),
|
18
18
|
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 : nepali/nepalese
|
3
3
|
// author : suvash : https://github.com/suvash
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -36,7 +36,7 @@
|
|
36
36
|
'०': '0'
|
37
37
|
};
|
38
38
|
|
39
|
-
return moment.
|
39
|
+
return moment.defineLocale('ne', {
|
40
40
|
months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split("_"),
|
41
41
|
monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split("_"),
|
42
42
|
weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : dutch (nl)
|
3
3
|
// author : Joris Röling : https://github.com/jjupiter
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -14,7 +14,7 @@
|
|
14
14
|
var monthsShortWithDots = "jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),
|
15
15
|
monthsShortWithoutDots = "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_");
|
16
16
|
|
17
|
-
return moment.
|
17
|
+
return moment.defineLocale('nl', {
|
18
18
|
months : "januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".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 : norwegian nynorsk (nn)
|
3
3
|
// author : https://github.com/mechuwind
|
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('nn', {
|
15
15
|
months : "januar_februar_mars_april_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 : "sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : polish (pl)
|
3
3
|
// author : Rafal Hirsz : https://github.com/evoL
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -36,7 +36,7 @@
|
|
36
36
|
}
|
37
37
|
}
|
38
38
|
|
39
|
-
return moment.
|
39
|
+
return moment.defineLocale('pl', {
|
40
40
|
months : function (momentToFormat, format) {
|
41
41
|
if (/D MMMM/.test(format)) {
|
42
42
|
return monthsSubjective[momentToFormat.month()];
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : brazilian portuguese (pt-br)
|
3
3
|
// author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
|
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('pt-br', {
|
15
15
|
months : "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),
|
16
16
|
monthsShort : "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),
|
17
17
|
weekdays : "domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : portuguese (pt)
|
3
3
|
// author : Jefferson : https://github.com/jalex79
|
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('pt', {
|
15
15
|
months : "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),
|
16
16
|
monthsShort : "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),
|
17
17
|
weekdays : "domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : romanian (ro)
|
3
3
|
// author : Vlad Gurdiga : https://github.com/gurdiga
|
4
4
|
// author : Valentin Agachi : https://github.com/avaly
|
5
5
|
|
@@ -14,12 +14,12 @@
|
|
14
14
|
}(function (moment) {
|
15
15
|
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
16
16
|
var format = {
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
17
|
+
'mm': 'minute',
|
18
|
+
'hh': 'ore',
|
19
|
+
'dd': 'zile',
|
20
|
+
'MM': 'luni',
|
21
|
+
'yy': 'ani'
|
22
|
+
},
|
23
23
|
separator = ' ';
|
24
24
|
if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
|
25
25
|
separator = ' de ';
|
@@ -28,7 +28,7 @@
|
|
28
28
|
return number + separator + format[key];
|
29
29
|
}
|
30
30
|
|
31
|
-
return moment.
|
31
|
+
return moment.defineLocale('ro', {
|
32
32
|
months : "ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),
|
33
33
|
monthsShort : "ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),
|
34
34
|
weekdays : "duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : russian (ru)
|
3
3
|
// author : Viktorminator : https://github.com/Viktorminator
|
4
4
|
// Author : Menelion Elensúle : https://github.com/Oire
|
5
5
|
|
@@ -72,7 +72,7 @@
|
|
72
72
|
return weekdays[nounCase][m.day()];
|
73
73
|
}
|
74
74
|
|
75
|
-
return moment.
|
75
|
+
return moment.defineLocale('ru', {
|
76
76
|
months : monthsCaseReplace,
|
77
77
|
monthsShort : monthsShortCaseReplace,
|
78
78
|
weekdays : weekdaysCaseReplace,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : slovak (sk)
|
3
3
|
// author : Martin Minka : https://github.com/k2s
|
4
4
|
// based on work of petrbela : https://github.com/petrbela
|
5
5
|
|
@@ -72,7 +72,7 @@
|
|
72
72
|
}
|
73
73
|
}
|
74
74
|
|
75
|
-
return moment.
|
75
|
+
return moment.defineLocale('sk', {
|
76
76
|
months : months,
|
77
77
|
monthsShort : monthsShort,
|
78
78
|
monthsParse : (function (months, monthsShort) {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : slovenian (sl)
|
3
3
|
// author : Robert Sedovšek : https://github.com/sedovsek
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -72,7 +72,7 @@
|
|
72
72
|
}
|
73
73
|
}
|
74
74
|
|
75
|
-
return moment.
|
75
|
+
return moment.defineLocale('sl', {
|
76
76
|
months : "januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),
|
77
77
|
monthsShort : "jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),
|
78
78
|
weekdays : "nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : Albanian (sq)
|
3
3
|
// author : Flakërim Ismani : https://github.com/flakerimi
|
4
4
|
// author: Menelion Elensúle: https://github.com/Oire (tests)
|
5
5
|
// author : Oerd Cukalla : https://github.com/oerd (fixes)
|
@@ -13,7 +13,7 @@
|
|
13
13
|
factory(window.moment); // Browser global
|
14
14
|
}
|
15
15
|
}(function (moment) {
|
16
|
-
return moment.
|
16
|
+
return moment.defineLocale('sq', {
|
17
17
|
months : "Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),
|
18
18
|
monthsShort : "Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),
|
19
19
|
weekdays : "E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : Serbian-cyrillic (sr-cyrl)
|
3
3
|
// author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,6 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
|
15
14
|
var translator = {
|
16
15
|
words: { //Different grammatical cases
|
17
16
|
m: ['један минут', 'једне минуте'],
|
@@ -35,7 +34,7 @@
|
|
35
34
|
}
|
36
35
|
};
|
37
36
|
|
38
|
-
return moment.
|
37
|
+
return moment.defineLocale('sr-cyrl', {
|
39
38
|
months: ['јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', 'новембар', 'децембар'],
|
40
39
|
monthsShort: ['јан.', 'феб.', 'мар.', 'апр.', 'мај', 'јун', 'јул', 'авг.', 'сеп.', 'окт.', 'нов.', 'дец.'],
|
41
40
|
weekdays: ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'],
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : Serbian-latin (sr)
|
3
3
|
// author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -11,7 +11,6 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
|
15
14
|
var translator = {
|
16
15
|
words: { //Different grammatical cases
|
17
16
|
m: ['jedan minut', 'jedne minute'],
|
@@ -35,7 +34,7 @@
|
|
35
34
|
}
|
36
35
|
};
|
37
36
|
|
38
|
-
return moment.
|
37
|
+
return moment.defineLocale('sr', {
|
39
38
|
months: ['januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'],
|
40
39
|
monthsShort: ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun', 'jul', 'avg.', 'sep.', 'okt.', 'nov.', 'dec.'],
|
41
40
|
weekdays: ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'],
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : swedish (sv)
|
3
3
|
// author : Jens Alm : https://github.com/ulmus
|
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('sv', {
|
15
15
|
months : "januari_februari_mars_april_maj_juni_juli_augusti_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_måndag_tisdag_onsdag_torsdag_fredag_lördag".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) ? 'e' :
|
53
53
|
(b === 1) ? 'a' :
|
54
54
|
(b === 2) ? 'a' :
|
55
55
|
(b === 3) ? 'e' : 'e';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : tamil (ta)
|
3
3
|
// author : Arjunkumar Krishnamoorthy : https://github.com/tk120404
|
4
4
|
|
5
5
|
(function (factory) {
|
@@ -36,7 +36,7 @@
|
|
36
36
|
'௦': '0'
|
37
37
|
}; */
|
38
38
|
|
39
|
-
return moment.
|
39
|
+
return moment.defineLocale('ta', {
|
40
40
|
months : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split("_"),
|
41
41
|
monthsShort : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split("_"),
|
42
42
|
weekdays : 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split("_"),
|
@@ -87,20 +87,20 @@
|
|
87
87
|
},
|
88
88
|
|
89
89
|
|
90
|
-
// refer http://ta.wikipedia.org/s/1er1
|
90
|
+
// refer http://ta.wikipedia.org/s/1er1
|
91
91
|
|
92
92
|
meridiem : function (hour, minute, isLower) {
|
93
93
|
if (hour >= 6 && hour <= 10) {
|
94
94
|
return " காலை";
|
95
|
-
} else
|
95
|
+
} else if (hour >= 10 && hour <= 14) {
|
96
96
|
return " நண்பகல்";
|
97
|
-
} else
|
97
|
+
} else if (hour >= 14 && hour <= 18) {
|
98
98
|
return " எற்பாடு";
|
99
|
-
} else
|
99
|
+
} else if (hour >= 18 && hour <= 20) {
|
100
100
|
return " மாலை";
|
101
|
-
} else
|
101
|
+
} else if (hour >= 20 && hour <= 24) {
|
102
102
|
return " இரவு";
|
103
|
-
} else
|
103
|
+
} else if (hour >= 0 && hour <= 6) {
|
104
104
|
return " வைகறை";
|
105
105
|
}
|
106
106
|
},
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : thai (th)
|
3
3
|
// author : Kridsada Thanabulpong : https://github.com/sirn
|
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('th', {
|
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 : Tagalog/Filipino (tl-ph)
|
3
3
|
// author : Dan Hagman
|
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('tl-ph', {
|
15
15
|
months : "Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),
|
16
16
|
monthsShort : "Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),
|
17
17
|
weekdays : "Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : turkish (tr)
|
3
3
|
// authors : Erhan Gundogan : https://github.com/erhangundogan,
|
4
4
|
// Burak Yiğit Kaya: https://github.com/BYK
|
5
5
|
|
@@ -12,7 +12,6 @@
|
|
12
12
|
factory(window.moment); // Browser global
|
13
13
|
}
|
14
14
|
}(function (moment) {
|
15
|
-
|
16
15
|
var suffixes = {
|
17
16
|
1: "'inci",
|
18
17
|
5: "'inci",
|
@@ -39,7 +38,7 @@
|
|
39
38
|
90: "'ıncı"
|
40
39
|
};
|
41
40
|
|
42
|
-
return moment.
|
41
|
+
return moment.defineLocale('tr', {
|
43
42
|
months : "Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),
|
44
43
|
monthsShort : "Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),
|
45
44
|
weekdays : "Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : Morocco Central Atlas Tamaziɣt in Latin (tzm-latn)
|
3
3
|
// author : Abdel Said : https://github.com/abdelsaid
|
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('tzm-latn', {
|
15
15
|
months : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
|
16
16
|
monthsShort : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
|
17
17
|
weekdays : "asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// moment.js
|
2
|
-
//
|
1
|
+
// moment.js locale configuration
|
2
|
+
// locale : Morocco Central Atlas Tamaziɣt (tzm)
|
3
3
|
// author : Abdel Said : https://github.com/abdelsaid
|
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('tzm', {
|
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 : ukrainian (uk)
|
3
3
|
// author : zemlanin : https://github.com/zemlanin
|
4
4
|
// Author : Menelion Elensúle : https://github.com/Oire
|
5
5
|
|
@@ -71,7 +71,7 @@
|
|
71
71
|
};
|
72
72
|
}
|
73
73
|
|
74
|
-
return moment.
|
74
|
+
return moment.defineLocale('uk', {
|
75
75
|
months : monthsCaseReplace,
|
76
76
|
monthsShort : "січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),
|
77
77
|
weekdays : weekdaysCaseReplace,
|