@revivejs/moment 2.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +996 -0
- package/LICENSE +22 -0
- package/README.md +158 -0
- package/dist/locale/af.js +71 -0
- package/dist/locale/ar-dz.js +156 -0
- package/dist/locale/ar-kw.js +55 -0
- package/dist/locale/ar-ly.js +171 -0
- package/dist/locale/ar-ma.js +56 -0
- package/dist/locale/ar-ps.js +112 -0
- package/dist/locale/ar-sa.js +105 -0
- package/dist/locale/ar-tn.js +55 -0
- package/dist/locale/ar.js +189 -0
- package/dist/locale/az.js +102 -0
- package/dist/locale/be.js +142 -0
- package/dist/locale/bg.js +87 -0
- package/dist/locale/bm.js +52 -0
- package/dist/locale/bn-bd.js +129 -0
- package/dist/locale/bn.js +119 -0
- package/dist/locale/bo.js +124 -0
- package/dist/locale/br.js +168 -0
- package/dist/locale/bs.js +160 -0
- package/dist/locale/ca.js +100 -0
- package/dist/locale/cs.js +181 -0
- package/dist/locale/cv.js +63 -0
- package/dist/locale/cy.js +98 -0
- package/dist/locale/da.js +53 -0
- package/dist/locale/de-at.js +79 -0
- package/dist/locale/de-ch.js +78 -0
- package/dist/locale/de.js +78 -0
- package/dist/locale/dv.js +90 -0
- package/dist/locale/el.js +106 -0
- package/dist/locale/en-au.js +68 -0
- package/dist/locale/en-ca.js +64 -0
- package/dist/locale/en-gb.js +68 -0
- package/dist/locale/en-ie.js +68 -0
- package/dist/locale/en-il.js +64 -0
- package/dist/locale/en-in.js +68 -0
- package/dist/locale/en-nz.js +68 -0
- package/dist/locale/en-sg.js +68 -0
- package/dist/locale/eo.js +68 -0
- package/dist/locale/es-do.js +108 -0
- package/dist/locale/es-mx.js +110 -0
- package/dist/locale/es-us.js +110 -0
- package/dist/locale/es.js +110 -0
- package/dist/locale/et.js +78 -0
- package/dist/locale/eu.js +65 -0
- package/dist/locale/fa.js +113 -0
- package/dist/locale/fi.js +124 -0
- package/dist/locale/fil.js +58 -0
- package/dist/locale/fo.js +57 -0
- package/dist/locale/fr-ca.js +70 -0
- package/dist/locale/fr-ch.js +74 -0
- package/dist/locale/fr.js +108 -0
- package/dist/locale/fy.js +75 -0
- package/dist/locale/ga.js +95 -0
- package/dist/locale/gd.js +95 -0
- package/dist/locale/gl.js +75 -0
- package/dist/locale/gom-deva.js +126 -0
- package/dist/locale/gom-latn.js +124 -0
- package/dist/locale/gu.js +122 -0
- package/dist/locale/he.js +94 -0
- package/dist/locale/hi.js +168 -0
- package/dist/locale/hr.js +156 -0
- package/dist/locale/hu.js +118 -0
- package/dist/locale/hy-am.js +94 -0
- package/dist/locale/id.js +76 -0
- package/dist/locale/is.js +140 -0
- package/dist/locale/it-ch.js +64 -0
- package/dist/locale/it.js +106 -0
- package/dist/locale/ja.js +148 -0
- package/dist/locale/jv.js +76 -0
- package/dist/locale/ka.js +92 -0
- package/dist/locale/kk.js +82 -0
- package/dist/locale/km.js +103 -0
- package/dist/locale/kn.js +124 -0
- package/dist/locale/ko.js +75 -0
- package/dist/locale/ku-kmr.js +121 -0
- package/dist/locale/ku.js +118 -0
- package/dist/locale/ky.js +84 -0
- package/dist/locale/lb.js +137 -0
- package/dist/locale/lo.js +66 -0
- package/dist/locale/lt.js +125 -0
- package/dist/locale/lv.js +94 -0
- package/dist/locale/me.js +117 -0
- package/dist/locale/mi.js +60 -0
- package/dist/locale/mk.js +85 -0
- package/dist/locale/ml.js +82 -0
- package/dist/locale/mn.js +100 -0
- package/dist/locale/mr.js +203 -0
- package/dist/locale/ms-my.js +76 -0
- package/dist/locale/ms.js +75 -0
- package/dist/locale/mt.js +56 -0
- package/dist/locale/my.js +91 -0
- package/dist/locale/nb.js +60 -0
- package/dist/locale/ne.js +121 -0
- package/dist/locale/nl-be.js +102 -0
- package/dist/locale/nl.js +104 -0
- package/dist/locale/nn.js +59 -0
- package/dist/locale/oc-lnc.js +85 -0
- package/dist/locale/pa-in.js +122 -0
- package/dist/locale/pl.js +140 -0
- package/dist/locale/pt-br.js +58 -0
- package/dist/locale/pt.js +63 -0
- package/dist/locale/ro.js +76 -0
- package/dist/locale/ru.js +213 -0
- package/dist/locale/sd.js +81 -0
- package/dist/locale/se.js +57 -0
- package/dist/locale/si.js +69 -0
- package/dist/locale/sk.js +145 -0
- package/dist/locale/sl.js +171 -0
- package/dist/locale/sq.js +65 -0
- package/dist/locale/sr-cyrl.js +127 -0
- package/dist/locale/sr.js +129 -0
- package/dist/locale/ss.js +84 -0
- package/dist/locale/sv.js +68 -0
- package/dist/locale/sw.js +55 -0
- package/dist/locale/ta.js +131 -0
- package/dist/locale/te.js +88 -0
- package/dist/locale/tet.js +68 -0
- package/dist/locale/tg.js +117 -0
- package/dist/locale/th.js +65 -0
- package/dist/locale/tk.js +91 -0
- package/dist/locale/tl-ph.js +57 -0
- package/dist/locale/tlh.js +124 -0
- package/dist/locale/tr.js +106 -0
- package/dist/locale/tzl.js +89 -0
- package/dist/locale/tzm-latn.js +54 -0
- package/dist/locale/tzm.js +54 -0
- package/dist/locale/ug-cn.js +111 -0
- package/dist/locale/uk.js +167 -0
- package/dist/locale/ur.js +82 -0
- package/dist/locale/uz-latn.js +54 -0
- package/dist/locale/uz.js +51 -0
- package/dist/locale/vi.js +80 -0
- package/dist/locale/x-pseudo.js +73 -0
- package/dist/locale/yo.js +53 -0
- package/dist/locale/zh-cn.js +120 -0
- package/dist/locale/zh-hk.js +101 -0
- package/dist/locale/zh-mo.js +100 -0
- package/dist/locale/zh-tw.js +99 -0
- package/dist/moment.js +5680 -0
- package/ender.js +1 -0
- package/locale/af.js +82 -0
- package/locale/ar-dz.js +167 -0
- package/locale/ar-kw.js +66 -0
- package/locale/ar-ly.js +182 -0
- package/locale/ar-ma.js +67 -0
- package/locale/ar-ps.js +123 -0
- package/locale/ar-sa.js +116 -0
- package/locale/ar-tn.js +66 -0
- package/locale/ar.js +200 -0
- package/locale/az.js +113 -0
- package/locale/be.js +153 -0
- package/locale/bg.js +98 -0
- package/locale/bm.js +62 -0
- package/locale/bn-bd.js +140 -0
- package/locale/bn.js +130 -0
- package/locale/bo.js +135 -0
- package/locale/br.js +179 -0
- package/locale/bs.js +171 -0
- package/locale/ca.js +111 -0
- package/locale/cs.js +192 -0
- package/locale/cv.js +74 -0
- package/locale/cy.js +109 -0
- package/locale/da.js +64 -0
- package/locale/de-at.js +90 -0
- package/locale/de-ch.js +87 -0
- package/locale/de.js +89 -0
- package/locale/dv.js +101 -0
- package/locale/el.js +117 -0
- package/locale/en-au.js +79 -0
- package/locale/en-ca.js +75 -0
- package/locale/en-gb.js +79 -0
- package/locale/en-ie.js +79 -0
- package/locale/en-il.js +75 -0
- package/locale/en-in.js +79 -0
- package/locale/en-nz.js +79 -0
- package/locale/en-sg.js +79 -0
- package/locale/eo.js +79 -0
- package/locale/es-do.js +119 -0
- package/locale/es-mx.js +121 -0
- package/locale/es-us.js +121 -0
- package/locale/es.js +121 -0
- package/locale/et.js +89 -0
- package/locale/eu.js +76 -0
- package/locale/fa.js +124 -0
- package/locale/fi.js +135 -0
- package/locale/fil.js +69 -0
- package/locale/fo.js +68 -0
- package/locale/fr-ca.js +81 -0
- package/locale/fr-ch.js +85 -0
- package/locale/fr.js +119 -0
- package/locale/fy.js +86 -0
- package/locale/ga.js +106 -0
- package/locale/gd.js +106 -0
- package/locale/gl.js +86 -0
- package/locale/gom-deva.js +137 -0
- package/locale/gom-latn.js +135 -0
- package/locale/gu.js +133 -0
- package/locale/he.js +105 -0
- package/locale/hi.js +179 -0
- package/locale/hr.js +167 -0
- package/locale/hu.js +129 -0
- package/locale/hy-am.js +105 -0
- package/locale/id.js +87 -0
- package/locale/is.js +151 -0
- package/locale/it-ch.js +75 -0
- package/locale/it.js +117 -0
- package/locale/ja.js +159 -0
- package/locale/jv.js +87 -0
- package/locale/ka.js +103 -0
- package/locale/kk.js +93 -0
- package/locale/km.js +114 -0
- package/locale/kn.js +135 -0
- package/locale/ko.js +86 -0
- package/locale/ku-kmr.js +125 -0
- package/locale/ku.js +129 -0
- package/locale/ky.js +95 -0
- package/locale/lb.js +148 -0
- package/locale/lo.js +77 -0
- package/locale/lt.js +136 -0
- package/locale/lv.js +105 -0
- package/locale/me.js +128 -0
- package/locale/mi.js +71 -0
- package/locale/mk.js +97 -0
- package/locale/ml.js +93 -0
- package/locale/mn.js +111 -0
- package/locale/mr.js +214 -0
- package/locale/ms-my.js +87 -0
- package/locale/ms.js +86 -0
- package/locale/mt.js +67 -0
- package/locale/my.js +102 -0
- package/locale/nb.js +71 -0
- package/locale/ne.js +132 -0
- package/locale/nl-be.js +113 -0
- package/locale/nl.js +115 -0
- package/locale/nn.js +70 -0
- package/locale/oc-lnc.js +96 -0
- package/locale/pa-in.js +133 -0
- package/locale/pl.js +151 -0
- package/locale/pt-br.js +69 -0
- package/locale/pt.js +74 -0
- package/locale/ro.js +87 -0
- package/locale/ru.js +224 -0
- package/locale/sd.js +92 -0
- package/locale/se.js +68 -0
- package/locale/si.js +80 -0
- package/locale/sk.js +156 -0
- package/locale/sl.js +182 -0
- package/locale/sq.js +76 -0
- package/locale/sr-cyrl.js +138 -0
- package/locale/sr.js +140 -0
- package/locale/ss.js +95 -0
- package/locale/sv.js +79 -0
- package/locale/sw.js +66 -0
- package/locale/ta.js +142 -0
- package/locale/te.js +99 -0
- package/locale/tet.js +79 -0
- package/locale/tg.js +128 -0
- package/locale/th.js +76 -0
- package/locale/tk.js +102 -0
- package/locale/tl-ph.js +68 -0
- package/locale/tlh.js +135 -0
- package/locale/tr.js +117 -0
- package/locale/tzl.js +100 -0
- package/locale/tzm-latn.js +65 -0
- package/locale/tzm.js +65 -0
- package/locale/ug-cn.js +122 -0
- package/locale/uk.js +178 -0
- package/locale/ur.js +93 -0
- package/locale/uz-latn.js +65 -0
- package/locale/uz.js +62 -0
- package/locale/vi.js +91 -0
- package/locale/x-pseudo.js +84 -0
- package/locale/yo.js +64 -0
- package/locale/zh-cn.js +131 -0
- package/locale/zh-hk.js +112 -0
- package/locale/zh-mo.js +111 -0
- package/locale/zh-tw.js +110 -0
- package/min/locales.js +12800 -0
- package/min/locales.min.js +2 -0
- package/min/locales.min.js.map +1 -0
- package/min/moment-with-locales.js +18472 -0
- package/min/moment-with-locales.min.js +2 -0
- package/min/moment-with-locales.min.js.map +1 -0
- package/min/moment.min.js +2 -0
- package/min/moment.min.js.map +1 -0
- package/min/tests.js +149292 -0
- package/moment.d.ts +796 -0
- package/moment.js +5688 -0
- package/package.js +11 -0
- package/package.json +152 -0
- package/ts3.1-typings/moment.d.ts +785 -0
package/locale/hi.js
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Hindi [hi]
|
|
3
|
+
//! author : Mayank Singhal : https://github.com/mayanksinghal
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var symbolMap = {
|
|
15
|
+
1: '१',
|
|
16
|
+
2: '२',
|
|
17
|
+
3: '३',
|
|
18
|
+
4: '४',
|
|
19
|
+
5: '५',
|
|
20
|
+
6: '६',
|
|
21
|
+
7: '७',
|
|
22
|
+
8: '८',
|
|
23
|
+
9: '९',
|
|
24
|
+
0: '०',
|
|
25
|
+
},
|
|
26
|
+
numberMap = {
|
|
27
|
+
'१': '1',
|
|
28
|
+
'२': '2',
|
|
29
|
+
'३': '3',
|
|
30
|
+
'४': '4',
|
|
31
|
+
'५': '5',
|
|
32
|
+
'६': '6',
|
|
33
|
+
'७': '7',
|
|
34
|
+
'८': '8',
|
|
35
|
+
'९': '9',
|
|
36
|
+
'०': '0',
|
|
37
|
+
},
|
|
38
|
+
monthsParse = [
|
|
39
|
+
/^जन/i,
|
|
40
|
+
/^फ़र|फर/i,
|
|
41
|
+
/^मार्च/i,
|
|
42
|
+
/^अप्रै/i,
|
|
43
|
+
/^मई/i,
|
|
44
|
+
/^जून/i,
|
|
45
|
+
/^जुल/i,
|
|
46
|
+
/^अग/i,
|
|
47
|
+
/^सितं|सित/i,
|
|
48
|
+
/^अक्टू/i,
|
|
49
|
+
/^नव|नवं/i,
|
|
50
|
+
/^दिसं|दिस/i,
|
|
51
|
+
],
|
|
52
|
+
shortMonthsParse = [
|
|
53
|
+
/^जन/i,
|
|
54
|
+
/^फ़र/i,
|
|
55
|
+
/^मार्च/i,
|
|
56
|
+
/^अप्रै/i,
|
|
57
|
+
/^मई/i,
|
|
58
|
+
/^जून/i,
|
|
59
|
+
/^जुल/i,
|
|
60
|
+
/^अग/i,
|
|
61
|
+
/^सित/i,
|
|
62
|
+
/^अक्टू/i,
|
|
63
|
+
/^नव/i,
|
|
64
|
+
/^दिस/i,
|
|
65
|
+
];
|
|
66
|
+
|
|
67
|
+
var hi = moment.defineLocale('hi', {
|
|
68
|
+
months: {
|
|
69
|
+
format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split(
|
|
70
|
+
'_'
|
|
71
|
+
),
|
|
72
|
+
standalone:
|
|
73
|
+
'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split(
|
|
74
|
+
'_'
|
|
75
|
+
),
|
|
76
|
+
},
|
|
77
|
+
monthsShort:
|
|
78
|
+
'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),
|
|
79
|
+
weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
|
|
80
|
+
weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
|
|
81
|
+
weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
|
|
82
|
+
longDateFormat: {
|
|
83
|
+
LT: 'A h:mm बजे',
|
|
84
|
+
LTS: 'A h:mm:ss बजे',
|
|
85
|
+
L: 'DD/MM/YYYY',
|
|
86
|
+
LL: 'D MMMM YYYY',
|
|
87
|
+
LLL: 'D MMMM YYYY, A h:mm बजे',
|
|
88
|
+
LLLL: 'dddd, D MMMM YYYY, A h:mm बजे',
|
|
89
|
+
},
|
|
90
|
+
|
|
91
|
+
monthsParse: monthsParse,
|
|
92
|
+
longMonthsParse: monthsParse,
|
|
93
|
+
shortMonthsParse: shortMonthsParse,
|
|
94
|
+
|
|
95
|
+
monthsRegex:
|
|
96
|
+
/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
|
|
97
|
+
|
|
98
|
+
monthsShortRegex:
|
|
99
|
+
/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
|
|
100
|
+
|
|
101
|
+
monthsStrictRegex:
|
|
102
|
+
/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,
|
|
103
|
+
|
|
104
|
+
monthsShortStrictRegex:
|
|
105
|
+
/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,
|
|
106
|
+
|
|
107
|
+
calendar: {
|
|
108
|
+
sameDay: '[आज] LT',
|
|
109
|
+
nextDay: '[कल] LT',
|
|
110
|
+
nextWeek: 'dddd, LT',
|
|
111
|
+
lastDay: '[कल] LT',
|
|
112
|
+
lastWeek: '[पिछले] dddd, LT',
|
|
113
|
+
sameElse: 'L',
|
|
114
|
+
},
|
|
115
|
+
relativeTime: {
|
|
116
|
+
future: '%s में',
|
|
117
|
+
past: '%s पहले',
|
|
118
|
+
s: 'कुछ ही क्षण',
|
|
119
|
+
ss: '%d सेकंड',
|
|
120
|
+
m: 'एक मिनट',
|
|
121
|
+
mm: '%d मिनट',
|
|
122
|
+
h: 'एक घंटा',
|
|
123
|
+
hh: '%d घंटे',
|
|
124
|
+
d: 'एक दिन',
|
|
125
|
+
dd: '%d दिन',
|
|
126
|
+
M: 'एक महीने',
|
|
127
|
+
MM: '%d महीने',
|
|
128
|
+
y: 'एक वर्ष',
|
|
129
|
+
yy: '%d वर्ष',
|
|
130
|
+
},
|
|
131
|
+
preparse: function (string) {
|
|
132
|
+
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
|
133
|
+
return numberMap[match];
|
|
134
|
+
});
|
|
135
|
+
},
|
|
136
|
+
postformat: function (string) {
|
|
137
|
+
return string.replace(/\d/g, function (match) {
|
|
138
|
+
return symbolMap[match];
|
|
139
|
+
});
|
|
140
|
+
},
|
|
141
|
+
// Hindi notation for meridiems are quite fuzzy in practice. While there exists
|
|
142
|
+
// a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
|
|
143
|
+
meridiemParse: /रात|सुबह|दोपहर|शाम/,
|
|
144
|
+
meridiemHour: function (hour, meridiem) {
|
|
145
|
+
if (hour === 12) {
|
|
146
|
+
hour = 0;
|
|
147
|
+
}
|
|
148
|
+
if (meridiem === 'रात') {
|
|
149
|
+
return hour < 4 ? hour : hour + 12;
|
|
150
|
+
} else if (meridiem === 'सुबह') {
|
|
151
|
+
return hour;
|
|
152
|
+
} else if (meridiem === 'दोपहर') {
|
|
153
|
+
return hour >= 10 ? hour : hour + 12;
|
|
154
|
+
} else if (meridiem === 'शाम') {
|
|
155
|
+
return hour + 12;
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
meridiem: function (hour, minute, isLower) {
|
|
159
|
+
if (hour < 4) {
|
|
160
|
+
return 'रात';
|
|
161
|
+
} else if (hour < 10) {
|
|
162
|
+
return 'सुबह';
|
|
163
|
+
} else if (hour < 17) {
|
|
164
|
+
return 'दोपहर';
|
|
165
|
+
} else if (hour < 20) {
|
|
166
|
+
return 'शाम';
|
|
167
|
+
} else {
|
|
168
|
+
return 'रात';
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
week: {
|
|
172
|
+
dow: 0, // Sunday is the first day of the week.
|
|
173
|
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
|
174
|
+
},
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
return hi;
|
|
178
|
+
|
|
179
|
+
})));
|
package/locale/hr.js
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Croatian [hr]
|
|
3
|
+
//! author : Bojan Marković : https://github.com/bmarkovic
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
function translate(number, withoutSuffix, key) {
|
|
15
|
+
var result = number + ' ';
|
|
16
|
+
switch (key) {
|
|
17
|
+
case 'ss':
|
|
18
|
+
if (number === 1) {
|
|
19
|
+
result += 'sekunda';
|
|
20
|
+
} else if (number === 2 || number === 3 || number === 4) {
|
|
21
|
+
result += 'sekunde';
|
|
22
|
+
} else {
|
|
23
|
+
result += 'sekundi';
|
|
24
|
+
}
|
|
25
|
+
return result;
|
|
26
|
+
case 'm':
|
|
27
|
+
return withoutSuffix ? 'jedna minuta' : 'jedne minute';
|
|
28
|
+
case 'mm':
|
|
29
|
+
if (number === 1) {
|
|
30
|
+
result += 'minuta';
|
|
31
|
+
} else if (number === 2 || number === 3 || number === 4) {
|
|
32
|
+
result += 'minute';
|
|
33
|
+
} else {
|
|
34
|
+
result += 'minuta';
|
|
35
|
+
}
|
|
36
|
+
return result;
|
|
37
|
+
case 'h':
|
|
38
|
+
return withoutSuffix ? 'jedan sat' : 'jednog sata';
|
|
39
|
+
case 'hh':
|
|
40
|
+
if (number === 1) {
|
|
41
|
+
result += 'sat';
|
|
42
|
+
} else if (number === 2 || number === 3 || number === 4) {
|
|
43
|
+
result += 'sata';
|
|
44
|
+
} else {
|
|
45
|
+
result += 'sati';
|
|
46
|
+
}
|
|
47
|
+
return result;
|
|
48
|
+
case 'dd':
|
|
49
|
+
if (number === 1) {
|
|
50
|
+
result += 'dan';
|
|
51
|
+
} else {
|
|
52
|
+
result += 'dana';
|
|
53
|
+
}
|
|
54
|
+
return result;
|
|
55
|
+
case 'MM':
|
|
56
|
+
if (number === 1) {
|
|
57
|
+
result += 'mjesec';
|
|
58
|
+
} else if (number === 2 || number === 3 || number === 4) {
|
|
59
|
+
result += 'mjeseca';
|
|
60
|
+
} else {
|
|
61
|
+
result += 'mjeseci';
|
|
62
|
+
}
|
|
63
|
+
return result;
|
|
64
|
+
case 'yy':
|
|
65
|
+
if (number === 1) {
|
|
66
|
+
result += 'godina';
|
|
67
|
+
} else if (number === 2 || number === 3 || number === 4) {
|
|
68
|
+
result += 'godine';
|
|
69
|
+
} else {
|
|
70
|
+
result += 'godina';
|
|
71
|
+
}
|
|
72
|
+
return result;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
var hr = moment.defineLocale('hr', {
|
|
77
|
+
months: {
|
|
78
|
+
format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split(
|
|
79
|
+
'_'
|
|
80
|
+
),
|
|
81
|
+
standalone:
|
|
82
|
+
'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split(
|
|
83
|
+
'_'
|
|
84
|
+
),
|
|
85
|
+
},
|
|
86
|
+
monthsShort:
|
|
87
|
+
'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split(
|
|
88
|
+
'_'
|
|
89
|
+
),
|
|
90
|
+
monthsParseExact: true,
|
|
91
|
+
weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
|
|
92
|
+
'_'
|
|
93
|
+
),
|
|
94
|
+
weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
|
|
95
|
+
weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
|
|
96
|
+
weekdaysParseExact: true,
|
|
97
|
+
longDateFormat: {
|
|
98
|
+
LT: 'H:mm',
|
|
99
|
+
LTS: 'H:mm:ss',
|
|
100
|
+
L: 'DD.MM.YYYY',
|
|
101
|
+
LL: 'Do MMMM YYYY',
|
|
102
|
+
LLL: 'Do MMMM YYYY H:mm',
|
|
103
|
+
LLLL: 'dddd, Do MMMM YYYY H:mm',
|
|
104
|
+
},
|
|
105
|
+
calendar: {
|
|
106
|
+
sameDay: '[danas u] LT',
|
|
107
|
+
nextDay: '[sutra u] LT',
|
|
108
|
+
nextWeek: function () {
|
|
109
|
+
switch (this.day()) {
|
|
110
|
+
case 0:
|
|
111
|
+
return '[u] [nedjelju] [u] LT';
|
|
112
|
+
case 3:
|
|
113
|
+
return '[u] [srijedu] [u] LT';
|
|
114
|
+
case 6:
|
|
115
|
+
return '[u] [subotu] [u] LT';
|
|
116
|
+
case 1:
|
|
117
|
+
case 2:
|
|
118
|
+
case 4:
|
|
119
|
+
case 5:
|
|
120
|
+
return '[u] dddd [u] LT';
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
lastDay: '[jučer u] LT',
|
|
124
|
+
lastWeek: function () {
|
|
125
|
+
switch (this.day()) {
|
|
126
|
+
case 0:
|
|
127
|
+
return '[prošlu] [nedjelju] [u] LT';
|
|
128
|
+
case 3:
|
|
129
|
+
return '[prošlu] [srijedu] [u] LT';
|
|
130
|
+
case 6:
|
|
131
|
+
return '[prošle] [subote] [u] LT';
|
|
132
|
+
case 1:
|
|
133
|
+
case 2:
|
|
134
|
+
case 4:
|
|
135
|
+
case 5:
|
|
136
|
+
return '[prošli] dddd [u] LT';
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
sameElse: 'L',
|
|
140
|
+
},
|
|
141
|
+
relativeTime: {
|
|
142
|
+
future: 'za %s',
|
|
143
|
+
past: 'prije %s',
|
|
144
|
+
s: 'par sekundi',
|
|
145
|
+
ss: translate,
|
|
146
|
+
m: translate,
|
|
147
|
+
mm: translate,
|
|
148
|
+
h: translate,
|
|
149
|
+
hh: translate,
|
|
150
|
+
d: 'dan',
|
|
151
|
+
dd: translate,
|
|
152
|
+
M: 'mjesec',
|
|
153
|
+
MM: translate,
|
|
154
|
+
y: 'godinu',
|
|
155
|
+
yy: translate,
|
|
156
|
+
},
|
|
157
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
158
|
+
ordinal: '%d.',
|
|
159
|
+
week: {
|
|
160
|
+
dow: 1, // Monday is the first day of the week.
|
|
161
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
|
162
|
+
},
|
|
163
|
+
});
|
|
164
|
+
|
|
165
|
+
return hr;
|
|
166
|
+
|
|
167
|
+
})));
|
package/locale/hu.js
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Hungarian [hu]
|
|
3
|
+
//! author : Adam Brunner : https://github.com/adambrunner
|
|
4
|
+
//! author : Peter Viszt : https://github.com/passatgt
|
|
5
|
+
|
|
6
|
+
;(function (global, factory) {
|
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
10
|
+
factory(global.moment)
|
|
11
|
+
}(this, (function (moment) { 'use strict';
|
|
12
|
+
|
|
13
|
+
//! moment.js locale configuration
|
|
14
|
+
|
|
15
|
+
var weekEndings =
|
|
16
|
+
'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
|
|
17
|
+
function translate(number, withoutSuffix, key, isFuture) {
|
|
18
|
+
var num = number;
|
|
19
|
+
switch (key) {
|
|
20
|
+
case 's':
|
|
21
|
+
return isFuture || withoutSuffix
|
|
22
|
+
? 'néhány másodperc'
|
|
23
|
+
: 'néhány másodperce';
|
|
24
|
+
case 'ss':
|
|
25
|
+
return num + (isFuture || withoutSuffix)
|
|
26
|
+
? ' másodperc'
|
|
27
|
+
: ' másodperce';
|
|
28
|
+
case 'm':
|
|
29
|
+
return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
|
|
30
|
+
case 'mm':
|
|
31
|
+
return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
|
|
32
|
+
case 'h':
|
|
33
|
+
return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
|
|
34
|
+
case 'hh':
|
|
35
|
+
return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
|
|
36
|
+
case 'd':
|
|
37
|
+
return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
|
|
38
|
+
case 'dd':
|
|
39
|
+
return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
|
|
40
|
+
case 'M':
|
|
41
|
+
return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
|
|
42
|
+
case 'MM':
|
|
43
|
+
return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
|
|
44
|
+
case 'y':
|
|
45
|
+
return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
|
|
46
|
+
case 'yy':
|
|
47
|
+
return num + (isFuture || withoutSuffix ? ' év' : ' éve');
|
|
48
|
+
}
|
|
49
|
+
return '';
|
|
50
|
+
}
|
|
51
|
+
function week(isFuture) {
|
|
52
|
+
return (
|
|
53
|
+
(isFuture ? '' : '[múlt] ') +
|
|
54
|
+
'[' +
|
|
55
|
+
weekEndings[this.day()] +
|
|
56
|
+
'] LT[-kor]'
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
var hu = moment.defineLocale('hu', {
|
|
61
|
+
months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split(
|
|
62
|
+
'_'
|
|
63
|
+
),
|
|
64
|
+
monthsShort:
|
|
65
|
+
'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split(
|
|
66
|
+
'_'
|
|
67
|
+
),
|
|
68
|
+
monthsParseExact: true,
|
|
69
|
+
weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
|
|
70
|
+
weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
|
|
71
|
+
weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),
|
|
72
|
+
longDateFormat: {
|
|
73
|
+
LT: 'H:mm',
|
|
74
|
+
LTS: 'H:mm:ss',
|
|
75
|
+
L: 'YYYY.MM.DD.',
|
|
76
|
+
LL: 'YYYY. MMMM D.',
|
|
77
|
+
LLL: 'YYYY. MMMM D. H:mm',
|
|
78
|
+
LLLL: 'YYYY. MMMM D., dddd H:mm',
|
|
79
|
+
},
|
|
80
|
+
meridiemParse: /de|du/i,
|
|
81
|
+
isPM: function (input) {
|
|
82
|
+
return input.charAt(1).toLowerCase() === 'u';
|
|
83
|
+
},
|
|
84
|
+
meridiem: function (hours, minutes, isLower) {
|
|
85
|
+
if (hours < 12) {
|
|
86
|
+
return isLower === true ? 'de' : 'DE';
|
|
87
|
+
} else {
|
|
88
|
+
return isLower === true ? 'du' : 'DU';
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
calendar: {
|
|
92
|
+
sameDay: '[ma] LT[-kor]',
|
|
93
|
+
nextDay: '[holnap] LT[-kor]',
|
|
94
|
+
nextWeek: function () {
|
|
95
|
+
return week.call(this, true);
|
|
96
|
+
},
|
|
97
|
+
lastDay: '[tegnap] LT[-kor]',
|
|
98
|
+
lastWeek: function () {
|
|
99
|
+
return week.call(this, false);
|
|
100
|
+
},
|
|
101
|
+
sameElse: 'L',
|
|
102
|
+
},
|
|
103
|
+
relativeTime: {
|
|
104
|
+
future: '%s múlva',
|
|
105
|
+
past: '%s',
|
|
106
|
+
s: translate,
|
|
107
|
+
ss: translate,
|
|
108
|
+
m: translate,
|
|
109
|
+
mm: translate,
|
|
110
|
+
h: translate,
|
|
111
|
+
hh: translate,
|
|
112
|
+
d: translate,
|
|
113
|
+
dd: translate,
|
|
114
|
+
M: translate,
|
|
115
|
+
MM: translate,
|
|
116
|
+
y: translate,
|
|
117
|
+
yy: translate,
|
|
118
|
+
},
|
|
119
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
120
|
+
ordinal: '%d.',
|
|
121
|
+
week: {
|
|
122
|
+
dow: 1, // Monday is the first day of the week.
|
|
123
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
124
|
+
},
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
return hu;
|
|
128
|
+
|
|
129
|
+
})));
|
package/locale/hy-am.js
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Armenian [hy-am]
|
|
3
|
+
//! author : Armendarabyan : https://github.com/armendarabyan
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var hyAm = moment.defineLocale('hy-am', {
|
|
15
|
+
months: {
|
|
16
|
+
format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split(
|
|
17
|
+
'_'
|
|
18
|
+
),
|
|
19
|
+
standalone:
|
|
20
|
+
'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split(
|
|
21
|
+
'_'
|
|
22
|
+
),
|
|
23
|
+
},
|
|
24
|
+
monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
|
|
25
|
+
weekdays:
|
|
26
|
+
'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split(
|
|
27
|
+
'_'
|
|
28
|
+
),
|
|
29
|
+
weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
|
|
30
|
+
weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
|
|
31
|
+
longDateFormat: {
|
|
32
|
+
LT: 'HH:mm',
|
|
33
|
+
LTS: 'HH:mm:ss',
|
|
34
|
+
L: 'DD.MM.YYYY',
|
|
35
|
+
LL: 'D MMMM YYYY թ.',
|
|
36
|
+
LLL: 'D MMMM YYYY թ., HH:mm',
|
|
37
|
+
LLLL: 'dddd, D MMMM YYYY թ., HH:mm',
|
|
38
|
+
},
|
|
39
|
+
calendar: {
|
|
40
|
+
sameDay: '[այսօր] LT',
|
|
41
|
+
nextDay: '[վաղը] LT',
|
|
42
|
+
lastDay: '[երեկ] LT',
|
|
43
|
+
nextWeek: function () {
|
|
44
|
+
return 'dddd [օրը ժամը] LT';
|
|
45
|
+
},
|
|
46
|
+
lastWeek: function () {
|
|
47
|
+
return '[անցած] dddd [օրը ժամը] LT';
|
|
48
|
+
},
|
|
49
|
+
sameElse: 'L',
|
|
50
|
+
},
|
|
51
|
+
relativeTime: {
|
|
52
|
+
future: '%s հետո',
|
|
53
|
+
past: '%s առաջ',
|
|
54
|
+
s: 'մի քանի վայրկյան',
|
|
55
|
+
ss: '%d վայրկյան',
|
|
56
|
+
m: 'րոպե',
|
|
57
|
+
mm: '%d րոպե',
|
|
58
|
+
h: 'ժամ',
|
|
59
|
+
hh: '%d ժամ',
|
|
60
|
+
d: 'օր',
|
|
61
|
+
dd: '%d օր',
|
|
62
|
+
M: 'ամիս',
|
|
63
|
+
MM: '%d ամիս',
|
|
64
|
+
y: 'տարի',
|
|
65
|
+
yy: '%d տարի',
|
|
66
|
+
},
|
|
67
|
+
meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
|
|
68
|
+
isPM: function (input) {
|
|
69
|
+
return /^(ցերեկվա|երեկոյան)$/.test(input);
|
|
70
|
+
},
|
|
71
|
+
meridiem: function (hour) {
|
|
72
|
+
if (hour < 4) {
|
|
73
|
+
return 'գիշերվա';
|
|
74
|
+
} else if (hour < 12) {
|
|
75
|
+
return 'առավոտվա';
|
|
76
|
+
} else if (hour < 17) {
|
|
77
|
+
return 'ցերեկվա';
|
|
78
|
+
} else {
|
|
79
|
+
return 'երեկոյան';
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
|
|
83
|
+
ordinal: function (number, period) {
|
|
84
|
+
switch (period) {
|
|
85
|
+
case 'DDD':
|
|
86
|
+
case 'w':
|
|
87
|
+
case 'W':
|
|
88
|
+
case 'DDDo':
|
|
89
|
+
if (number === 1) {
|
|
90
|
+
return number + '-ին';
|
|
91
|
+
}
|
|
92
|
+
return number + '-րդ';
|
|
93
|
+
default:
|
|
94
|
+
return number;
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
week: {
|
|
98
|
+
dow: 1, // Monday is the first day of the week.
|
|
99
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
|
100
|
+
},
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
return hyAm;
|
|
104
|
+
|
|
105
|
+
})));
|
package/locale/id.js
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Indonesian [id]
|
|
3
|
+
//! author : Mohammad Satrio Utomo : https://github.com/tyok
|
|
4
|
+
//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
|
|
5
|
+
|
|
6
|
+
;(function (global, factory) {
|
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
10
|
+
factory(global.moment)
|
|
11
|
+
}(this, (function (moment) { 'use strict';
|
|
12
|
+
|
|
13
|
+
//! moment.js locale configuration
|
|
14
|
+
|
|
15
|
+
var id = moment.defineLocale('id', {
|
|
16
|
+
months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split(
|
|
17
|
+
'_'
|
|
18
|
+
),
|
|
19
|
+
monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
|
|
20
|
+
weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
|
|
21
|
+
weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
|
|
22
|
+
weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
|
|
23
|
+
longDateFormat: {
|
|
24
|
+
LT: 'HH.mm',
|
|
25
|
+
LTS: 'HH.mm.ss',
|
|
26
|
+
L: 'DD/MM/YYYY',
|
|
27
|
+
LL: 'D MMMM YYYY',
|
|
28
|
+
LLL: 'D MMMM YYYY [pukul] HH.mm',
|
|
29
|
+
LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
|
|
30
|
+
},
|
|
31
|
+
meridiemParse: /pagi|siang|sore|malam/,
|
|
32
|
+
meridiemHour: function (hour, meridiem) {
|
|
33
|
+
if (hour === 12) {
|
|
34
|
+
hour = 0;
|
|
35
|
+
}
|
|
36
|
+
if (meridiem === 'pagi') {
|
|
37
|
+
return hour;
|
|
38
|
+
} else if (meridiem === 'siang') {
|
|
39
|
+
return hour >= 11 ? hour : hour + 12;
|
|
40
|
+
} else if (meridiem === 'sore' || meridiem === 'malam') {
|
|
41
|
+
return hour + 12;
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
meridiem: function (hours, minutes, isLower) {
|
|
45
|
+
if (hours < 11) {
|
|
46
|
+
return 'pagi';
|
|
47
|
+
} else if (hours < 15) {
|
|
48
|
+
return 'siang';
|
|
49
|
+
} else if (hours < 19) {
|
|
50
|
+
return 'sore';
|
|
51
|
+
} else {
|
|
52
|
+
return 'malam';
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
calendar: {
|
|
56
|
+
sameDay: '[Hari ini pukul] LT',
|
|
57
|
+
nextDay: '[Besok pukul] LT',
|
|
58
|
+
nextWeek: 'dddd [pukul] LT',
|
|
59
|
+
lastDay: '[Kemarin pukul] LT',
|
|
60
|
+
lastWeek: 'dddd [lalu pukul] LT',
|
|
61
|
+
sameElse: 'L',
|
|
62
|
+
},
|
|
63
|
+
relativeTime: {
|
|
64
|
+
future: 'dalam %s',
|
|
65
|
+
past: '%s yang lalu',
|
|
66
|
+
s: 'beberapa detik',
|
|
67
|
+
ss: '%d detik',
|
|
68
|
+
m: 'semenit',
|
|
69
|
+
mm: '%d menit',
|
|
70
|
+
h: 'sejam',
|
|
71
|
+
hh: '%d jam',
|
|
72
|
+
d: 'sehari',
|
|
73
|
+
dd: '%d hari',
|
|
74
|
+
M: 'sebulan',
|
|
75
|
+
MM: '%d bulan',
|
|
76
|
+
y: 'setahun',
|
|
77
|
+
yy: '%d tahun',
|
|
78
|
+
},
|
|
79
|
+
week: {
|
|
80
|
+
dow: 0, // Sunday is the first day of the week.
|
|
81
|
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
return id;
|
|
86
|
+
|
|
87
|
+
})));
|