Version Description
- Feature: Added Font and Font size options in simple table.
- Feature: Added new option for showing HTML code in exported files like Print, Copy, CSV and Excel.
- Updated moment.js library.
- Compatibility with WordPress 5.8 approved.
- Other small bug fixes and stability improvements.
Download this release
Release Info
Developer | wpDataTables |
Plugin | wpDataTables Lite |
Version | 2.1.16 |
Comparing to | |
See all releases |
Code changes from version 2.1.15 to 2.1.16
- assets/css/wdt.simpleTable.css +75 -15
- assets/css/wdt.simpleTable.min.css +1 -1
- assets/js/moment/LICENSE +2 -2
- assets/js/moment/locale/ar-dz.js +167 -0
- assets/js/moment/locale/ar-kw.js +65 -0
- assets/js/moment/locale/ar-ly.js +182 -0
- assets/js/moment/locale/ar-ma.js +45 -38
- assets/js/moment/locale/ar-sa.js +80 -68
- assets/js/moment/locale/ar-tn.js +21 -13
- assets/js/moment/locale/ar.js +164 -100
- assets/js/moment/locale/az.js +56 -48
- assets/js/moment/locale/be.js +91 -73
- assets/js/moment/locale/bg.js +60 -52
- assets/js/moment/locale/bm.js +62 -0
- assets/js/moment/locale/bn-bd.js +139 -0
- assets/js/moment/locale/bn.js +86 -70
- assets/js/moment/locale/bo.js +90 -67
- assets/js/moment/locale/br.js +127 -58
- assets/js/moment/locale/bs.js +130 -111
- assets/js/moment/locale/ca.js +81 -52
- assets/js/moment/locale/cs.js +145 -134
- assets/js/moment/locale/cv.js +49 -39
- assets/js/moment/locale/cy.js +48 -19
- assets/js/moment/locale/da.js +47 -43
- assets/js/moment/locale/de-at.js +59 -46
- assets/js/moment/locale/de-ch.js +87 -0
- assets/js/moment/locale/de.js +57 -44
- assets/js/moment/locale/dv.js +68 -66
- assets/js/moment/locale/el.js +70 -53
- assets/js/moment/locale/en-au.js +62 -49
- assets/js/moment/locale/en-ca.js +58 -46
- assets/js/moment/locale/en-gb.js +61 -49
- assets/js/moment/locale/en-ie.js +61 -49
- assets/js/moment/locale/en-il.js +75 -0
- assets/js/moment/locale/en-in.js +79 -0
- assets/js/moment/locale/en-nz.js +62 -49
- assets/js/moment/locale/en-sg.js +79 -0
- assets/js/moment/locale/eo.js +52 -46
- assets/js/moment/locale/es-do.js +115 -0
- assets/js/moment/locale/es-mx.js +117 -0
- assets/js/moment/locale/es-us.js +117 -0
- assets/js/moment/locale/es.js +89 -51
- assets/js/moment/locale/et.js +62 -53
- assets/js/moment/locale/eu.js +57 -47
- assets/js/moment/locale/fa.js +88 -72
- assets/js/moment/locale/fi.js +103 -78
- assets/js/moment/locale/fil.js +69 -0
- assets/js/moment/locale/fo.js +50 -43
- assets/js/moment/locale/fr-ca.js +61 -39
- assets/js/moment/locale/fr-ch.js +64 -42
- assets/js/moment/locale/fr.js +93 -40
- assets/js/moment/locale/fy.js +59 -42
- assets/js/moment/locale/ga.js +106 -0
- assets/js/moment/locale/gd.js +84 -54
- assets/js/moment/locale/gl.js +60 -50
- assets/js/moment/locale/gom-deva.js +135 -0
- assets/js/moment/locale/gom-latn.js +135 -0
- assets/js/moment/locale/gu.js +132 -0
- assets/js/moment/locale/he.js +65 -42
- assets/js/moment/locale/hi.js +118 -66
- assets/js/moment/locale/hr.js +135 -113
- assets/js/moment/locale/hu.js +90 -70
- assets/js/moment/locale/hy-am.js +60 -52
- assets/js/moment/locale/id.js +47 -43
- assets/js/moment/locale/is.js +115 -92
- assets/js/moment/locale/it-ch.js +75 -0
- assets/js/moment/locale/it.js +92 -45
- assets/js/moment/locale/ja.js +134 -40
- assets/js/moment/locale/jv.js +47 -43
- assets/js/moment/locale/ka.js +70 -56
- assets/js/moment/locale/kk.js +50 -44
- assets/js/moment/locale/km.js +69 -14
- assets/js/moment/locale/kn.js +134 -0
- assets/js/moment/locale/ko.js +67 -49
- assets/js/moment/locale/ku.js +129 -0
- assets/js/moment/locale/ky.js +95 -0
- assets/js/moment/locale/lb.js +45 -33
- assets/js/moment/locale/lo.js +48 -41
- assets/js/moment/locale/lt.js +83 -64
- assets/js/moment/locale/lv.js +63 -55
- assets/js/moment/locale/me.js +72 -52
- assets/js/moment/locale/mi.js +70 -0
- assets/js/moment/locale/mk.js +59 -52
- assets/js/moment/locale/ml.js +61 -41
- assets/js/moment/locale/mn.js +110 -0
- assets/js/moment/locale/mr.js +144 -89
- assets/js/moment/locale/ms-my.js +49 -44
- assets/js/moment/locale/ms.js +46 -42
- assets/js/moment/locale/mt.js +66 -0
- assets/js/moment/locale/my.js +42 -33
- assets/js/moment/locale/nb.js +49 -38
- assets/js/moment/locale/ne.js +76 -66
- assets/js/moment/locale/nl-be.js +113 -0
- assets/js/moment/locale/nl.js +87 -43
- assets/js/moment/locale/nn.js +50 -39
- assets/js/moment/locale/oc-lnc.js +94 -0
- assets/js/moment/locale/pa-in.js +132 -0
- assets/js/moment/locale/pl.js +112 -67
- assets/js/moment/locale/pt-br.js +47 -39
- assets/js/moment/locale/pt.js +50 -41
- assets/js/moment/locale/ro.js +53 -41
- assets/js/moment/locale/ru.js +148 -97
- assets/js/moment/locale/sd.js +92 -0
- assets/js/moment/locale/se.js +46 -39
- assets/js/moment/locale/si.js +54 -41
- assets/js/moment/locale/sk.js +116 -111
- assets/js/moment/locale/sl.js +151 -130
- assets/js/moment/locale/sq.js +53 -46
- assets/js/moment/locale/sr-cyrl.js +75 -56
- assets/js/moment/locale/sr.js +75 -54
- assets/js/moment/locale/ss.js +94 -0
- assets/js/moment/locale/sv.js +54 -42
- assets/js/moment/locale/sw.js +48 -41
- assets/js/moment/locale/ta.js +79 -68
- assets/js/moment/locale/te.js +54 -45
- assets/js/moment/locale/tet.js +79 -0
- assets/js/moment/locale/tg.js +127 -0
- assets/js/moment/locale/th.js +49 -39
- assets/js/moment/locale/tk.js +102 -0
- assets/js/moment/locale/tl-ph.js +52 -46
- assets/js/moment/locale/tlh.js +75 -58
- assets/js/moment/locale/tr.js +94 -67
- assets/js/moment/locale/tzl.js +73 -60
- assets/js/moment/locale/tzm-latn.js +44 -38
- assets/js/moment/locale/tzm.js +41 -35
- assets/js/moment/locale/ug-cn.js +121 -0
- assets/js/moment/locale/uk.js +106 -78
- assets/js/moment/locale/ur.js +93 -0
- assets/js/moment/locale/uz-latn.js +64 -0
- assets/js/moment/locale/uz.js +45 -41
- assets/js/moment/locale/vi.js +67 -43
- assets/js/moment/locale/x-pseudo.js +82 -0
- assets/js/moment/locale/yo.js +64 -0
- assets/js/moment/locale/zh-cn.js +81 -77
- assets/js/moment/locale/zh-hk.js +112 -0
- assets/js/moment/locale/zh-mo.js +111 -0
- assets/js/moment/locale/zh-tw.js +71 -62
- assets/js/moment/moment.js +2 -3
- assets/js/wpdatatables/admin/constructor/wdt.simpleTable.js +103 -52
- assets/js/wpdatatables/admin/table-settings/main.js +7 -0
- assets/js/wpdatatables/admin/table-settings/table_config_object.js +283 -272
- config/config.inc.php +1 -1
- readme.txt +11 -2
- source/class.wdtconfigcontroller.php +4 -0
- source/class.wpdatatable.php +46 -8
- source/class.wpdatatablerows.php +26 -11
- templates/admin/table-settings/simple_table_settings_block.inc.php +18 -1
- templates/admin/table-settings/table_settings_block.inc.php +23 -0
- wpdatatables.php +1 -1
assets/css/wdt.simpleTable.css
CHANGED
@@ -3,11 +3,13 @@
|
|
3 |
src: url(../fonts/wpDataTablesIcons.eot);
|
4 |
src: url(../fonts/wpDataTablesIcons.eot?#iefix) format('embedded-opentype'), url(../fonts/wpDataTablesIcons.woff) format('woff'), url(../fonts/wpDataTablesIcons.ttf) format('truetype'), url(../fonts/wpDataTablesIcons.svg#wpDataTablesIcons) format('svg');
|
5 |
}
|
|
|
6 |
.wpdt-c.wpDataTableContainerSimpleTable {
|
7 |
margin-top: 0;
|
8 |
margin-bottom: 20px;
|
9 |
padding: 0;
|
10 |
}
|
|
|
11 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable,
|
12 |
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable {
|
13 |
display: table;
|
@@ -26,14 +28,17 @@
|
|
26 |
width: 100%;
|
27 |
overflow-x: auto;
|
28 |
}
|
|
|
29 |
.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll table.wpdtSimpleTable {
|
30 |
position: static;
|
31 |
width: max-content !important;
|
32 |
table-layout: fixed;
|
33 |
}
|
|
|
34 |
.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll table.wpdtSimpleTable td {
|
35 |
white-space: normal;
|
36 |
}
|
|
|
37 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.even td.wpdt-cell,
|
38 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.odd td.wpdt-cell,
|
39 |
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.even td.wpdt-cell,
|
@@ -45,7 +50,7 @@
|
|
45 |
border: 1px solid #ccc;
|
46 |
height: 22px;
|
47 |
empty-cells: show;
|
48 |
-
line-height:
|
49 |
padding: 10px;
|
50 |
vertical-align: middle;
|
51 |
text-align: center;
|
@@ -63,8 +68,9 @@
|
|
63 |
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td {
|
64 |
background-color: #fff;
|
65 |
}
|
|
|
66 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,
|
67 |
-
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th{
|
68 |
cursor: default;
|
69 |
background-color: #eee;
|
70 |
white-space: normal;
|
@@ -73,10 +79,12 @@
|
|
73 |
box-shadow: none;
|
74 |
text-shadow: none;
|
75 |
}
|
|
|
76 |
.wpdt-c .wdt-datatables-admin-wrap div.wpDataTableContainerSimpleTable .wpdtSimpleTable tr.even,
|
77 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable tr.even {
|
78 |
background-color: #eeeeee;
|
79 |
}
|
|
|
80 |
.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td {
|
81 |
padding: 10px;
|
82 |
font-size: inherit;
|
@@ -84,6 +92,7 @@
|
|
84 |
white-space: normal;
|
85 |
height: 21px;
|
86 |
}
|
|
|
87 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:first-child,
|
88 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:first-child,
|
89 |
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:first-child,
|
@@ -91,21 +100,25 @@
|
|
91 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:last-child,
|
92 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:last-child,
|
93 |
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:last-child,
|
94 |
-
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:last-child{
|
95 |
border: 1px solid #ccc;
|
96 |
}
|
97 |
-
|
|
|
98 |
border-bottom-color: #ccc;
|
99 |
}
|
|
|
100 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td img {
|
101 |
max-width: 100%;
|
102 |
height: auto;
|
103 |
}
|
|
|
104 |
.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td ul,
|
105 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td ul {
|
106 |
list-style-type: initial;
|
107 |
margin-left: 2em;
|
108 |
}
|
|
|
109 |
.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td ul li,
|
110 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td ul li {
|
111 |
text-align: initial;
|
@@ -120,6 +133,7 @@
|
|
120 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable th.wpdt-empty-cell {
|
121 |
white-space: pre-line;
|
122 |
}
|
|
|
123 |
.wpdt-c.wpDataTableContainerConfigSimpleTable table td a[data-link-content="wpdt-link-content"] button,
|
124 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell a[data-link-content="wpdt-link-content"] button {
|
125 |
background-color: #4CAF50;
|
@@ -132,71 +146,108 @@
|
|
132 |
cursor: pointer;
|
133 |
word-break: break-word;
|
134 |
}
|
|
|
135 |
.wpdt-c.wpDataTableContainerConfigSimpleTable table td a[data-link-content="wpdt-link-content"] button:hover,
|
136 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell a[data-link-content="wpdt-link-content"] button:hover {
|
137 |
background-color: #449d48;
|
138 |
}
|
|
|
139 |
.wpdt-modals .wpdt-star-rating,
|
140 |
.wpdt-c .wpdt-star-rating {
|
141 |
font-size: 45px;
|
142 |
width: 100%;
|
143 |
}
|
|
|
144 |
.wpdt-c .wpdt-bold {
|
145 |
font-weight: bold !important;
|
146 |
}
|
|
|
147 |
.wpdt-c .wpdt-italic {
|
148 |
font-style: italic !important;
|
149 |
}
|
|
|
150 |
.wpdt-c .wpdt-underline {
|
151 |
text-decoration: underline !important;
|
152 |
}
|
|
|
153 |
.wpdt-c .wpdt-align-left {
|
154 |
text-align: left !important;
|
155 |
}
|
|
|
156 |
.wpdt-c .wpdt-align-right {
|
157 |
text-align: right !important;
|
158 |
}
|
|
|
159 |
.wpdt-c .wpdt-align-center {
|
160 |
text-align: center !important;
|
161 |
}
|
|
|
162 |
.wpdt-c .wpdt-align-justify {
|
163 |
text-align: justify !important;
|
164 |
}
|
|
|
165 |
.wpdt-c .wpdt-valign-top {
|
166 |
vertical-align: top !important;
|
167 |
}
|
|
|
168 |
.wpdt-c .wpdt-valign-bottom {
|
169 |
vertical-align: bottom !important;
|
170 |
}
|
|
|
171 |
.wpdt-c .wpdt-valign-middle {
|
172 |
vertical-align: middle !important;
|
173 |
}
|
|
|
174 |
.wpdt-c .wpdt-overflow-text {
|
175 |
white-space: nowrap !important;
|
176 |
overflow: visible !important;
|
177 |
}
|
|
|
178 |
.wpdt-c .wpdt-wrap-text {
|
179 |
white-space: normal !important;
|
180 |
overflow: visible !important;
|
181 |
}
|
|
|
182 |
.wpdt-c .wpdt-clip-text {
|
183 |
white-space: nowrap !important;
|
184 |
overflow: hidden !important;
|
185 |
text-overflow: ellipsis;
|
186 |
}
|
187 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell span[data-content="wpdt-star-rating"],
|
189 |
-
.wpdt-c .wpDataTableContainerConfigSimpleTable table td span[data-content="wpdt-star-rating"]{
|
190 |
pointer-events: none !important;
|
191 |
}
|
|
|
192 |
.wpdt-c .wpDataTableContainerConfigSimpleTable td span[data-content="wpdt-star-rating"] .jq-ry-container,
|
193 |
.wpdt-c .wpDataTableContainerSimpleTable td.wpdt-cell span[data-content="wpdt-star-rating"] .jq-ry-container,
|
194 |
-
.wpdt-c.wpDataTableContainerSimpleTable td.wpdt-cell span[data-content="wpdt-star-rating"] .jq-ry-container{
|
195 |
-
padding:0;
|
196 |
-
margin:0;
|
197 |
-
display:inline-block;
|
198 |
-
cursor:default !important;
|
199 |
}
|
|
|
200 |
.wpdt-c .wpdtSimpleTable .wpdt-cell pre {
|
201 |
overflow: auto;
|
202 |
}
|
@@ -204,7 +255,8 @@
|
|
204 |
.wpdt-c .rating {
|
205 |
border: none;
|
206 |
}
|
207 |
-
|
|
|
208 |
position: relative;
|
209 |
display: inline-block;
|
210 |
}
|
@@ -216,9 +268,11 @@
|
|
216 |
display: inline-block;
|
217 |
content: "\f006";
|
218 |
}
|
|
|
219 |
.wpdt-c .rating > span.full.rated:after {
|
220 |
color: #FFD700;
|
221 |
}
|
|
|
222 |
.wpdt-c .rating > span.full:after {
|
223 |
color: #ccc;
|
224 |
}
|
@@ -234,12 +288,14 @@
|
|
234 |
left: 1px;
|
235 |
color: #FFD700;
|
236 |
}
|
|
|
237 |
.wpdt-c .rating > .half-reflect:after {
|
238 |
content: "\e92c";
|
239 |
font-family: 'wpDataTablesIcons' !important;
|
240 |
transform: rotateY(180deg);
|
241 |
color: #ccc;
|
242 |
}
|
|
|
243 |
.wpdt-c table.bt thead,
|
244 |
.wpdt-c table.bt tbody th {
|
245 |
display: none;
|
@@ -251,8 +307,8 @@
|
|
251 |
border: none;
|
252 |
display: block;
|
253 |
|
254 |
-
float: left\9;
|
255 |
-
width: 100
|
256 |
}
|
257 |
|
258 |
|
@@ -273,11 +329,13 @@
|
|
273 |
.wpdt-c table.bt.bt--no-header tbody td::before {
|
274 |
display: none;
|
275 |
}
|
|
|
276 |
.wpdt-c table.wpdtSimpleTable.columnBlock td {
|
277 |
display: block;
|
278 |
height: auto !important;
|
279 |
border: 1px solid #eee !important;
|
280 |
}
|
|
|
281 |
.wpdt-c table.wpdtSimpleTable.bt td {
|
282 |
height: auto !important;
|
283 |
border: 1px solid #ccc !important;
|
@@ -285,12 +343,13 @@
|
|
285 |
width: 100% !important;
|
286 |
box-sizing: border-box;
|
287 |
}
|
|
|
288 |
.wpdt-c table.wpdtSimpleTable.bt[data-has-header='1'] td {
|
289 |
width: 50% !important;
|
290 |
float: left;
|
291 |
}
|
292 |
|
293 |
-
table.wpdtSimpleTable.bt[data-has-header='1'] td.wpdt-header-classes{
|
294 |
background-color: #eee;
|
295 |
}
|
296 |
|
@@ -298,8 +357,9 @@ table.wpdtSimpleTable.bt[data-has-header='1'] td.wpdt-header-classes{
|
|
298 |
height: auto !important;
|
299 |
border-bottom: 1px solid #fff !important;
|
300 |
}
|
|
|
301 |
.wpdt-c table.wpdtSimpleTable.bt tr,
|
302 |
-
.wpdt-c table.wpdtSimpleTable.columnBlock tr{
|
303 |
border: 1px solid #ccc;
|
304 |
display: -webkit-flex;
|
305 |
display: -ms-flexbox;
|
3 |
src: url(../fonts/wpDataTablesIcons.eot);
|
4 |
src: url(../fonts/wpDataTablesIcons.eot?#iefix) format('embedded-opentype'), url(../fonts/wpDataTablesIcons.woff) format('woff'), url(../fonts/wpDataTablesIcons.ttf) format('truetype'), url(../fonts/wpDataTablesIcons.svg#wpDataTablesIcons) format('svg');
|
5 |
}
|
6 |
+
|
7 |
.wpdt-c.wpDataTableContainerSimpleTable {
|
8 |
margin-top: 0;
|
9 |
margin-bottom: 20px;
|
10 |
padding: 0;
|
11 |
}
|
12 |
+
|
13 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable,
|
14 |
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable {
|
15 |
display: table;
|
28 |
width: 100%;
|
29 |
overflow-x: auto;
|
30 |
}
|
31 |
+
|
32 |
.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll table.wpdtSimpleTable {
|
33 |
position: static;
|
34 |
width: max-content !important;
|
35 |
table-layout: fixed;
|
36 |
}
|
37 |
+
|
38 |
.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll table.wpdtSimpleTable td {
|
39 |
white-space: normal;
|
40 |
}
|
41 |
+
|
42 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.even td.wpdt-cell,
|
43 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.odd td.wpdt-cell,
|
44 |
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.even td.wpdt-cell,
|
50 |
border: 1px solid #ccc;
|
51 |
height: 22px;
|
52 |
empty-cells: show;
|
53 |
+
line-height: normal;
|
54 |
padding: 10px;
|
55 |
vertical-align: middle;
|
56 |
text-align: center;
|
68 |
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td {
|
69 |
background-color: #fff;
|
70 |
}
|
71 |
+
|
72 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,
|
73 |
+
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th {
|
74 |
cursor: default;
|
75 |
background-color: #eee;
|
76 |
white-space: normal;
|
79 |
box-shadow: none;
|
80 |
text-shadow: none;
|
81 |
}
|
82 |
+
|
83 |
.wpdt-c .wdt-datatables-admin-wrap div.wpDataTableContainerSimpleTable .wpdtSimpleTable tr.even,
|
84 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable tr.even {
|
85 |
background-color: #eeeeee;
|
86 |
}
|
87 |
+
|
88 |
.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td {
|
89 |
padding: 10px;
|
90 |
font-size: inherit;
|
92 |
white-space: normal;
|
93 |
height: 21px;
|
94 |
}
|
95 |
+
|
96 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:first-child,
|
97 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:first-child,
|
98 |
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:first-child,
|
100 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:last-child,
|
101 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:last-child,
|
102 |
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:last-child,
|
103 |
+
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:last-child {
|
104 |
border: 1px solid #ccc;
|
105 |
}
|
106 |
+
|
107 |
+
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr:last-child td {
|
108 |
border-bottom-color: #ccc;
|
109 |
}
|
110 |
+
|
111 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td img {
|
112 |
max-width: 100%;
|
113 |
height: auto;
|
114 |
}
|
115 |
+
|
116 |
.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td ul,
|
117 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td ul {
|
118 |
list-style-type: initial;
|
119 |
margin-left: 2em;
|
120 |
}
|
121 |
+
|
122 |
.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td ul li,
|
123 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td ul li {
|
124 |
text-align: initial;
|
133 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable th.wpdt-empty-cell {
|
134 |
white-space: pre-line;
|
135 |
}
|
136 |
+
|
137 |
.wpdt-c.wpDataTableContainerConfigSimpleTable table td a[data-link-content="wpdt-link-content"] button,
|
138 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell a[data-link-content="wpdt-link-content"] button {
|
139 |
background-color: #4CAF50;
|
146 |
cursor: pointer;
|
147 |
word-break: break-word;
|
148 |
}
|
149 |
+
|
150 |
.wpdt-c.wpDataTableContainerConfigSimpleTable table td a[data-link-content="wpdt-link-content"] button:hover,
|
151 |
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell a[data-link-content="wpdt-link-content"] button:hover {
|
152 |
background-color: #449d48;
|
153 |
}
|
154 |
+
|
155 |
.wpdt-modals .wpdt-star-rating,
|
156 |
.wpdt-c .wpdt-star-rating {
|
157 |
font-size: 45px;
|
158 |
width: 100%;
|
159 |
}
|
160 |
+
|
161 |
.wpdt-c .wpdt-bold {
|
162 |
font-weight: bold !important;
|
163 |
}
|
164 |
+
|
165 |
.wpdt-c .wpdt-italic {
|
166 |
font-style: italic !important;
|
167 |
}
|
168 |
+
|
169 |
.wpdt-c .wpdt-underline {
|
170 |
text-decoration: underline !important;
|
171 |
}
|
172 |
+
|
173 |
.wpdt-c .wpdt-align-left {
|
174 |
text-align: left !important;
|
175 |
}
|
176 |
+
|
177 |
.wpdt-c .wpdt-align-right {
|
178 |
text-align: right !important;
|
179 |
}
|
180 |
+
|
181 |
.wpdt-c .wpdt-align-center {
|
182 |
text-align: center !important;
|
183 |
}
|
184 |
+
|
185 |
.wpdt-c .wpdt-align-justify {
|
186 |
text-align: justify !important;
|
187 |
}
|
188 |
+
|
189 |
.wpdt-c .wpdt-valign-top {
|
190 |
vertical-align: top !important;
|
191 |
}
|
192 |
+
|
193 |
.wpdt-c .wpdt-valign-bottom {
|
194 |
vertical-align: bottom !important;
|
195 |
}
|
196 |
+
|
197 |
.wpdt-c .wpdt-valign-middle {
|
198 |
vertical-align: middle !important;
|
199 |
}
|
200 |
+
|
201 |
.wpdt-c .wpdt-overflow-text {
|
202 |
white-space: nowrap !important;
|
203 |
overflow: visible !important;
|
204 |
}
|
205 |
+
|
206 |
.wpdt-c .wpdt-wrap-text {
|
207 |
white-space: normal !important;
|
208 |
overflow: visible !important;
|
209 |
}
|
210 |
+
|
211 |
.wpdt-c .wpdt-clip-text {
|
212 |
white-space: nowrap !important;
|
213 |
overflow: hidden !important;
|
214 |
text-overflow: ellipsis;
|
215 |
}
|
216 |
|
217 |
+
.wpdt-c #wpdt-font-family,
|
218 |
+
.wpdt-c #wpdt-font-family:focus,
|
219 |
+
.wpdt-c #wpdt-font-size:focus,
|
220 |
+
.wpdt-c #wpdt-font-size {
|
221 |
+
border: none !important;
|
222 |
+
background-color: #f0f0f0;
|
223 |
+
outline: none !important;
|
224 |
+
color: #5f6368;
|
225 |
+
box-shadow: none !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.wpdt-c #wpdt-font-family option,
|
229 |
+
.wpdt-c #wpdt-font-size option {
|
230 |
+
border: none !important;
|
231 |
+
background-color: #FFFFFF;
|
232 |
+
outline: none !important;
|
233 |
+
color: #5f6368;
|
234 |
+
box-shadow: none !important;
|
235 |
+
}
|
236 |
+
|
237 |
.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell span[data-content="wpdt-star-rating"],
|
238 |
+
.wpdt-c .wpDataTableContainerConfigSimpleTable table td span[data-content="wpdt-star-rating"] {
|
239 |
pointer-events: none !important;
|
240 |
}
|
241 |
+
|
242 |
.wpdt-c .wpDataTableContainerConfigSimpleTable td span[data-content="wpdt-star-rating"] .jq-ry-container,
|
243 |
.wpdt-c .wpDataTableContainerSimpleTable td.wpdt-cell span[data-content="wpdt-star-rating"] .jq-ry-container,
|
244 |
+
.wpdt-c.wpDataTableContainerSimpleTable td.wpdt-cell span[data-content="wpdt-star-rating"] .jq-ry-container {
|
245 |
+
padding: 0;
|
246 |
+
margin: 0;
|
247 |
+
display: inline-block;
|
248 |
+
cursor: default !important;
|
249 |
}
|
250 |
+
|
251 |
.wpdt-c .wpdtSimpleTable .wpdt-cell pre {
|
252 |
overflow: auto;
|
253 |
}
|
255 |
.wpdt-c .rating {
|
256 |
border: none;
|
257 |
}
|
258 |
+
|
259 |
+
.wpdt-c .rating > span {
|
260 |
position: relative;
|
261 |
display: inline-block;
|
262 |
}
|
268 |
display: inline-block;
|
269 |
content: "\f006";
|
270 |
}
|
271 |
+
|
272 |
.wpdt-c .rating > span.full.rated:after {
|
273 |
color: #FFD700;
|
274 |
}
|
275 |
+
|
276 |
.wpdt-c .rating > span.full:after {
|
277 |
color: #ccc;
|
278 |
}
|
288 |
left: 1px;
|
289 |
color: #FFD700;
|
290 |
}
|
291 |
+
|
292 |
.wpdt-c .rating > .half-reflect:after {
|
293 |
content: "\e92c";
|
294 |
font-family: 'wpDataTablesIcons' !important;
|
295 |
transform: rotateY(180deg);
|
296 |
color: #ccc;
|
297 |
}
|
298 |
+
|
299 |
.wpdt-c table.bt thead,
|
300 |
.wpdt-c table.bt tbody th {
|
301 |
display: none;
|
307 |
border: none;
|
308 |
display: block;
|
309 |
|
310 |
+
float: left \9;
|
311 |
+
width: 100% \9;
|
312 |
}
|
313 |
|
314 |
|
329 |
.wpdt-c table.bt.bt--no-header tbody td::before {
|
330 |
display: none;
|
331 |
}
|
332 |
+
|
333 |
.wpdt-c table.wpdtSimpleTable.columnBlock td {
|
334 |
display: block;
|
335 |
height: auto !important;
|
336 |
border: 1px solid #eee !important;
|
337 |
}
|
338 |
+
|
339 |
.wpdt-c table.wpdtSimpleTable.bt td {
|
340 |
height: auto !important;
|
341 |
border: 1px solid #ccc !important;
|
343 |
width: 100% !important;
|
344 |
box-sizing: border-box;
|
345 |
}
|
346 |
+
|
347 |
.wpdt-c table.wpdtSimpleTable.bt[data-has-header='1'] td {
|
348 |
width: 50% !important;
|
349 |
float: left;
|
350 |
}
|
351 |
|
352 |
+
table.wpdtSimpleTable.bt[data-has-header='1'] td.wpdt-header-classes {
|
353 |
background-color: #eee;
|
354 |
}
|
355 |
|
357 |
height: auto !important;
|
358 |
border-bottom: 1px solid #fff !important;
|
359 |
}
|
360 |
+
|
361 |
.wpdt-c table.wpdtSimpleTable.bt tr,
|
362 |
+
.wpdt-c table.wpdtSimpleTable.columnBlock tr {
|
363 |
border: 1px solid #ccc;
|
364 |
display: -webkit-flex;
|
365 |
display: -ms-flexbox;
|
assets/css/wdt.simpleTable.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@font-face{font-family:
|
1 |
+
@font-face{font-family:wpDataTablesIcons!important;src:url(../fonts/wpDataTablesIcons.eot);src:url(../fonts/wpDataTablesIcons.eot?#iefix) format('embedded-opentype'),url(../fonts/wpDataTablesIcons.woff) format('woff'),url(../fonts/wpDataTablesIcons.ttf) format('truetype'),url(../fonts/wpDataTablesIcons.svg#wpDataTablesIcons) format('svg')}.wpdt-c.wpDataTableContainerSimpleTable{margin-top:0;margin-bottom:20px;padding:0}.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable{display:table;background-color:transparent;border-collapse:collapse;border-spacing:0;clear:both;margin:0 auto;width:100%;table-layout:auto;overflow:auto;text-align:center}.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll{width:100%;overflow-x:auto}.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll table.wpdtSimpleTable{position:static;width:max-content!important;table-layout:fixed}.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll table.wpdtSimpleTable td{white-space:normal}.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.even td.wpdt-cell,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.odd td.wpdt-cell,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.even td.wpdt-cell,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.odd td.wpdt-cell,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th{border:1px solid #ccc;height:22px;empty-cells:show;line-height:normal;padding:10px;vertical-align:middle;text-align:center;overflow:hidden;word-break:normal}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable{font-size:inherit}.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th{background-color:#fff}.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th{cursor:default;background-color:#eee;white-space:normal;font-weight:400;background-image:none!important;box-shadow:none;text-shadow:none}.wpdt-c .wdt-datatables-admin-wrap div.wpDataTableContainerSimpleTable .wpdtSimpleTable tr.even,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable tr.even{background-color:#eee}.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td{padding:10px;font-size:inherit;vertical-align:middle;white-space:normal;height:21px;line-height:normal}.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:first-child,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:last-child,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:first-child,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:last-child,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:first-child,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:last-child,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:first-child,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:last-child{border:1px solid #ccc}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr:last-child td{border-bottom-color:#ccc}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td img{max-width:100%;height:auto}.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td ul,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td ul{list-style-type:initial;margin-left:2em}.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td ul li,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td ul li{text-align:initial}.wpdt-c .wpDataTableContainerConfigSimpleTable .wpdtSimpleTable tr.even td,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable tr.even td{background:#eee}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-empty-cell,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable th.wpdt-empty-cell{white-space:pre-line}.wpdt-c.wpDataTableContainerConfigSimpleTable table td a[data-link-content=wpdt-link-content] button,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell a[data-link-content=wpdt-link-content] button{background-color:#4caf50;border:none;border-radius:5px;padding:8px 15px;text-decoration:none;font-size:16px;color:#fff;cursor:pointer;word-break:break-word}.wpdt-c.wpDataTableContainerConfigSimpleTable table td a[data-link-content=wpdt-link-content] button:hover,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell a[data-link-content=wpdt-link-content] button:hover{background-color:#449d48}.wpdt-c .wpdt-star-rating,.wpdt-modals .wpdt-star-rating{font-size:45px;width:100%}.wpdt-c .wpdt-bold{font-weight:700!important}.wpdt-c .wpdt-italic{font-style:italic!important}.wpdt-c .wpdt-underline{text-decoration:underline!important}.wpdt-c .wpdt-align-left{text-align:left!important}.wpdt-c .wpdt-align-right{text-align:right!important}.wpdt-c .wpdt-align-center{text-align:center!important}.wpdt-c .wpdt-align-justify{text-align:justify!important}.wpdt-c .wpdt-valign-top{vertical-align:top!important}.wpdt-c .wpdt-valign-bottom{vertical-align:bottom!important}.wpdt-c .wpdt-valign-middle{vertical-align:middle!important}.wpdt-c .wpdt-overflow-text{white-space:nowrap!important;overflow:visible!important}.wpdt-c .wpdt-wrap-text{white-space:normal!important;overflow:visible!important}.wpdt-c .wpdt-clip-text{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis}.wpdt-c #wpdt-font-family,.wpdt-c #wpdt-font-family:focus,.wpdt-c #wpdt-font-size,.wpdt-c #wpdt-font-size:focus{border:none!important;background-color:#f0f0f0;outline:0!important;color:#5f6368;box-shadow:none!important}.wpdt-c #wpdt-font-family option,.wpdt-c #wpdt-font-size option{border:none!important;background-color:#fff;outline:0!important;color:#5f6368;box-shadow:none!important}.wpdt-c .wpDataTableContainerConfigSimpleTable table td span[data-content=wpdt-star-rating],.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell span[data-content=wpdt-star-rating]{pointer-events:none!important}.wpdt-c .wpDataTableContainerConfigSimpleTable td span[data-content=wpdt-star-rating] .jq-ry-container,.wpdt-c .wpDataTableContainerSimpleTable td.wpdt-cell span[data-content=wpdt-star-rating] .jq-ry-container,.wpdt-c.wpDataTableContainerSimpleTable td.wpdt-cell span[data-content=wpdt-star-rating] .jq-ry-container{padding:0;margin:0;display:inline-block;cursor:default!important}.wpdt-c .wpdtSimpleTable .wpdt-cell pre{overflow:auto}.wpdt-c .rating{border:none}.wpdt-c .rating>span{position:relative;display:inline-block}.wpdt-c .rating>span:after{margin:5px;font-size:1.25em;font-family:wpDataTablesIcons!important;display:inline-block;content:"\f006"}.wpdt-c .rating>span.full.rated:after{color:gold}.wpdt-c .rating>span.full:after{color:#ccc}.wpdt-c .rating>.half:before{content:"\e92c";margin:5px;font-size:1.25em;font-family:wpDataTablesIcons!important;display:inline-block;position:absolute;top:0;left:1px;color:gold}.wpdt-c .rating>.half-reflect:after{content:"\e92c";font-family:wpDataTablesIcons!important;transform:rotateY(180deg);color:#ccc}.wpdt-c table.bt tbody th,.wpdt-c table.bt thead{display:none}.wpdt-c table.bt tbody td,.wpdt-c table.bt tfoot td,.wpdt-c table.bt tfoot th{border:none;display:block}.wpdt-c table.bt tbody td.bt-hide,.wpdt-c table.bt tfoot td.bt-hide,.wpdt-c table.bt tfoot th.bt-hide{display:none}.wdt-res-wrapper.active{max-height:310px;overflow:auto;-webkit-overflow-scrolling:touch}.wpdt-c table.bt.bt--no-header tbody td::before,.wpdt-c table.bt.bt--no-header tfoot td::before{display:none}.wpdt-c table.wpdtSimpleTable.columnBlock td{display:block;height:auto!important;border:1px solid #eee!important}.wpdt-c table.wpdtSimpleTable.bt td{height:auto!important;border:1px solid #ccc!important;white-space:normal;width:100%!important;box-sizing:border-box}.wpdt-c table.wpdtSimpleTable.bt[data-has-header='1'] td{width:50%!important;float:left}table.wpdtSimpleTable.bt[data-has-header='1'] td.wpdt-header-classes{background-color:#eee}.wpdt-c table.wpdtSimpleTable.bt tr.even td:not(:last-child){height:auto!important;border-bottom:1px solid #fff!important}.wpdt-c table.wpdtSimpleTable.bt tr,.wpdt-c table.wpdtSimpleTable.columnBlock tr{border:1px solid #ccc;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}
|
assets/js/moment/LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
Copyright (c)
|
2 |
|
3 |
Permission is hereby granted, free of charge, to any person
|
4 |
obtaining a copy of this software and associated documentation
|
@@ -19,4 +19,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
19 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
20 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
21 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22 |
-
OTHER DEALINGS IN THE SOFTWARE.
|
1 |
+
Copyright (c) JS Foundation and other contributors
|
2 |
|
3 |
Permission is hereby granted, free of charge, to any person
|
4 |
obtaining a copy of this software and associated documentation
|
19 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
20 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
21 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22 |
+
OTHER DEALINGS IN THE SOFTWARE.
|
assets/js/moment/locale/ar-dz.js
ADDED
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Arabic (Algeria) [ar-dz]
|
3 |
+
//! author : Amine Roukh: https://github.com/Amine27
|
4 |
+
//! author : Abdel Said: https://github.com/abdelsaid
|
5 |
+
//! author : Ahmed Elkhatib
|
6 |
+
//! author : forabi https://github.com/forabi
|
7 |
+
//! author : Noureddine LOUAHEDJ : https://github.com/noureddinem
|
8 |
+
|
9 |
+
;(function (global, factory) {
|
10 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
11 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
12 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
13 |
+
factory(global.moment)
|
14 |
+
}(this, (function (moment) { 'use strict';
|
15 |
+
|
16 |
+
//! moment.js locale configuration
|
17 |
+
|
18 |
+
var pluralForm = function (n) {
|
19 |
+
return n === 0
|
20 |
+
? 0
|
21 |
+
: n === 1
|
22 |
+
? 1
|
23 |
+
: n === 2
|
24 |
+
? 2
|
25 |
+
: n % 100 >= 3 && n % 100 <= 10
|
26 |
+
? 3
|
27 |
+
: n % 100 >= 11
|
28 |
+
? 4
|
29 |
+
: 5;
|
30 |
+
},
|
31 |
+
plurals = {
|
32 |
+
s: [
|
33 |
+
'أقل من ثانية',
|
34 |
+
'ثانية واحدة',
|
35 |
+
['ثانيتان', 'ثانيتين'],
|
36 |
+
'%d ثوان',
|
37 |
+
'%d ثانية',
|
38 |
+
'%d ثانية',
|
39 |
+
],
|
40 |
+
m: [
|
41 |
+
'أقل من دقيقة',
|
42 |
+
'دقيقة واحدة',
|
43 |
+
['دقيقتان', 'دقيقتين'],
|
44 |
+
'%d دقائق',
|
45 |
+
'%d دقيقة',
|
46 |
+
'%d دقيقة',
|
47 |
+
],
|
48 |
+
h: [
|
49 |
+
'أقل من ساعة',
|
50 |
+
'ساعة واحدة',
|
51 |
+
['ساعتان', 'ساعتين'],
|
52 |
+
'%d ساعات',
|
53 |
+
'%d ساعة',
|
54 |
+
'%d ساعة',
|
55 |
+
],
|
56 |
+
d: [
|
57 |
+
'أقل من يوم',
|
58 |
+
'يوم واحد',
|
59 |
+
['يومان', 'يومين'],
|
60 |
+
'%d أيام',
|
61 |
+
'%d يومًا',
|
62 |
+
'%d يوم',
|
63 |
+
],
|
64 |
+
M: [
|
65 |
+
'أقل من شهر',
|
66 |
+
'شهر واحد',
|
67 |
+
['شهران', 'شهرين'],
|
68 |
+
'%d أشهر',
|
69 |
+
'%d شهرا',
|
70 |
+
'%d شهر',
|
71 |
+
],
|
72 |
+
y: [
|
73 |
+
'أقل من عام',
|
74 |
+
'عام واحد',
|
75 |
+
['عامان', 'عامين'],
|
76 |
+
'%d أعوام',
|
77 |
+
'%d عامًا',
|
78 |
+
'%d عام',
|
79 |
+
],
|
80 |
+
},
|
81 |
+
pluralize = function (u) {
|
82 |
+
return function (number, withoutSuffix, string, isFuture) {
|
83 |
+
var f = pluralForm(number),
|
84 |
+
str = plurals[u][pluralForm(number)];
|
85 |
+
if (f === 2) {
|
86 |
+
str = str[withoutSuffix ? 0 : 1];
|
87 |
+
}
|
88 |
+
return str.replace(/%d/i, number);
|
89 |
+
};
|
90 |
+
},
|
91 |
+
months = [
|
92 |
+
'جانفي',
|
93 |
+
'فيفري',
|
94 |
+
'مارس',
|
95 |
+
'أفريل',
|
96 |
+
'ماي',
|
97 |
+
'جوان',
|
98 |
+
'جويلية',
|
99 |
+
'أوت',
|
100 |
+
'سبتمبر',
|
101 |
+
'أكتوبر',
|
102 |
+
'نوفمبر',
|
103 |
+
'ديسمبر',
|
104 |
+
];
|
105 |
+
|
106 |
+
var arDz = moment.defineLocale('ar-dz', {
|
107 |
+
months: months,
|
108 |
+
monthsShort: months,
|
109 |
+
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
110 |
+
weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
111 |
+
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
112 |
+
weekdaysParseExact: true,
|
113 |
+
longDateFormat: {
|
114 |
+
LT: 'HH:mm',
|
115 |
+
LTS: 'HH:mm:ss',
|
116 |
+
L: 'D/\u200FM/\u200FYYYY',
|
117 |
+
LL: 'D MMMM YYYY',
|
118 |
+
LLL: 'D MMMM YYYY HH:mm',
|
119 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
120 |
+
},
|
121 |
+
meridiemParse: /ص|م/,
|
122 |
+
isPM: function (input) {
|
123 |
+
return 'م' === input;
|
124 |
+
},
|
125 |
+
meridiem: function (hour, minute, isLower) {
|
126 |
+
if (hour < 12) {
|
127 |
+
return 'ص';
|
128 |
+
} else {
|
129 |
+
return 'م';
|
130 |
+
}
|
131 |
+
},
|
132 |
+
calendar: {
|
133 |
+
sameDay: '[اليوم عند الساعة] LT',
|
134 |
+
nextDay: '[غدًا عند الساعة] LT',
|
135 |
+
nextWeek: 'dddd [عند الساعة] LT',
|
136 |
+
lastDay: '[أمس عند الساعة] LT',
|
137 |
+
lastWeek: 'dddd [عند الساعة] LT',
|
138 |
+
sameElse: 'L',
|
139 |
+
},
|
140 |
+
relativeTime: {
|
141 |
+
future: 'بعد %s',
|
142 |
+
past: 'منذ %s',
|
143 |
+
s: pluralize('s'),
|
144 |
+
ss: pluralize('s'),
|
145 |
+
m: pluralize('m'),
|
146 |
+
mm: pluralize('m'),
|
147 |
+
h: pluralize('h'),
|
148 |
+
hh: pluralize('h'),
|
149 |
+
d: pluralize('d'),
|
150 |
+
dd: pluralize('d'),
|
151 |
+
M: pluralize('M'),
|
152 |
+
MM: pluralize('M'),
|
153 |
+
y: pluralize('y'),
|
154 |
+
yy: pluralize('y'),
|
155 |
+
},
|
156 |
+
postformat: function (string) {
|
157 |
+
return string.replace(/,/g, '،');
|
158 |
+
},
|
159 |
+
week: {
|
160 |
+
dow: 0, // Sunday is the first day of the week.
|
161 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
162 |
+
},
|
163 |
+
});
|
164 |
+
|
165 |
+
return arDz;
|
166 |
+
|
167 |
+
})));
|
assets/js/moment/locale/ar-kw.js
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Arabic (Kuwait) [ar-kw]
|
3 |
+
//! author : Nusret Parlak: https://github.com/nusretparlak
|
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 arKw = moment.defineLocale('ar-kw', {
|
15 |
+
months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
22 |
+
weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
|
23 |
+
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
24 |
+
weekdaysParseExact: true,
|
25 |
+
longDateFormat: {
|
26 |
+
LT: 'HH:mm',
|
27 |
+
LTS: 'HH:mm:ss',
|
28 |
+
L: 'DD/MM/YYYY',
|
29 |
+
LL: 'D MMMM YYYY',
|
30 |
+
LLL: 'D MMMM YYYY HH:mm',
|
31 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
32 |
+
},
|
33 |
+
calendar: {
|
34 |
+
sameDay: '[اليوم على الساعة] LT',
|
35 |
+
nextDay: '[غدا على الساعة] LT',
|
36 |
+
nextWeek: 'dddd [على الساعة] LT',
|
37 |
+
lastDay: '[أمس على الساعة] LT',
|
38 |
+
lastWeek: 'dddd [على الساعة] LT',
|
39 |
+
sameElse: 'L',
|
40 |
+
},
|
41 |
+
relativeTime: {
|
42 |
+
future: 'في %s',
|
43 |
+
past: 'منذ %s',
|
44 |
+
s: 'ثوان',
|
45 |
+
ss: '%d ثانية',
|
46 |
+
m: 'دقيقة',
|
47 |
+
mm: '%d دقائق',
|
48 |
+
h: 'ساعة',
|
49 |
+
hh: '%d ساعات',
|
50 |
+
d: 'يوم',
|
51 |
+
dd: '%d أيام',
|
52 |
+
M: 'شهر',
|
53 |
+
MM: '%d أشهر',
|
54 |
+
y: 'سنة',
|
55 |
+
yy: '%d سنوات',
|
56 |
+
},
|
57 |
+
week: {
|
58 |
+
dow: 0, // Sunday is the first day of the week.
|
59 |
+
doy: 12, // The week that contains Jan 12th is the first week of the year.
|
60 |
+
},
|
61 |
+
});
|
62 |
+
|
63 |
+
return arKw;
|
64 |
+
|
65 |
+
})));
|
assets/js/moment/locale/ar-ly.js
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Arabic (Lybia) [ar-ly]
|
3 |
+
//! author : Ali Hmer: https://github.com/kikoanis
|
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: '1',
|
16 |
+
2: '2',
|
17 |
+
3: '3',
|
18 |
+
4: '4',
|
19 |
+
5: '5',
|
20 |
+
6: '6',
|
21 |
+
7: '7',
|
22 |
+
8: '8',
|
23 |
+
9: '9',
|
24 |
+
0: '0',
|
25 |
+
},
|
26 |
+
pluralForm = function (n) {
|
27 |
+
return n === 0
|
28 |
+
? 0
|
29 |
+
: n === 1
|
30 |
+
? 1
|
31 |
+
: n === 2
|
32 |
+
? 2
|
33 |
+
: n % 100 >= 3 && n % 100 <= 10
|
34 |
+
? 3
|
35 |
+
: n % 100 >= 11
|
36 |
+
? 4
|
37 |
+
: 5;
|
38 |
+
},
|
39 |
+
plurals = {
|
40 |
+
s: [
|
41 |
+
'أقل من ثانية',
|
42 |
+
'ثانية واحدة',
|
43 |
+
['ثانيتان', 'ثانيتين'],
|
44 |
+
'%d ثوان',
|
45 |
+
'%d ثانية',
|
46 |
+
'%d ثانية',
|
47 |
+
],
|
48 |
+
m: [
|
49 |
+
'أقل من دقيقة',
|
50 |
+
'دقيقة واحدة',
|
51 |
+
['دقيقتان', 'دقيقتين'],
|
52 |
+
'%d دقائق',
|
53 |
+
'%d دقيقة',
|
54 |
+
'%d دقيقة',
|
55 |
+
],
|
56 |
+
h: [
|
57 |
+
'أقل من ساعة',
|
58 |
+
'ساعة واحدة',
|
59 |
+
['ساعتان', 'ساعتين'],
|
60 |
+
'%d ساعات',
|
61 |
+
'%d ساعة',
|
62 |
+
'%d ساعة',
|
63 |
+
],
|
64 |
+
d: [
|
65 |
+
'أقل من يوم',
|
66 |
+
'يوم واحد',
|
67 |
+
['يومان', 'يومين'],
|
68 |
+
'%d أيام',
|
69 |
+
'%d يومًا',
|
70 |
+
'%d يوم',
|
71 |
+
],
|
72 |
+
M: [
|
73 |
+
'أقل من شهر',
|
74 |
+
'شهر واحد',
|
75 |
+
['شهران', 'شهرين'],
|
76 |
+
'%d أشهر',
|
77 |
+
'%d شهرا',
|
78 |
+
'%d شهر',
|
79 |
+
],
|
80 |
+
y: [
|
81 |
+
'أقل من عام',
|
82 |
+
'عام واحد',
|
83 |
+
['عامان', 'عامين'],
|
84 |
+
'%d أعوام',
|
85 |
+
'%d عامًا',
|
86 |
+
'%d عام',
|
87 |
+
],
|
88 |
+
},
|
89 |
+
pluralize = function (u) {
|
90 |
+
return function (number, withoutSuffix, string, isFuture) {
|
91 |
+
var f = pluralForm(number),
|
92 |
+
str = plurals[u][pluralForm(number)];
|
93 |
+
if (f === 2) {
|
94 |
+
str = str[withoutSuffix ? 0 : 1];
|
95 |
+
}
|
96 |
+
return str.replace(/%d/i, number);
|
97 |
+
};
|
98 |
+
},
|
99 |
+
months = [
|
100 |
+
'يناير',
|
101 |
+
'فبراير',
|
102 |
+
'مارس',
|
103 |
+
'أبريل',
|
104 |
+
'مايو',
|
105 |
+
'يونيو',
|
106 |
+
'يوليو',
|
107 |
+
'أغسطس',
|
108 |
+
'سبتمبر',
|
109 |
+
'أكتوبر',
|
110 |
+
'نوفمبر',
|
111 |
+
'ديسمبر',
|
112 |
+
];
|
113 |
+
|
114 |
+
var arLy = moment.defineLocale('ar-ly', {
|
115 |
+
months: months,
|
116 |
+
monthsShort: months,
|
117 |
+
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
118 |
+
weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
119 |
+
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
120 |
+
weekdaysParseExact: true,
|
121 |
+
longDateFormat: {
|
122 |
+
LT: 'HH:mm',
|
123 |
+
LTS: 'HH:mm:ss',
|
124 |
+
L: 'D/\u200FM/\u200FYYYY',
|
125 |
+
LL: 'D MMMM YYYY',
|
126 |
+
LLL: 'D MMMM YYYY HH:mm',
|
127 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
128 |
+
},
|
129 |
+
meridiemParse: /ص|م/,
|
130 |
+
isPM: function (input) {
|
131 |
+
return 'م' === input;
|
132 |
+
},
|
133 |
+
meridiem: function (hour, minute, isLower) {
|
134 |
+
if (hour < 12) {
|
135 |
+
return 'ص';
|
136 |
+
} else {
|
137 |
+
return 'م';
|
138 |
+
}
|
139 |
+
},
|
140 |
+
calendar: {
|
141 |
+
sameDay: '[اليوم عند الساعة] LT',
|
142 |
+
nextDay: '[غدًا عند الساعة] LT',
|
143 |
+
nextWeek: 'dddd [عند الساعة] LT',
|
144 |
+
lastDay: '[أمس عند الساعة] LT',
|
145 |
+
lastWeek: 'dddd [عند الساعة] LT',
|
146 |
+
sameElse: 'L',
|
147 |
+
},
|
148 |
+
relativeTime: {
|
149 |
+
future: 'بعد %s',
|
150 |
+
past: 'منذ %s',
|
151 |
+
s: pluralize('s'),
|
152 |
+
ss: pluralize('s'),
|
153 |
+
m: pluralize('m'),
|
154 |
+
mm: pluralize('m'),
|
155 |
+
h: pluralize('h'),
|
156 |
+
hh: pluralize('h'),
|
157 |
+
d: pluralize('d'),
|
158 |
+
dd: pluralize('d'),
|
159 |
+
M: pluralize('M'),
|
160 |
+
MM: pluralize('M'),
|
161 |
+
y: pluralize('y'),
|
162 |
+
yy: pluralize('y'),
|
163 |
+
},
|
164 |
+
preparse: function (string) {
|
165 |
+
return string.replace(/،/g, ',');
|
166 |
+
},
|
167 |
+
postformat: function (string) {
|
168 |
+
return string
|
169 |
+
.replace(/\d/g, function (match) {
|
170 |
+
return symbolMap[match];
|
171 |
+
})
|
172 |
+
.replace(/,/g, '،');
|
173 |
+
},
|
174 |
+
week: {
|
175 |
+
dow: 6, // Saturday is the first day of the week.
|
176 |
+
doy: 12, // The week that contains Jan 12th is the first week of the year.
|
177 |
+
},
|
178 |
+
});
|
179 |
+
|
180 |
+
return arLy;
|
181 |
+
|
182 |
+
})));
|
assets/js/moment/locale/ar-ma.js
CHANGED
@@ -1,59 +1,66 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : ElFadili Yassine : https://github.com/ElFadiliY
|
4 |
//! author : Abdel Said : https://github.com/abdelsaid
|
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 |
|
14 |
-
var
|
15 |
-
months
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
27 |
},
|
28 |
-
calendar
|
29 |
sameDay: '[اليوم على الساعة] LT',
|
30 |
nextDay: '[غدا على الساعة] LT',
|
31 |
nextWeek: 'dddd [على الساعة] LT',
|
32 |
lastDay: '[أمس على الساعة] LT',
|
33 |
lastWeek: 'dddd [على الساعة] LT',
|
34 |
-
sameElse: 'L'
|
35 |
},
|
36 |
-
relativeTime
|
37 |
-
future
|
38 |
-
past
|
39 |
-
s
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
50 |
},
|
51 |
-
week : {
|
52 |
-
dow : 6, // Saturday is the first day of the week.
|
53 |
-
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
54 |
-
}
|
55 |
});
|
56 |
|
57 |
-
return
|
58 |
|
59 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Arabic (Morocco) [ar-ma]
|
3 |
//! author : ElFadili Yassine : https://github.com/ElFadiliY
|
4 |
//! author : Abdel Said : https://github.com/abdelsaid
|
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 arMa = moment.defineLocale('ar-ma', {
|
16 |
+
months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
|
17 |
+
'_'
|
18 |
+
),
|
19 |
+
monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
23 |
+
weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
|
24 |
+
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
25 |
+
weekdaysParseExact: true,
|
26 |
+
longDateFormat: {
|
27 |
+
LT: 'HH:mm',
|
28 |
+
LTS: 'HH:mm:ss',
|
29 |
+
L: 'DD/MM/YYYY',
|
30 |
+
LL: 'D MMMM YYYY',
|
31 |
+
LLL: 'D MMMM YYYY HH:mm',
|
32 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
33 |
},
|
34 |
+
calendar: {
|
35 |
sameDay: '[اليوم على الساعة] LT',
|
36 |
nextDay: '[غدا على الساعة] LT',
|
37 |
nextWeek: 'dddd [على الساعة] LT',
|
38 |
lastDay: '[أمس على الساعة] LT',
|
39 |
lastWeek: 'dddd [على الساعة] LT',
|
40 |
+
sameElse: 'L',
|
41 |
},
|
42 |
+
relativeTime: {
|
43 |
+
future: 'في %s',
|
44 |
+
past: 'منذ %s',
|
45 |
+
s: 'ثوان',
|
46 |
+
ss: '%d ثانية',
|
47 |
+
m: 'دقيقة',
|
48 |
+
mm: '%d دقائق',
|
49 |
+
h: 'ساعة',
|
50 |
+
hh: '%d ساعات',
|
51 |
+
d: 'يوم',
|
52 |
+
dd: '%d أيام',
|
53 |
+
M: 'شهر',
|
54 |
+
MM: '%d أشهر',
|
55 |
+
y: 'سنة',
|
56 |
+
yy: '%d سنوات',
|
57 |
+
},
|
58 |
+
week: {
|
59 |
+
dow: 1, // Monday is the first day of the week.
|
60 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
61 |
},
|
|
|
|
|
|
|
|
|
62 |
});
|
63 |
|
64 |
+
return arMa;
|
65 |
|
66 |
+
})));
|
assets/js/moment/locale/ar-sa.js
CHANGED
@@ -1,103 +1,115 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Arabic Saudi Arabia
|
3 |
//! author : Suhail Alkowaileet : https://github.com/xsoh
|
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 |
|
13 |
var symbolMap = {
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
36 |
|
37 |
-
var
|
38 |
-
months
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
50 |
},
|
51 |
meridiemParse: /ص|م/,
|
52 |
-
isPM
|
53 |
return 'م' === input;
|
54 |
},
|
55 |
-
meridiem
|
56 |
if (hour < 12) {
|
57 |
return 'ص';
|
58 |
} else {
|
59 |
return 'م';
|
60 |
}
|
61 |
},
|
62 |
-
calendar
|
63 |
sameDay: '[اليوم على الساعة] LT',
|
64 |
nextDay: '[غدا على الساعة] LT',
|
65 |
nextWeek: 'dddd [على الساعة] LT',
|
66 |
lastDay: '[أمس على الساعة] LT',
|
67 |
lastWeek: 'dddd [على الساعة] LT',
|
68 |
-
sameElse: 'L'
|
69 |
},
|
70 |
-
relativeTime
|
71 |
-
future
|
72 |
-
past
|
73 |
-
s
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
|
|
84 |
},
|
85 |
preparse: function (string) {
|
86 |
-
return string
|
87 |
-
|
88 |
-
|
|
|
|
|
89 |
},
|
90 |
postformat: function (string) {
|
91 |
-
return string
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
},
|
95 |
-
week : {
|
96 |
-
dow : 6, // Saturday is the first day of the week.
|
97 |
-
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
98 |
-
}
|
99 |
});
|
100 |
|
101 |
-
return
|
102 |
|
103 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Arabic (Saudi Arabia) [ar-sa]
|
3 |
//! author : Suhail Alkowaileet : https://github.com/xsoh
|
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 |
|
39 |
+
var arSa = moment.defineLocale('ar-sa', {
|
40 |
+
months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
|
41 |
+
'_'
|
42 |
+
),
|
43 |
+
monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
|
44 |
+
'_'
|
45 |
+
),
|
46 |
+
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
47 |
+
weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
48 |
+
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
49 |
+
weekdaysParseExact: true,
|
50 |
+
longDateFormat: {
|
51 |
+
LT: 'HH:mm',
|
52 |
+
LTS: 'HH:mm:ss',
|
53 |
+
L: 'DD/MM/YYYY',
|
54 |
+
LL: 'D MMMM YYYY',
|
55 |
+
LLL: 'D MMMM YYYY HH:mm',
|
56 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
57 |
},
|
58 |
meridiemParse: /ص|م/,
|
59 |
+
isPM: function (input) {
|
60 |
return 'م' === input;
|
61 |
},
|
62 |
+
meridiem: function (hour, minute, isLower) {
|
63 |
if (hour < 12) {
|
64 |
return 'ص';
|
65 |
} else {
|
66 |
return 'م';
|
67 |
}
|
68 |
},
|
69 |
+
calendar: {
|
70 |
sameDay: '[اليوم على الساعة] LT',
|
71 |
nextDay: '[غدا على الساعة] LT',
|
72 |
nextWeek: 'dddd [على الساعة] LT',
|
73 |
lastDay: '[أمس على الساعة] LT',
|
74 |
lastWeek: 'dddd [على الساعة] LT',
|
75 |
+
sameElse: 'L',
|
76 |
},
|
77 |
+
relativeTime: {
|
78 |
+
future: 'في %s',
|
79 |
+
past: 'منذ %s',
|
80 |
+
s: 'ثوان',
|
81 |
+
ss: '%d ثانية',
|
82 |
+
m: 'دقيقة',
|
83 |
+
mm: '%d دقائق',
|
84 |
+
h: 'ساعة',
|
85 |
+
hh: '%d ساعات',
|
86 |
+
d: 'يوم',
|
87 |
+
dd: '%d أيام',
|
88 |
+
M: 'شهر',
|
89 |
+
MM: '%d أشهر',
|
90 |
+
y: 'سنة',
|
91 |
+
yy: '%d سنوات',
|
92 |
},
|
93 |
preparse: function (string) {
|
94 |
+
return string
|
95 |
+
.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
|
96 |
+
return numberMap[match];
|
97 |
+
})
|
98 |
+
.replace(/،/g, ',');
|
99 |
},
|
100 |
postformat: function (string) {
|
101 |
+
return string
|
102 |
+
.replace(/\d/g, function (match) {
|
103 |
+
return symbolMap[match];
|
104 |
+
})
|
105 |
+
.replace(/,/g, '،');
|
106 |
+
},
|
107 |
+
week: {
|
108 |
+
dow: 0, // Sunday is the first day of the week.
|
109 |
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
110 |
},
|
|
|
|
|
|
|
|
|
111 |
});
|
112 |
|
113 |
+
return arSa;
|
114 |
|
115 |
+
})));
|
assets/js/moment/locale/ar-tn.js
CHANGED
@@ -1,27 +1,34 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
|
|
3 |
|
4 |
;(function (global, factory) {
|
5 |
typeof exports === 'object' && typeof module !== 'undefined'
|
6 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
7 |
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8 |
factory(global.moment)
|
9 |
-
}(this, function (moment) { 'use strict';
|
10 |
|
|
|
11 |
|
12 |
-
var
|
13 |
-
months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
|
14 |
-
|
|
|
|
|
|
|
|
|
15 |
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
16 |
weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
17 |
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
|
|
18 |
longDateFormat: {
|
19 |
LT: 'HH:mm',
|
20 |
LTS: 'HH:mm:ss',
|
21 |
L: 'DD/MM/YYYY',
|
22 |
LL: 'D MMMM YYYY',
|
23 |
LLL: 'D MMMM YYYY HH:mm',
|
24 |
-
LLLL: 'dddd D MMMM YYYY HH:mm'
|
25 |
},
|
26 |
calendar: {
|
27 |
sameDay: '[اليوم على الساعة] LT',
|
@@ -29,12 +36,13 @@
|
|
29 |
nextWeek: 'dddd [على الساعة] LT',
|
30 |
lastDay: '[أمس على الساعة] LT',
|
31 |
lastWeek: 'dddd [على الساعة] LT',
|
32 |
-
sameElse: 'L'
|
33 |
},
|
34 |
relativeTime: {
|
35 |
future: 'في %s',
|
36 |
past: 'منذ %s',
|
37 |
s: 'ثوان',
|
|
|
38 |
m: 'دقيقة',
|
39 |
mm: '%d دقائق',
|
40 |
h: 'ساعة',
|
@@ -44,14 +52,14 @@
|
|
44 |
M: 'شهر',
|
45 |
MM: '%d أشهر',
|
46 |
y: 'سنة',
|
47 |
-
yy: '%d سنوات'
|
48 |
},
|
49 |
week: {
|
50 |
dow: 1, // Monday is the first day of the week.
|
51 |
-
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
52 |
-
}
|
53 |
});
|
54 |
|
55 |
-
return
|
56 |
|
57 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Arabic (Tunisia) [ar-tn]
|
3 |
+
//! author : Nader Toukabri : https://github.com/naderio
|
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 arTn = moment.defineLocale('ar-tn', {
|
15 |
+
months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
22 |
weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
23 |
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
24 |
+
weekdaysParseExact: true,
|
25 |
longDateFormat: {
|
26 |
LT: 'HH:mm',
|
27 |
LTS: 'HH:mm:ss',
|
28 |
L: 'DD/MM/YYYY',
|
29 |
LL: 'D MMMM YYYY',
|
30 |
LLL: 'D MMMM YYYY HH:mm',
|
31 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
32 |
},
|
33 |
calendar: {
|
34 |
sameDay: '[اليوم على الساعة] LT',
|
36 |
nextWeek: 'dddd [على الساعة] LT',
|
37 |
lastDay: '[أمس على الساعة] LT',
|
38 |
lastWeek: 'dddd [على الساعة] LT',
|
39 |
+
sameElse: 'L',
|
40 |
},
|
41 |
relativeTime: {
|
42 |
future: 'في %s',
|
43 |
past: 'منذ %s',
|
44 |
s: 'ثوان',
|
45 |
+
ss: '%d ثانية',
|
46 |
m: 'دقيقة',
|
47 |
mm: '%d دقائق',
|
48 |
h: 'ساعة',
|
52 |
M: 'شهر',
|
53 |
MM: '%d أشهر',
|
54 |
y: 'سنة',
|
55 |
+
yy: '%d سنوات',
|
56 |
},
|
57 |
week: {
|
58 |
dow: 1, // Monday is the first day of the week.
|
59 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
60 |
+
},
|
61 |
});
|
62 |
|
63 |
+
return arTn;
|
64 |
|
65 |
+
})));
|
assets/js/moment/locale/ar.js
CHANGED
@@ -1,136 +1,200 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//!
|
3 |
-
//!
|
4 |
-
//!
|
5 |
-
//!
|
6 |
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
-
}(this, function (moment) { 'use strict';
|
13 |
|
|
|
14 |
|
15 |
var symbolMap = {
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
|
70 |
var ar = moment.defineLocale('ar', {
|
71 |
-
months
|
72 |
-
monthsShort
|
73 |
-
weekdays
|
74 |
-
weekdaysShort
|
75 |
-
weekdaysMin
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
|
|
83 |
},
|
84 |
meridiemParse: /ص|م/,
|
85 |
-
isPM
|
86 |
return 'م' === input;
|
87 |
},
|
88 |
-
meridiem
|
89 |
if (hour < 12) {
|
90 |
return 'ص';
|
91 |
} else {
|
92 |
return 'م';
|
93 |
}
|
94 |
},
|
95 |
-
calendar
|
96 |
sameDay: '[اليوم عند الساعة] LT',
|
97 |
nextDay: '[غدًا عند الساعة] LT',
|
98 |
nextWeek: 'dddd [عند الساعة] LT',
|
99 |
lastDay: '[أمس عند الساعة] LT',
|
100 |
lastWeek: 'dddd [عند الساعة] LT',
|
101 |
-
sameElse: 'L'
|
102 |
},
|
103 |
-
relativeTime
|
104 |
-
future
|
105 |
-
past
|
106 |
-
s
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
|
|
117 |
},
|
118 |
preparse: function (string) {
|
119 |
-
return string
|
120 |
-
|
121 |
-
|
|
|
|
|
122 |
},
|
123 |
postformat: function (string) {
|
124 |
-
return string
|
125 |
-
|
126 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
},
|
128 |
-
week : {
|
129 |
-
dow : 6, // Saturday is the first day of the week.
|
130 |
-
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
131 |
-
}
|
132 |
});
|
133 |
|
134 |
return ar;
|
135 |
|
136 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Arabic [ar]
|
3 |
+
//! author : Abdel Said: https://github.com/abdelsaid
|
4 |
+
//! author : Ahmed Elkhatib
|
5 |
+
//! author : forabi https://github.com/forabi
|
6 |
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
+
}(this, (function (moment) { 'use strict';
|
13 |
|
14 |
+
//! moment.js locale configuration
|
15 |
|
16 |
var symbolMap = {
|
17 |
+
1: '١',
|
18 |
+
2: '٢',
|
19 |
+
3: '٣',
|
20 |
+
4: '٤',
|
21 |
+
5: '٥',
|
22 |
+
6: '٦',
|
23 |
+
7: '٧',
|
24 |
+
8: '٨',
|
25 |
+
9: '٩',
|
26 |
+
0: '٠',
|
27 |
+
},
|
28 |
+
numberMap = {
|
29 |
+
'١': '1',
|
30 |
+
'٢': '2',
|
31 |
+
'٣': '3',
|
32 |
+
'٤': '4',
|
33 |
+
'٥': '5',
|
34 |
+
'٦': '6',
|
35 |
+
'٧': '7',
|
36 |
+
'٨': '8',
|
37 |
+
'٩': '9',
|
38 |
+
'٠': '0',
|
39 |
+
},
|
40 |
+
pluralForm = function (n) {
|
41 |
+
return n === 0
|
42 |
+
? 0
|
43 |
+
: n === 1
|
44 |
+
? 1
|
45 |
+
: n === 2
|
46 |
+
? 2
|
47 |
+
: n % 100 >= 3 && n % 100 <= 10
|
48 |
+
? 3
|
49 |
+
: n % 100 >= 11
|
50 |
+
? 4
|
51 |
+
: 5;
|
52 |
+
},
|
53 |
+
plurals = {
|
54 |
+
s: [
|
55 |
+
'أقل من ثانية',
|
56 |
+
'ثانية واحدة',
|
57 |
+
['ثانيتان', 'ثانيتين'],
|
58 |
+
'%d ثوان',
|
59 |
+
'%d ثانية',
|
60 |
+
'%d ثانية',
|
61 |
+
],
|
62 |
+
m: [
|
63 |
+
'أقل من دقيقة',
|
64 |
+
'دقيقة واحدة',
|
65 |
+
['دقيقتان', 'دقيقتين'],
|
66 |
+
'%d دقائق',
|
67 |
+
'%d دقيقة',
|
68 |
+
'%d دقيقة',
|
69 |
+
],
|
70 |
+
h: [
|
71 |
+
'أقل من ساعة',
|
72 |
+
'ساعة واحدة',
|
73 |
+
['ساعتان', 'ساعتين'],
|
74 |
+
'%d ساعات',
|
75 |
+
'%d ساعة',
|
76 |
+
'%d ساعة',
|
77 |
+
],
|
78 |
+
d: [
|
79 |
+
'أقل من يوم',
|
80 |
+
'يوم واحد',
|
81 |
+
['يومان', 'يومين'],
|
82 |
+
'%d أيام',
|
83 |
+
'%d يومًا',
|
84 |
+
'%d يوم',
|
85 |
+
],
|
86 |
+
M: [
|
87 |
+
'أقل من شهر',
|
88 |
+
'شهر واحد',
|
89 |
+
['شهران', 'شهرين'],
|
90 |
+
'%d أشهر',
|
91 |
+
'%d شهرا',
|
92 |
+
'%d شهر',
|
93 |
+
],
|
94 |
+
y: [
|
95 |
+
'أقل من عام',
|
96 |
+
'عام واحد',
|
97 |
+
['عامان', 'عامين'],
|
98 |
+
'%d أعوام',
|
99 |
+
'%d عامًا',
|
100 |
+
'%d عام',
|
101 |
+
],
|
102 |
+
},
|
103 |
+
pluralize = function (u) {
|
104 |
+
return function (number, withoutSuffix, string, isFuture) {
|
105 |
+
var f = pluralForm(number),
|
106 |
+
str = plurals[u][pluralForm(number)];
|
107 |
+
if (f === 2) {
|
108 |
+
str = str[withoutSuffix ? 0 : 1];
|
109 |
+
}
|
110 |
+
return str.replace(/%d/i, number);
|
111 |
+
};
|
112 |
+
},
|
113 |
+
months = [
|
114 |
+
'يناير',
|
115 |
+
'فبراير',
|
116 |
+
'مارس',
|
117 |
+
'أبريل',
|
118 |
+
'مايو',
|
119 |
+
'يونيو',
|
120 |
+
'يوليو',
|
121 |
+
'أغسطس',
|
122 |
+
'سبتمبر',
|
123 |
+
'أكتوبر',
|
124 |
+
'نوفمبر',
|
125 |
+
'ديسمبر',
|
126 |
+
];
|
127 |
|
128 |
var ar = moment.defineLocale('ar', {
|
129 |
+
months: months,
|
130 |
+
monthsShort: months,
|
131 |
+
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
132 |
+
weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
133 |
+
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
134 |
+
weekdaysParseExact: true,
|
135 |
+
longDateFormat: {
|
136 |
+
LT: 'HH:mm',
|
137 |
+
LTS: 'HH:mm:ss',
|
138 |
+
L: 'D/\u200FM/\u200FYYYY',
|
139 |
+
LL: 'D MMMM YYYY',
|
140 |
+
LLL: 'D MMMM YYYY HH:mm',
|
141 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
142 |
},
|
143 |
meridiemParse: /ص|م/,
|
144 |
+
isPM: function (input) {
|
145 |
return 'م' === input;
|
146 |
},
|
147 |
+
meridiem: function (hour, minute, isLower) {
|
148 |
if (hour < 12) {
|
149 |
return 'ص';
|
150 |
} else {
|
151 |
return 'م';
|
152 |
}
|
153 |
},
|
154 |
+
calendar: {
|
155 |
sameDay: '[اليوم عند الساعة] LT',
|
156 |
nextDay: '[غدًا عند الساعة] LT',
|
157 |
nextWeek: 'dddd [عند الساعة] LT',
|
158 |
lastDay: '[أمس عند الساعة] LT',
|
159 |
lastWeek: 'dddd [عند الساعة] LT',
|
160 |
+
sameElse: 'L',
|
161 |
},
|
162 |
+
relativeTime: {
|
163 |
+
future: 'بعد %s',
|
164 |
+
past: 'منذ %s',
|
165 |
+
s: pluralize('s'),
|
166 |
+
ss: pluralize('s'),
|
167 |
+
m: pluralize('m'),
|
168 |
+
mm: pluralize('m'),
|
169 |
+
h: pluralize('h'),
|
170 |
+
hh: pluralize('h'),
|
171 |
+
d: pluralize('d'),
|
172 |
+
dd: pluralize('d'),
|
173 |
+
M: pluralize('M'),
|
174 |
+
MM: pluralize('M'),
|
175 |
+
y: pluralize('y'),
|
176 |
+
yy: pluralize('y'),
|
177 |
},
|
178 |
preparse: function (string) {
|
179 |
+
return string
|
180 |
+
.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
|
181 |
+
return numberMap[match];
|
182 |
+
})
|
183 |
+
.replace(/،/g, ',');
|
184 |
},
|
185 |
postformat: function (string) {
|
186 |
+
return string
|
187 |
+
.replace(/\d/g, function (match) {
|
188 |
+
return symbolMap[match];
|
189 |
+
})
|
190 |
+
.replace(/,/g, '،');
|
191 |
+
},
|
192 |
+
week: {
|
193 |
+
dow: 6, // Saturday is the first day of the week.
|
194 |
+
doy: 12, // The week that contains Jan 12th is the first week of the year.
|
195 |
},
|
|
|
|
|
|
|
|
|
196 |
});
|
197 |
|
198 |
return ar;
|
199 |
|
200 |
+
})));
|
assets/js/moment/locale/az.js
CHANGED
@@ -1,14 +1,15 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : topchiyev : https://github.com/topchiyev
|
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 |
|
13 |
var suffixes = {
|
14 |
1: '-inci',
|
@@ -28,51 +29,57 @@
|
|
28 |
10: '-uncu',
|
29 |
30: '-uncu',
|
30 |
60: '-ıncı',
|
31 |
-
90: '-ıncı'
|
32 |
};
|
33 |
|
34 |
var az = moment.defineLocale('az', {
|
35 |
-
months
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
47 |
},
|
48 |
-
calendar
|
49 |
-
sameDay
|
50 |
-
nextDay
|
51 |
-
nextWeek
|
52 |
-
lastDay
|
53 |
-
lastWeek
|
54 |
-
sameElse
|
55 |
},
|
56 |
-
relativeTime
|
57 |
-
future
|
58 |
-
past
|
59 |
-
s
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
|
|
70 |
},
|
71 |
meridiemParse: /gecə|səhər|gündüz|axşam/,
|
72 |
-
isPM
|
73 |
return /^(gündüz|axşam)$/.test(input);
|
74 |
},
|
75 |
-
meridiem
|
76 |
if (hour < 4) {
|
77 |
return 'gecə';
|
78 |
} else if (hour < 12) {
|
@@ -83,22 +90,23 @@
|
|
83 |
return 'axşam';
|
84 |
}
|
85 |
},
|
86 |
-
|
87 |
-
ordinal
|
88 |
-
if (number === 0) {
|
|
|
89 |
return number + '-ıncı';
|
90 |
}
|
91 |
var a = number % 10,
|
92 |
-
b = number % 100 - a,
|
93 |
c = number >= 100 ? 100 : null;
|
94 |
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
95 |
},
|
96 |
-
week
|
97 |
-
dow
|
98 |
-
doy
|
99 |
-
}
|
100 |
});
|
101 |
|
102 |
return az;
|
103 |
|
104 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Azerbaijani [az]
|
3 |
//! author : topchiyev : https://github.com/topchiyev
|
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 suffixes = {
|
15 |
1: '-inci',
|
29 |
10: '-uncu',
|
30 |
30: '-uncu',
|
31 |
60: '-ıncı',
|
32 |
+
90: '-ıncı',
|
33 |
};
|
34 |
|
35 |
var az = moment.defineLocale('az', {
|
36 |
+
months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split(
|
37 |
+
'_'
|
38 |
+
),
|
39 |
+
monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
|
40 |
+
weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split(
|
41 |
+
'_'
|
42 |
+
),
|
43 |
+
weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
|
44 |
+
weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
|
45 |
+
weekdaysParseExact: true,
|
46 |
+
longDateFormat: {
|
47 |
+
LT: 'HH:mm',
|
48 |
+
LTS: 'HH:mm:ss',
|
49 |
+
L: 'DD.MM.YYYY',
|
50 |
+
LL: 'D MMMM YYYY',
|
51 |
+
LLL: 'D MMMM YYYY HH:mm',
|
52 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
53 |
},
|
54 |
+
calendar: {
|
55 |
+
sameDay: '[bugün saat] LT',
|
56 |
+
nextDay: '[sabah saat] LT',
|
57 |
+
nextWeek: '[gələn həftə] dddd [saat] LT',
|
58 |
+
lastDay: '[dünən] LT',
|
59 |
+
lastWeek: '[keçən həftə] dddd [saat] LT',
|
60 |
+
sameElse: 'L',
|
61 |
},
|
62 |
+
relativeTime: {
|
63 |
+
future: '%s sonra',
|
64 |
+
past: '%s əvvəl',
|
65 |
+
s: 'bir neçə saniyə',
|
66 |
+
ss: '%d saniyə',
|
67 |
+
m: 'bir dəqiqə',
|
68 |
+
mm: '%d dəqiqə',
|
69 |
+
h: 'bir saat',
|
70 |
+
hh: '%d saat',
|
71 |
+
d: 'bir gün',
|
72 |
+
dd: '%d gün',
|
73 |
+
M: 'bir ay',
|
74 |
+
MM: '%d ay',
|
75 |
+
y: 'bir il',
|
76 |
+
yy: '%d il',
|
77 |
},
|
78 |
meridiemParse: /gecə|səhər|gündüz|axşam/,
|
79 |
+
isPM: function (input) {
|
80 |
return /^(gündüz|axşam)$/.test(input);
|
81 |
},
|
82 |
+
meridiem: function (hour, minute, isLower) {
|
83 |
if (hour < 4) {
|
84 |
return 'gecə';
|
85 |
} else if (hour < 12) {
|
90 |
return 'axşam';
|
91 |
}
|
92 |
},
|
93 |
+
dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
|
94 |
+
ordinal: function (number) {
|
95 |
+
if (number === 0) {
|
96 |
+
// special case for zero
|
97 |
return number + '-ıncı';
|
98 |
}
|
99 |
var a = number % 10,
|
100 |
+
b = (number % 100) - a,
|
101 |
c = number >= 100 ? 100 : null;
|
102 |
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
103 |
},
|
104 |
+
week: {
|
105 |
+
dow: 1, // Monday is the first day of the week.
|
106 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
107 |
+
},
|
108 |
});
|
109 |
|
110 |
return az;
|
111 |
|
112 |
+
})));
|
assets/js/moment/locale/be.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Dmitry Demidov : https://github.com/demidov91
|
4 |
//! author: Praleska: http://praleska.pro/
|
5 |
//! Author : Menelion Elensúle : https://github.com/Oire
|
@@ -7,56 +7,70 @@
|
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
-
}(this, function (moment) { 'use strict';
|
13 |
|
|
|
14 |
|
15 |
function plural(word, num) {
|
16 |
var forms = word.split('_');
|
17 |
-
return num % 10 === 1 && num % 100 !== 11
|
|
|
|
|
|
|
|
|
18 |
}
|
19 |
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
20 |
var format = {
|
21 |
-
|
22 |
-
|
23 |
-
'
|
24 |
-
|
25 |
-
|
|
|
26 |
};
|
27 |
if (key === 'm') {
|
28 |
return withoutSuffix ? 'хвіліна' : 'хвіліну';
|
29 |
-
}
|
30 |
-
else if (key === 'h') {
|
31 |
return withoutSuffix ? 'гадзіна' : 'гадзіну';
|
32 |
-
}
|
33 |
-
else {
|
34 |
return number + ' ' + plural(format[key], +number);
|
35 |
}
|
36 |
}
|
37 |
|
38 |
var be = moment.defineLocale('be', {
|
39 |
-
months
|
40 |
-
format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(
|
41 |
-
|
|
|
|
|
|
|
|
|
42 |
},
|
43 |
-
monthsShort
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
},
|
49 |
-
weekdaysShort
|
50 |
-
weekdaysMin
|
51 |
-
longDateFormat
|
52 |
-
LT
|
53 |
-
LTS
|
54 |
-
L
|
55 |
-
LL
|
56 |
-
LLL
|
57 |
-
LLLL
|
58 |
},
|
59 |
-
calendar
|
60 |
sameDay: '[Сёння ў] LT',
|
61 |
nextDay: '[Заўтра ў] LT',
|
62 |
lastDay: '[Учора ў] LT',
|
@@ -65,39 +79,39 @@
|
|
65 |
},
|
66 |
lastWeek: function () {
|
67 |
switch (this.day()) {
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
}
|
78 |
},
|
79 |
-
sameElse: 'L'
|
80 |
},
|
81 |
-
relativeTime
|
82 |
-
future
|
83 |
-
past
|
84 |
-
s
|
85 |
-
m
|
86 |
-
mm
|
87 |
-
h
|
88 |
-
hh
|
89 |
-
d
|
90 |
-
dd
|
91 |
-
M
|
92 |
-
MM
|
93 |
-
y
|
94 |
-
yy
|
95 |
},
|
96 |
meridiemParse: /ночы|раніцы|дня|вечара/,
|
97 |
-
isPM
|
98 |
return /^(дня|вечара)$/.test(input);
|
99 |
},
|
100 |
-
meridiem
|
101 |
if (hour < 4) {
|
102 |
return 'ночы';
|
103 |
} else if (hour < 12) {
|
@@ -108,27 +122,31 @@
|
|
108 |
return 'вечара';
|
109 |
}
|
110 |
},
|
111 |
-
|
112 |
ordinal: function (number, period) {
|
113 |
switch (period) {
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
|
|
|
|
|
|
|
|
124 |
}
|
125 |
},
|
126 |
-
week
|
127 |
-
dow
|
128 |
-
doy
|
129 |
-
}
|
130 |
});
|
131 |
|
132 |
return be;
|
133 |
|
134 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Belarusian [be]
|
3 |
//! author : Dmitry Demidov : https://github.com/demidov91
|
4 |
//! author: Praleska: http://praleska.pro/
|
5 |
//! Author : Menelion Elensúle : https://github.com/Oire
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
+
}(this, (function (moment) { 'use strict';
|
13 |
|
14 |
+
//! moment.js locale configuration
|
15 |
|
16 |
function plural(word, num) {
|
17 |
var forms = word.split('_');
|
18 |
+
return num % 10 === 1 && num % 100 !== 11
|
19 |
+
? forms[0]
|
20 |
+
: num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
|
21 |
+
? forms[1]
|
22 |
+
: forms[2];
|
23 |
}
|
24 |
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
25 |
var format = {
|
26 |
+
ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
|
27 |
+
mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
|
28 |
+
hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
|
29 |
+
dd: 'дзень_дні_дзён',
|
30 |
+
MM: 'месяц_месяцы_месяцаў',
|
31 |
+
yy: 'год_гады_гадоў',
|
32 |
};
|
33 |
if (key === 'm') {
|
34 |
return withoutSuffix ? 'хвіліна' : 'хвіліну';
|
35 |
+
} else if (key === 'h') {
|
|
|
36 |
return withoutSuffix ? 'гадзіна' : 'гадзіну';
|
37 |
+
} else {
|
|
|
38 |
return number + ' ' + plural(format[key], +number);
|
39 |
}
|
40 |
}
|
41 |
|
42 |
var be = moment.defineLocale('be', {
|
43 |
+
months: {
|
44 |
+
format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(
|
45 |
+
'_'
|
46 |
+
),
|
47 |
+
standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(
|
48 |
+
'_'
|
49 |
+
),
|
50 |
},
|
51 |
+
monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split(
|
52 |
+
'_'
|
53 |
+
),
|
54 |
+
weekdays: {
|
55 |
+
format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(
|
56 |
+
'_'
|
57 |
+
),
|
58 |
+
standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(
|
59 |
+
'_'
|
60 |
+
),
|
61 |
+
isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/,
|
62 |
},
|
63 |
+
weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
|
64 |
+
weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
|
65 |
+
longDateFormat: {
|
66 |
+
LT: 'HH:mm',
|
67 |
+
LTS: 'HH:mm:ss',
|
68 |
+
L: 'DD.MM.YYYY',
|
69 |
+
LL: 'D MMMM YYYY г.',
|
70 |
+
LLL: 'D MMMM YYYY г., HH:mm',
|
71 |
+
LLLL: 'dddd, D MMMM YYYY г., HH:mm',
|
72 |
},
|
73 |
+
calendar: {
|
74 |
sameDay: '[Сёння ў] LT',
|
75 |
nextDay: '[Заўтра ў] LT',
|
76 |
lastDay: '[Учора ў] LT',
|
79 |
},
|
80 |
lastWeek: function () {
|
81 |
switch (this.day()) {
|
82 |
+
case 0:
|
83 |
+
case 3:
|
84 |
+
case 5:
|
85 |
+
case 6:
|
86 |
+
return '[У мінулую] dddd [ў] LT';
|
87 |
+
case 1:
|
88 |
+
case 2:
|
89 |
+
case 4:
|
90 |
+
return '[У мінулы] dddd [ў] LT';
|
91 |
}
|
92 |
},
|
93 |
+
sameElse: 'L',
|
94 |
},
|
95 |
+
relativeTime: {
|
96 |
+
future: 'праз %s',
|
97 |
+
past: '%s таму',
|
98 |
+
s: 'некалькі секунд',
|
99 |
+
m: relativeTimeWithPlural,
|
100 |
+
mm: relativeTimeWithPlural,
|
101 |
+
h: relativeTimeWithPlural,
|
102 |
+
hh: relativeTimeWithPlural,
|
103 |
+
d: 'дзень',
|
104 |
+
dd: relativeTimeWithPlural,
|
105 |
+
M: 'месяц',
|
106 |
+
MM: relativeTimeWithPlural,
|
107 |
+
y: 'год',
|
108 |
+
yy: relativeTimeWithPlural,
|
109 |
},
|
110 |
meridiemParse: /ночы|раніцы|дня|вечара/,
|
111 |
+
isPM: function (input) {
|
112 |
return /^(дня|вечара)$/.test(input);
|
113 |
},
|
114 |
+
meridiem: function (hour, minute, isLower) {
|
115 |
if (hour < 4) {
|
116 |
return 'ночы';
|
117 |
} else if (hour < 12) {
|
122 |
return 'вечара';
|
123 |
}
|
124 |
},
|
125 |
+
dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
|
126 |
ordinal: function (number, period) {
|
127 |
switch (period) {
|
128 |
+
case 'M':
|
129 |
+
case 'd':
|
130 |
+
case 'DDD':
|
131 |
+
case 'w':
|
132 |
+
case 'W':
|
133 |
+
return (number % 10 === 2 || number % 10 === 3) &&
|
134 |
+
number % 100 !== 12 &&
|
135 |
+
number % 100 !== 13
|
136 |
+
? number + '-і'
|
137 |
+
: number + '-ы';
|
138 |
+
case 'D':
|
139 |
+
return number + '-га';
|
140 |
+
default:
|
141 |
+
return number;
|
142 |
}
|
143 |
},
|
144 |
+
week: {
|
145 |
+
dow: 1, // Monday is the first day of the week.
|
146 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
147 |
+
},
|
148 |
});
|
149 |
|
150 |
return be;
|
151 |
|
152 |
+
})));
|
assets/js/moment/locale/bg.js
CHANGED
@@ -1,66 +1,74 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Krasen Borisov : https://github.com/kraz
|
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 |
|
13 |
var bg = moment.defineLocale('bg', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay
|
29 |
-
nextDay
|
30 |
-
nextWeek
|
31 |
-
lastDay
|
32 |
-
lastWeek
|
33 |
switch (this.day()) {
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
}
|
44 |
},
|
45 |
-
sameElse
|
46 |
},
|
47 |
-
relativeTime
|
48 |
-
future
|
49 |
-
past
|
50 |
-
s
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
|
|
|
|
|
|
61 |
},
|
62 |
-
|
63 |
-
ordinal
|
64 |
var lastDigit = number % 10,
|
65 |
last2Digits = number % 100;
|
66 |
if (number === 0) {
|
@@ -79,12 +87,12 @@
|
|
79 |
return number + '-ти';
|
80 |
}
|
81 |
},
|
82 |
-
week
|
83 |
-
dow
|
84 |
-
doy
|
85 |
-
}
|
86 |
});
|
87 |
|
88 |
return bg;
|
89 |
|
90 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Bulgarian [bg]
|
3 |
//! author : Krasen Borisov : https://github.com/kraz
|
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 bg = moment.defineLocale('bg', {
|
15 |
+
months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
|
19 |
+
weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
|
23 |
+
weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'H:mm',
|
26 |
+
LTS: 'H:mm:ss',
|
27 |
+
L: 'D.MM.YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY H:mm',
|
30 |
+
LLLL: 'dddd, D MMMM YYYY H:mm',
|
31 |
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: '[Днес в] LT',
|
34 |
+
nextDay: '[Утре в] LT',
|
35 |
+
nextWeek: 'dddd [в] LT',
|
36 |
+
lastDay: '[Вчера в] LT',
|
37 |
+
lastWeek: function () {
|
38 |
switch (this.day()) {
|
39 |
+
case 0:
|
40 |
+
case 3:
|
41 |
+
case 6:
|
42 |
+
return '[Миналата] dddd [в] LT';
|
43 |
+
case 1:
|
44 |
+
case 2:
|
45 |
+
case 4:
|
46 |
+
case 5:
|
47 |
+
return '[Миналия] dddd [в] LT';
|
48 |
}
|
49 |
},
|
50 |
+
sameElse: 'L',
|
51 |
},
|
52 |
+
relativeTime: {
|
53 |
+
future: 'след %s',
|
54 |
+
past: 'преди %s',
|
55 |
+
s: 'няколко секунди',
|
56 |
+
ss: '%d секунди',
|
57 |
+
m: 'минута',
|
58 |
+
mm: '%d минути',
|
59 |
+
h: 'час',
|
60 |
+
hh: '%d часа',
|
61 |
+
d: 'ден',
|
62 |
+
dd: '%d дена',
|
63 |
+
w: 'седмица',
|
64 |
+
ww: '%d седмици',
|
65 |
+
M: 'месец',
|
66 |
+
MM: '%d месеца',
|
67 |
+
y: 'година',
|
68 |
+
yy: '%d години',
|
69 |
},
|
70 |
+
dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
|
71 |
+
ordinal: function (number) {
|
72 |
var lastDigit = number % 10,
|
73 |
last2Digits = number % 100;
|
74 |
if (number === 0) {
|
87 |
return number + '-ти';
|
88 |
}
|
89 |
},
|
90 |
+
week: {
|
91 |
+
dow: 1, // Monday is the first day of the week.
|
92 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
93 |
+
},
|
94 |
});
|
95 |
|
96 |
return bg;
|
97 |
|
98 |
+
})));
|
assets/js/moment/locale/bm.js
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Bambara [bm]
|
3 |
+
//! author : Estelle Comment : https://github.com/estellecomment
|
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 bm = moment.defineLocale('bm', {
|
15 |
+
months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
|
19 |
+
weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
|
20 |
+
weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
|
21 |
+
weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
|
22 |
+
longDateFormat: {
|
23 |
+
LT: 'HH:mm',
|
24 |
+
LTS: 'HH:mm:ss',
|
25 |
+
L: 'DD/MM/YYYY',
|
26 |
+
LL: 'MMMM [tile] D [san] YYYY',
|
27 |
+
LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
|
28 |
+
LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
|
29 |
+
},
|
30 |
+
calendar: {
|
31 |
+
sameDay: '[Bi lɛrɛ] LT',
|
32 |
+
nextDay: '[Sini lɛrɛ] LT',
|
33 |
+
nextWeek: 'dddd [don lɛrɛ] LT',
|
34 |
+
lastDay: '[Kunu lɛrɛ] LT',
|
35 |
+
lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',
|
36 |
+
sameElse: 'L',
|
37 |
+
},
|
38 |
+
relativeTime: {
|
39 |
+
future: '%s kɔnɔ',
|
40 |
+
past: 'a bɛ %s bɔ',
|
41 |
+
s: 'sanga dama dama',
|
42 |
+
ss: 'sekondi %d',
|
43 |
+
m: 'miniti kelen',
|
44 |
+
mm: 'miniti %d',
|
45 |
+
h: 'lɛrɛ kelen',
|
46 |
+
hh: 'lɛrɛ %d',
|
47 |
+
d: 'tile kelen',
|
48 |
+
dd: 'tile %d',
|
49 |
+
M: 'kalo kelen',
|
50 |
+
MM: 'kalo %d',
|
51 |
+
y: 'san kelen',
|
52 |
+
yy: 'san %d',
|
53 |
+
},
|
54 |
+
week: {
|
55 |
+
dow: 1, // Monday is the first day of the week.
|
56 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
57 |
+
},
|
58 |
+
});
|
59 |
+
|
60 |
+
return bm;
|
61 |
+
|
62 |
+
})));
|
assets/js/moment/locale/bn-bd.js
ADDED
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Bengali (Bangladesh) [bn-bd]
|
3 |
+
//! author : Asraf Hossain Patoary : https://github.com/ashwoolford
|
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 |
+
|
39 |
+
var bnBd = moment.defineLocale('bn-bd', {
|
40 |
+
months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(
|
41 |
+
'_'
|
42 |
+
),
|
43 |
+
monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(
|
44 |
+
'_'
|
45 |
+
),
|
46 |
+
weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(
|
47 |
+
'_'
|
48 |
+
),
|
49 |
+
weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
|
50 |
+
weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
|
51 |
+
longDateFormat: {
|
52 |
+
LT: 'A h:mm সময়',
|
53 |
+
LTS: 'A h:mm:ss সময়',
|
54 |
+
L: 'DD/MM/YYYY',
|
55 |
+
LL: 'D MMMM YYYY',
|
56 |
+
LLL: 'D MMMM YYYY, A h:mm সময়',
|
57 |
+
LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',
|
58 |
+
},
|
59 |
+
calendar: {
|
60 |
+
sameDay: '[আজ] LT',
|
61 |
+
nextDay: '[আগামীকাল] LT',
|
62 |
+
nextWeek: 'dddd, LT',
|
63 |
+
lastDay: '[গতকাল] LT',
|
64 |
+
lastWeek: '[গত] dddd, LT',
|
65 |
+
sameElse: 'L',
|
66 |
+
},
|
67 |
+
relativeTime: {
|
68 |
+
future: '%s পরে',
|
69 |
+
past: '%s আগে',
|
70 |
+
s: 'কয়েক সেকেন্ড',
|
71 |
+
ss: '%d সেকেন্ড',
|
72 |
+
m: 'এক মিনিট',
|
73 |
+
mm: '%d মিনিট',
|
74 |
+
h: 'এক ঘন্টা',
|
75 |
+
hh: '%d ঘন্টা',
|
76 |
+
d: 'এক দিন',
|
77 |
+
dd: '%d দিন',
|
78 |
+
M: 'এক মাস',
|
79 |
+
MM: '%d মাস',
|
80 |
+
y: 'এক বছর',
|
81 |
+
yy: '%d বছর',
|
82 |
+
},
|
83 |
+
preparse: function (string) {
|
84 |
+
return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
|
85 |
+
return numberMap[match];
|
86 |
+
});
|
87 |
+
},
|
88 |
+
postformat: function (string) {
|
89 |
+
return string.replace(/\d/g, function (match) {
|
90 |
+
return symbolMap[match];
|
91 |
+
});
|
92 |
+
},
|
93 |
+
|
94 |
+
meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,
|
95 |
+
meridiemHour: function (hour, meridiem) {
|
96 |
+
if (hour === 12) {
|
97 |
+
hour = 0;
|
98 |
+
}
|
99 |
+
if (meridiem === 'রাত') {
|
100 |
+
return hour < 4 ? hour : hour + 12;
|
101 |
+
} else if (meridiem === 'ভোর') {
|
102 |
+
return hour;
|
103 |
+
} else if (meridiem === 'সকাল') {
|
104 |
+
return hour;
|
105 |
+
} else if (meridiem === 'দুপুর') {
|
106 |
+
return hour >= 3 ? hour : hour + 12;
|
107 |
+
} else if (meridiem === 'বিকাল') {
|
108 |
+
return hour + 12;
|
109 |
+
} else if (meridiem === 'সন্ধ্যা') {
|
110 |
+
return hour + 12;
|
111 |
+
}
|
112 |
+
},
|
113 |
+
|
114 |
+
meridiem: function (hour, minute, isLower) {
|
115 |
+
if (hour < 4) {
|
116 |
+
return 'রাত';
|
117 |
+
} else if (hour < 6) {
|
118 |
+
return 'ভোর';
|
119 |
+
} else if (hour < 12) {
|
120 |
+
return 'সকাল';
|
121 |
+
} else if (hour < 15) {
|
122 |
+
return 'দুপুর';
|
123 |
+
} else if (hour < 18) {
|
124 |
+
return 'বিকাল';
|
125 |
+
} else if (hour < 20) {
|
126 |
+
return 'সন্ধ্যা';
|
127 |
+
} else {
|
128 |
+
return 'রাত';
|
129 |
+
}
|
130 |
+
},
|
131 |
+
week: {
|
132 |
+
dow: 0, // Sunday is the first day of the week.
|
133 |
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
134 |
+
},
|
135 |
+
});
|
136 |
+
|
137 |
+
return bnBd;
|
138 |
+
|
139 |
+
})));
|
assets/js/moment/locale/bn.js
CHANGED
@@ -1,76 +1,84 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Bengali
|
3 |
//! author : Kaushik Gandhi : https://github.com/kaushikgandhi
|
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 |
|
13 |
var symbolMap = {
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
|
38 |
var bn = moment.defineLocale('bn', {
|
39 |
-
months
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
},
|
52 |
-
calendar
|
53 |
-
sameDay
|
54 |
-
nextDay
|
55 |
-
nextWeek
|
56 |
-
lastDay
|
57 |
-
lastWeek
|
58 |
-
sameElse
|
59 |
},
|
60 |
-
relativeTime
|
61 |
-
future
|
62 |
-
past
|
63 |
-
s
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
|
|
74 |
},
|
75 |
preparse: function (string) {
|
76 |
return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
|
@@ -83,13 +91,21 @@
|
|
83 |
});
|
84 |
},
|
85 |
meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
|
86 |
-
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
},
|
89 |
-
|
90 |
-
//in different forms in various parts of the world.
|
91 |
-
//I have just generalized with most common one used
|
92 |
-
meridiem : function (hour, minute, isLower) {
|
93 |
if (hour < 4) {
|
94 |
return 'রাত';
|
95 |
} else if (hour < 10) {
|
@@ -102,12 +118,12 @@
|
|
102 |
return 'রাত';
|
103 |
}
|
104 |
},
|
105 |
-
week
|
106 |
-
dow
|
107 |
-
doy
|
108 |
-
}
|
109 |
});
|
110 |
|
111 |
return bn;
|
112 |
|
113 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Bengali [bn]
|
3 |
//! author : Kaushik Gandhi : https://github.com/kaushikgandhi
|
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 |
|
39 |
var bn = moment.defineLocale('bn', {
|
40 |
+
months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(
|
41 |
+
'_'
|
42 |
+
),
|
43 |
+
monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(
|
44 |
+
'_'
|
45 |
+
),
|
46 |
+
weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(
|
47 |
+
'_'
|
48 |
+
),
|
49 |
+
weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
|
50 |
+
weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
|
51 |
+
longDateFormat: {
|
52 |
+
LT: 'A h:mm সময়',
|
53 |
+
LTS: 'A h:mm:ss সময়',
|
54 |
+
L: 'DD/MM/YYYY',
|
55 |
+
LL: 'D MMMM YYYY',
|
56 |
+
LLL: 'D MMMM YYYY, A h:mm সময়',
|
57 |
+
LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',
|
58 |
},
|
59 |
+
calendar: {
|
60 |
+
sameDay: '[আজ] LT',
|
61 |
+
nextDay: '[আগামীকাল] LT',
|
62 |
+
nextWeek: 'dddd, LT',
|
63 |
+
lastDay: '[গতকাল] LT',
|
64 |
+
lastWeek: '[গত] dddd, LT',
|
65 |
+
sameElse: 'L',
|
66 |
},
|
67 |
+
relativeTime: {
|
68 |
+
future: '%s পরে',
|
69 |
+
past: '%s আগে',
|
70 |
+
s: 'কয়েক সেকেন্ড',
|
71 |
+
ss: '%d সেকেন্ড',
|
72 |
+
m: 'এক মিনিট',
|
73 |
+
mm: '%d মিনিট',
|
74 |
+
h: 'এক ঘন্টা',
|
75 |
+
hh: '%d ঘন্টা',
|
76 |
+
d: 'এক দিন',
|
77 |
+
dd: '%d দিন',
|
78 |
+
M: 'এক মাস',
|
79 |
+
MM: '%d মাস',
|
80 |
+
y: 'এক বছর',
|
81 |
+
yy: '%d বছর',
|
82 |
},
|
83 |
preparse: function (string) {
|
84 |
return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
|
91 |
});
|
92 |
},
|
93 |
meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
|
94 |
+
meridiemHour: function (hour, meridiem) {
|
95 |
+
if (hour === 12) {
|
96 |
+
hour = 0;
|
97 |
+
}
|
98 |
+
if (
|
99 |
+
(meridiem === 'রাত' && hour >= 4) ||
|
100 |
+
(meridiem === 'দুপুর' && hour < 5) ||
|
101 |
+
meridiem === 'বিকাল'
|
102 |
+
) {
|
103 |
+
return hour + 12;
|
104 |
+
} else {
|
105 |
+
return hour;
|
106 |
+
}
|
107 |
},
|
108 |
+
meridiem: function (hour, minute, isLower) {
|
|
|
|
|
|
|
109 |
if (hour < 4) {
|
110 |
return 'রাত';
|
111 |
} else if (hour < 10) {
|
118 |
return 'রাত';
|
119 |
}
|
120 |
},
|
121 |
+
week: {
|
122 |
+
dow: 0, // Sunday is the first day of the week.
|
123 |
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
124 |
+
},
|
125 |
});
|
126 |
|
127 |
return bn;
|
128 |
|
129 |
+
})));
|
assets/js/moment/locale/bo.js
CHANGED
@@ -1,76 +1,88 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Thupten N. Chakrishar : https://github.com/vajradog
|
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 |
|
13 |
var symbolMap = {
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
|
38 |
var bo = moment.defineLocale('bo', {
|
39 |
-
months
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
},
|
52 |
-
calendar
|
53 |
-
sameDay
|
54 |
-
nextDay
|
55 |
-
nextWeek
|
56 |
-
lastDay
|
57 |
-
lastWeek
|
58 |
-
sameElse
|
59 |
},
|
60 |
-
relativeTime
|
61 |
-
future
|
62 |
-
past
|
63 |
-
s
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
|
|
74 |
},
|
75 |
preparse: function (string) {
|
76 |
return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
|
@@ -83,10 +95,21 @@
|
|
83 |
});
|
84 |
},
|
85 |
meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
|
86 |
-
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
},
|
89 |
-
meridiem
|
90 |
if (hour < 4) {
|
91 |
return 'མཚན་མོ';
|
92 |
} else if (hour < 10) {
|
@@ -99,12 +122,12 @@
|
|
99 |
return 'མཚན་མོ';
|
100 |
}
|
101 |
},
|
102 |
-
week
|
103 |
-
dow
|
104 |
-
doy
|
105 |
-
}
|
106 |
});
|
107 |
|
108 |
return bo;
|
109 |
|
110 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Tibetan [bo]
|
3 |
//! author : Thupten N. Chakrishar : https://github.com/vajradog
|
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 |
|
39 |
var bo = moment.defineLocale('bo', {
|
40 |
+
months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split(
|
41 |
+
'_'
|
42 |
+
),
|
43 |
+
monthsShort: 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split(
|
44 |
+
'_'
|
45 |
+
),
|
46 |
+
monthsShortRegex: /^(ཟླ་\d{1,2})/,
|
47 |
+
monthsParseExact: true,
|
48 |
+
weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split(
|
49 |
+
'_'
|
50 |
+
),
|
51 |
+
weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split(
|
52 |
+
'_'
|
53 |
+
),
|
54 |
+
weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'),
|
55 |
+
longDateFormat: {
|
56 |
+
LT: 'A h:mm',
|
57 |
+
LTS: 'A h:mm:ss',
|
58 |
+
L: 'DD/MM/YYYY',
|
59 |
+
LL: 'D MMMM YYYY',
|
60 |
+
LLL: 'D MMMM YYYY, A h:mm',
|
61 |
+
LLLL: 'dddd, D MMMM YYYY, A h:mm',
|
62 |
},
|
63 |
+
calendar: {
|
64 |
+
sameDay: '[དི་རིང] LT',
|
65 |
+
nextDay: '[སང་ཉིན] LT',
|
66 |
+
nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',
|
67 |
+
lastDay: '[ཁ་སང] LT',
|
68 |
+
lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',
|
69 |
+
sameElse: 'L',
|
70 |
},
|
71 |
+
relativeTime: {
|
72 |
+
future: '%s ལ་',
|
73 |
+
past: '%s སྔན་ལ',
|
74 |
+
s: 'ལམ་སང',
|
75 |
+
ss: '%d སྐར་ཆ།',
|
76 |
+
m: 'སྐར་མ་གཅིག',
|
77 |
+
mm: '%d སྐར་མ',
|
78 |
+
h: 'ཆུ་ཚོད་གཅིག',
|
79 |
+
hh: '%d ཆུ་ཚོད',
|
80 |
+
d: 'ཉིན་གཅིག',
|
81 |
+
dd: '%d ཉིན་',
|
82 |
+
M: 'ཟླ་བ་གཅིག',
|
83 |
+
MM: '%d ཟླ་བ',
|
84 |
+
y: 'ལོ་གཅིག',
|
85 |
+
yy: '%d ལོ',
|
86 |
},
|
87 |
preparse: function (string) {
|
88 |
return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
|
95 |
});
|
96 |
},
|
97 |
meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
|
98 |
+
meridiemHour: function (hour, meridiem) {
|
99 |
+
if (hour === 12) {
|
100 |
+
hour = 0;
|
101 |
+
}
|
102 |
+
if (
|
103 |
+
(meridiem === 'མཚན་མོ' && hour >= 4) ||
|
104 |
+
(meridiem === 'ཉིན་གུང' && hour < 5) ||
|
105 |
+
meridiem === 'དགོང་དག'
|
106 |
+
) {
|
107 |
+
return hour + 12;
|
108 |
+
} else {
|
109 |
+
return hour;
|
110 |
+
}
|
111 |
},
|
112 |
+
meridiem: function (hour, minute, isLower) {
|
113 |
if (hour < 4) {
|
114 |
return 'མཚན་མོ';
|
115 |
} else if (hour < 10) {
|
122 |
return 'མཚན་མོ';
|
123 |
}
|
124 |
},
|
125 |
+
week: {
|
126 |
+
dow: 0, // Sunday is the first day of the week.
|
127 |
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
128 |
+
},
|
129 |
});
|
130 |
|
131 |
return bo;
|
132 |
|
133 |
+
})));
|
assets/js/moment/locale/br.js
CHANGED
@@ -1,33 +1,34 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
|
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 |
|
13 |
function relativeTimeWithMutation(number, withoutSuffix, key) {
|
14 |
var format = {
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
};
|
19 |
return number + ' ' + mutation(format[key], number);
|
20 |
}
|
21 |
function specialMutationForYears(number) {
|
22 |
switch (lastNumber(number)) {
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
}
|
32 |
}
|
33 |
function lastNumber(number) {
|
@@ -44,9 +45,9 @@
|
|
44 |
}
|
45 |
function softMutation(text) {
|
46 |
var mutationTable = {
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
};
|
51 |
if (mutationTable[text.charAt(0)] === undefined) {
|
52 |
return text;
|
@@ -54,54 +55,122 @@
|
|
54 |
return mutationTable[text.charAt(0)] + text.substring(1);
|
55 |
}
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
var br = moment.defineLocale('br', {
|
58 |
-
months
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
},
|
71 |
-
calendar
|
72 |
-
sameDay
|
73 |
-
nextDay
|
74 |
-
nextWeek
|
75 |
-
lastDay
|
76 |
-
lastWeek
|
77 |
-
sameElse
|
78 |
},
|
79 |
-
relativeTime
|
80 |
-
future
|
81 |
-
past
|
82 |
-
s
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
|
|
93 |
},
|
94 |
-
|
95 |
-
ordinal
|
96 |
-
var output =
|
97 |
return number + output;
|
98 |
},
|
99 |
-
week
|
100 |
-
dow
|
101 |
-
doy
|
102 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
});
|
104 |
|
105 |
return br;
|
106 |
|
107 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Breton [br]
|
3 |
//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
|
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 relativeTimeWithMutation(number, withoutSuffix, key) {
|
15 |
var format = {
|
16 |
+
mm: 'munutenn',
|
17 |
+
MM: 'miz',
|
18 |
+
dd: 'devezh',
|
19 |
};
|
20 |
return number + ' ' + mutation(format[key], number);
|
21 |
}
|
22 |
function specialMutationForYears(number) {
|
23 |
switch (lastNumber(number)) {
|
24 |
+
case 1:
|
25 |
+
case 3:
|
26 |
+
case 4:
|
27 |
+
case 5:
|
28 |
+
case 9:
|
29 |
+
return number + ' bloaz';
|
30 |
+
default:
|
31 |
+
return number + ' vloaz';
|
32 |
}
|
33 |
}
|
34 |
function lastNumber(number) {
|
45 |
}
|
46 |
function softMutation(text) {
|
47 |
var mutationTable = {
|
48 |
+
m: 'v',
|
49 |
+
b: 'v',
|
50 |
+
d: 'z',
|
51 |
};
|
52 |
if (mutationTable[text.charAt(0)] === undefined) {
|
53 |
return text;
|
55 |
return mutationTable[text.charAt(0)] + text.substring(1);
|
56 |
}
|
57 |
|
58 |
+
var monthsParse = [
|
59 |
+
/^gen/i,
|
60 |
+
/^c[ʼ\']hwe/i,
|
61 |
+
/^meu/i,
|
62 |
+
/^ebr/i,
|
63 |
+
/^mae/i,
|
64 |
+
/^(mez|eve)/i,
|
65 |
+
/^gou/i,
|
66 |
+
/^eos/i,
|
67 |
+
/^gwe/i,
|
68 |
+
/^her/i,
|
69 |
+
/^du/i,
|
70 |
+
/^ker/i,
|
71 |
+
],
|
72 |
+
monthsRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
|
73 |
+
monthsStrictRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,
|
74 |
+
monthsShortStrictRegex = /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
|
75 |
+
fullWeekdaysParse = [
|
76 |
+
/^sul/i,
|
77 |
+
/^lun/i,
|
78 |
+
/^meurzh/i,
|
79 |
+
/^merc[ʼ\']her/i,
|
80 |
+
/^yaou/i,
|
81 |
+
/^gwener/i,
|
82 |
+
/^sadorn/i,
|
83 |
+
],
|
84 |
+
shortWeekdaysParse = [
|
85 |
+
/^Sul/i,
|
86 |
+
/^Lun/i,
|
87 |
+
/^Meu/i,
|
88 |
+
/^Mer/i,
|
89 |
+
/^Yao/i,
|
90 |
+
/^Gwe/i,
|
91 |
+
/^Sad/i,
|
92 |
+
],
|
93 |
+
minWeekdaysParse = [
|
94 |
+
/^Su/i,
|
95 |
+
/^Lu/i,
|
96 |
+
/^Me([^r]|$)/i,
|
97 |
+
/^Mer/i,
|
98 |
+
/^Ya/i,
|
99 |
+
/^Gw/i,
|
100 |
+
/^Sa/i,
|
101 |
+
];
|
102 |
+
|
103 |
var br = moment.defineLocale('br', {
|
104 |
+
months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split(
|
105 |
+
'_'
|
106 |
+
),
|
107 |
+
monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),
|
108 |
+
weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'),
|
109 |
+
weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
|
110 |
+
weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
|
111 |
+
weekdaysParse: minWeekdaysParse,
|
112 |
+
fullWeekdaysParse: fullWeekdaysParse,
|
113 |
+
shortWeekdaysParse: shortWeekdaysParse,
|
114 |
+
minWeekdaysParse: minWeekdaysParse,
|
115 |
+
|
116 |
+
monthsRegex: monthsRegex,
|
117 |
+
monthsShortRegex: monthsRegex,
|
118 |
+
monthsStrictRegex: monthsStrictRegex,
|
119 |
+
monthsShortStrictRegex: monthsShortStrictRegex,
|
120 |
+
monthsParse: monthsParse,
|
121 |
+
longMonthsParse: monthsParse,
|
122 |
+
shortMonthsParse: monthsParse,
|
123 |
+
|
124 |
+
longDateFormat: {
|
125 |
+
LT: 'HH:mm',
|
126 |
+
LTS: 'HH:mm:ss',
|
127 |
+
L: 'DD/MM/YYYY',
|
128 |
+
LL: 'D [a viz] MMMM YYYY',
|
129 |
+
LLL: 'D [a viz] MMMM YYYY HH:mm',
|
130 |
+
LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm',
|
131 |
},
|
132 |
+
calendar: {
|
133 |
+
sameDay: '[Hiziv da] LT',
|
134 |
+
nextDay: '[Warcʼhoazh da] LT',
|
135 |
+
nextWeek: 'dddd [da] LT',
|
136 |
+
lastDay: '[Decʼh da] LT',
|
137 |
+
lastWeek: 'dddd [paset da] LT',
|
138 |
+
sameElse: 'L',
|
139 |
},
|
140 |
+
relativeTime: {
|
141 |
+
future: 'a-benn %s',
|
142 |
+
past: '%s ʼzo',
|
143 |
+
s: 'un nebeud segondennoù',
|
144 |
+
ss: '%d eilenn',
|
145 |
+
m: 'ur vunutenn',
|
146 |
+
mm: relativeTimeWithMutation,
|
147 |
+
h: 'un eur',
|
148 |
+
hh: '%d eur',
|
149 |
+
d: 'un devezh',
|
150 |
+
dd: relativeTimeWithMutation,
|
151 |
+
M: 'ur miz',
|
152 |
+
MM: relativeTimeWithMutation,
|
153 |
+
y: 'ur bloaz',
|
154 |
+
yy: specialMutationForYears,
|
155 |
},
|
156 |
+
dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/,
|
157 |
+
ordinal: function (number) {
|
158 |
+
var output = number === 1 ? 'añ' : 'vet';
|
159 |
return number + output;
|
160 |
},
|
161 |
+
week: {
|
162 |
+
dow: 1, // Monday is the first day of the week.
|
163 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
164 |
+
},
|
165 |
+
meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn
|
166 |
+
isPM: function (token) {
|
167 |
+
return token === 'g.m.';
|
168 |
+
},
|
169 |
+
meridiem: function (hour, minute, isLower) {
|
170 |
+
return hour < 12 ? 'a.m.' : 'g.m.';
|
171 |
+
},
|
172 |
});
|
173 |
|
174 |
return br;
|
175 |
|
176 |
+
})));
|
assets/js/moment/locale/bs.js
CHANGED
@@ -1,141 +1,160 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Nedim Cholich : https://github.com/frontyard
|
4 |
//! based on (hr) translation by Bojan Marković
|
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 |
|
14 |
function translate(number, withoutSuffix, key) {
|
15 |
var result = number + ' ';
|
16 |
switch (key) {
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
result
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
result
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
}
|
65 |
}
|
66 |
|
67 |
var bs = moment.defineLocale('bs', {
|
68 |
-
months
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
},
|
81 |
-
calendar
|
82 |
-
sameDay
|
83 |
-
nextDay
|
84 |
-
nextWeek
|
85 |
switch (this.day()) {
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
}
|
98 |
},
|
99 |
-
lastDay
|
100 |
-
lastWeek
|
101 |
switch (this.day()) {
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
}
|
113 |
},
|
114 |
-
sameElse
|
115 |
},
|
116 |
-
relativeTime
|
117 |
-
future
|
118 |
-
past
|
119 |
-
s
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
},
|
131 |
-
ordinalParse: /\d{1,2}\./,
|
132 |
-
ordinal : '%d.',
|
133 |
-
week : {
|
134 |
-
dow : 1, // Monday is the first day of the week.
|
135 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
136 |
-
}
|
137 |
});
|
138 |
|
139 |
return bs;
|
140 |
|
141 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Bosnian [bs]
|
3 |
//! author : Nedim Cholich : https://github.com/frontyard
|
4 |
//! based on (hr) translation by Bojan Marković
|
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 |
function translate(number, withoutSuffix, key) {
|
16 |
var result = number + ' ';
|
17 |
switch (key) {
|
18 |
+
case 'ss':
|
19 |
+
if (number === 1) {
|
20 |
+
result += 'sekunda';
|
21 |
+
} else if (number === 2 || number === 3 || number === 4) {
|
22 |
+
result += 'sekunde';
|
23 |
+
} else {
|
24 |
+
result += 'sekundi';
|
25 |
+
}
|
26 |
+
return result;
|
27 |
+
case 'm':
|
28 |
+
return withoutSuffix ? 'jedna minuta' : 'jedne minute';
|
29 |
+
case 'mm':
|
30 |
+
if (number === 1) {
|
31 |
+
result += 'minuta';
|
32 |
+
} else if (number === 2 || number === 3 || number === 4) {
|
33 |
+
result += 'minute';
|
34 |
+
} else {
|
35 |
+
result += 'minuta';
|
36 |
+
}
|
37 |
+
return result;
|
38 |
+
case 'h':
|
39 |
+
return withoutSuffix ? 'jedan sat' : 'jednog sata';
|
40 |
+
case 'hh':
|
41 |
+
if (number === 1) {
|
42 |
+
result += 'sat';
|
43 |
+
} else if (number === 2 || number === 3 || number === 4) {
|
44 |
+
result += 'sata';
|
45 |
+
} else {
|
46 |
+
result += 'sati';
|
47 |
+
}
|
48 |
+
return result;
|
49 |
+
case 'dd':
|
50 |
+
if (number === 1) {
|
51 |
+
result += 'dan';
|
52 |
+
} else {
|
53 |
+
result += 'dana';
|
54 |
+
}
|
55 |
+
return result;
|
56 |
+
case 'MM':
|
57 |
+
if (number === 1) {
|
58 |
+
result += 'mjesec';
|
59 |
+
} else if (number === 2 || number === 3 || number === 4) {
|
60 |
+
result += 'mjeseca';
|
61 |
+
} else {
|
62 |
+
result += 'mjeseci';
|
63 |
+
}
|
64 |
+
return result;
|
65 |
+
case 'yy':
|
66 |
+
if (number === 1) {
|
67 |
+
result += 'godina';
|
68 |
+
} else if (number === 2 || number === 3 || number === 4) {
|
69 |
+
result += 'godine';
|
70 |
+
} else {
|
71 |
+
result += 'godina';
|
72 |
+
}
|
73 |
+
return result;
|
74 |
}
|
75 |
}
|
76 |
|
77 |
var bs = moment.defineLocale('bs', {
|
78 |
+
months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split(
|
79 |
+
'_'
|
80 |
+
),
|
81 |
+
monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split(
|
82 |
+
'_'
|
83 |
+
),
|
84 |
+
monthsParseExact: true,
|
85 |
+
weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
|
86 |
+
'_'
|
87 |
+
),
|
88 |
+
weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
|
89 |
+
weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
|
90 |
+
weekdaysParseExact: true,
|
91 |
+
longDateFormat: {
|
92 |
+
LT: 'H:mm',
|
93 |
+
LTS: 'H:mm:ss',
|
94 |
+
L: 'DD.MM.YYYY',
|
95 |
+
LL: 'D. MMMM YYYY',
|
96 |
+
LLL: 'D. MMMM YYYY H:mm',
|
97 |
+
LLLL: 'dddd, D. MMMM YYYY H:mm',
|
98 |
},
|
99 |
+
calendar: {
|
100 |
+
sameDay: '[danas u] LT',
|
101 |
+
nextDay: '[sutra u] LT',
|
102 |
+
nextWeek: function () {
|
103 |
switch (this.day()) {
|
104 |
+
case 0:
|
105 |
+
return '[u] [nedjelju] [u] LT';
|
106 |
+
case 3:
|
107 |
+
return '[u] [srijedu] [u] LT';
|
108 |
+
case 6:
|
109 |
+
return '[u] [subotu] [u] LT';
|
110 |
+
case 1:
|
111 |
+
case 2:
|
112 |
+
case 4:
|
113 |
+
case 5:
|
114 |
+
return '[u] dddd [u] LT';
|
115 |
}
|
116 |
},
|
117 |
+
lastDay: '[jučer u] LT',
|
118 |
+
lastWeek: function () {
|
119 |
switch (this.day()) {
|
120 |
+
case 0:
|
121 |
+
case 3:
|
122 |
+
return '[prošlu] dddd [u] LT';
|
123 |
+
case 6:
|
124 |
+
return '[prošle] [subote] [u] LT';
|
125 |
+
case 1:
|
126 |
+
case 2:
|
127 |
+
case 4:
|
128 |
+
case 5:
|
129 |
+
return '[prošli] dddd [u] LT';
|
130 |
}
|
131 |
},
|
132 |
+
sameElse: 'L',
|
133 |
},
|
134 |
+
relativeTime: {
|
135 |
+
future: 'za %s',
|
136 |
+
past: 'prije %s',
|
137 |
+
s: 'par sekundi',
|
138 |
+
ss: translate,
|
139 |
+
m: translate,
|
140 |
+
mm: translate,
|
141 |
+
h: translate,
|
142 |
+
hh: translate,
|
143 |
+
d: 'dan',
|
144 |
+
dd: translate,
|
145 |
+
M: 'mjesec',
|
146 |
+
MM: translate,
|
147 |
+
y: 'godinu',
|
148 |
+
yy: translate,
|
149 |
+
},
|
150 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
151 |
+
ordinal: '%d.',
|
152 |
+
week: {
|
153 |
+
dow: 1, // Monday is the first day of the week.
|
154 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
155 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
});
|
157 |
|
158 |
return bs;
|
159 |
|
160 |
+
})));
|
assets/js/moment/locale/ca.js
CHANGED
@@ -1,79 +1,108 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Juan G. Hurtado : https://github.com/juanghurtado
|
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 |
|
13 |
var ca = moment.defineLocale('ca', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
L : 'DD/MM/YYYY',
|
23 |
-
LL : 'D MMMM YYYY',
|
24 |
-
LLL : 'D MMMM YYYY H:mm',
|
25 |
-
LLLL : 'dddd D MMMM YYYY H:mm'
|
26 |
},
|
27 |
-
|
28 |
-
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
},
|
31 |
-
nextDay
|
32 |
-
return '[demà a ' + (
|
33 |
},
|
34 |
-
nextWeek
|
35 |
-
return 'dddd [a ' + (
|
36 |
},
|
37 |
-
lastDay
|
38 |
-
return '[ahir a ' + (
|
39 |
},
|
40 |
-
lastWeek
|
41 |
-
return
|
|
|
|
|
|
|
|
|
42 |
},
|
43 |
-
sameElse
|
44 |
},
|
45 |
-
relativeTime
|
46 |
-
future
|
47 |
-
past
|
48 |
-
s
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
|
|
59 |
},
|
60 |
-
|
61 |
-
ordinal
|
62 |
-
var output =
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
if (period === 'w' || period === 'W') {
|
67 |
output = 'a';
|
68 |
}
|
69 |
return number + output;
|
70 |
},
|
71 |
-
week
|
72 |
-
dow
|
73 |
-
doy
|
74 |
-
}
|
75 |
});
|
76 |
|
77 |
return ca;
|
78 |
|
79 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Catalan [ca]
|
3 |
//! author : Juan G. Hurtado : https://github.com/juanghurtado
|
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 ca = moment.defineLocale('ca', {
|
15 |
+
months: {
|
16 |
+
standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split(
|
17 |
+
'_'
|
18 |
+
),
|
19 |
+
format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
isFormat: /D[oD]?(\s)+MMMM/,
|
|
|
|
|
|
|
|
|
23 |
},
|
24 |
+
monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split(
|
25 |
+
'_'
|
26 |
+
),
|
27 |
+
monthsParseExact: true,
|
28 |
+
weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split(
|
29 |
+
'_'
|
30 |
+
),
|
31 |
+
weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
|
32 |
+
weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),
|
33 |
+
weekdaysParseExact: true,
|
34 |
+
longDateFormat: {
|
35 |
+
LT: 'H:mm',
|
36 |
+
LTS: 'H:mm:ss',
|
37 |
+
L: 'DD/MM/YYYY',
|
38 |
+
LL: 'D MMMM [de] YYYY',
|
39 |
+
ll: 'D MMM YYYY',
|
40 |
+
LLL: 'D MMMM [de] YYYY [a les] H:mm',
|
41 |
+
lll: 'D MMM YYYY, H:mm',
|
42 |
+
LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',
|
43 |
+
llll: 'ddd D MMM YYYY, H:mm',
|
44 |
+
},
|
45 |
+
calendar: {
|
46 |
+
sameDay: function () {
|
47 |
+
return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
|
48 |
},
|
49 |
+
nextDay: function () {
|
50 |
+
return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
|
51 |
},
|
52 |
+
nextWeek: function () {
|
53 |
+
return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
|
54 |
},
|
55 |
+
lastDay: function () {
|
56 |
+
return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
|
57 |
},
|
58 |
+
lastWeek: function () {
|
59 |
+
return (
|
60 |
+
'[el] dddd [passat a ' +
|
61 |
+
(this.hours() !== 1 ? 'les' : 'la') +
|
62 |
+
'] LT'
|
63 |
+
);
|
64 |
},
|
65 |
+
sameElse: 'L',
|
66 |
},
|
67 |
+
relativeTime: {
|
68 |
+
future: "d'aquí %s",
|
69 |
+
past: 'fa %s',
|
70 |
+
s: 'uns segons',
|
71 |
+
ss: '%d segons',
|
72 |
+
m: 'un minut',
|
73 |
+
mm: '%d minuts',
|
74 |
+
h: 'una hora',
|
75 |
+
hh: '%d hores',
|
76 |
+
d: 'un dia',
|
77 |
+
dd: '%d dies',
|
78 |
+
M: 'un mes',
|
79 |
+
MM: '%d mesos',
|
80 |
+
y: 'un any',
|
81 |
+
yy: '%d anys',
|
82 |
},
|
83 |
+
dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
|
84 |
+
ordinal: function (number, period) {
|
85 |
+
var output =
|
86 |
+
number === 1
|
87 |
+
? 'r'
|
88 |
+
: number === 2
|
89 |
+
? 'n'
|
90 |
+
: number === 3
|
91 |
+
? 'r'
|
92 |
+
: number === 4
|
93 |
+
? 't'
|
94 |
+
: 'è';
|
95 |
if (period === 'w' || period === 'W') {
|
96 |
output = 'a';
|
97 |
}
|
98 |
return number + output;
|
99 |
},
|
100 |
+
week: {
|
101 |
+
dow: 1, // Monday is the first day of the week.
|
102 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
103 |
+
},
|
104 |
});
|
105 |
|
106 |
return ca;
|
107 |
|
108 |
+
})));
|
assets/js/moment/locale/cs.js
CHANGED
@@ -1,171 +1,182 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : petrbela : https://github.com/petrbela
|
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 |
|
13 |
-
var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'),
|
14 |
-
monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_');
|
15 |
function plural(n) {
|
16 |
-
return
|
17 |
}
|
18 |
function translate(number, withoutSuffix, key, isFuture) {
|
19 |
var result = number + ' ';
|
20 |
switch (key) {
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
return
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
return
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
|
|
68 |
}
|
69 |
}
|
70 |
|
71 |
var cs = moment.defineLocale('cs', {
|
72 |
-
months
|
73 |
-
monthsShort
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
shortMonthsParse
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
return _shortMonthsParse;
|
88 |
-
}(monthsShort)),
|
89 |
-
longMonthsParse : (function (months) {
|
90 |
-
var i, _longMonthsParse = [];
|
91 |
-
for (i = 0; i < 12; i++) {
|
92 |
-
_longMonthsParse[i] = new RegExp('^' + months[i] + '$', 'i');
|
93 |
-
}
|
94 |
-
return _longMonthsParse;
|
95 |
-
}(months)),
|
96 |
-
weekdays : 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
|
97 |
-
weekdaysShort : 'ne_po_út_st_čt_pá_so'.split('_'),
|
98 |
-
weekdaysMin : 'ne_po_út_st_čt_pá_so'.split('_'),
|
99 |
-
longDateFormat : {
|
100 |
LT: 'H:mm',
|
101 |
-
LTS
|
102 |
-
L
|
103 |
-
LL
|
104 |
-
LLL
|
105 |
-
LLLL
|
|
|
106 |
},
|
107 |
-
calendar
|
108 |
sameDay: '[dnes v] LT',
|
109 |
nextDay: '[zítra v] LT',
|
110 |
nextWeek: function () {
|
111 |
switch (this.day()) {
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
}
|
126 |
},
|
127 |
lastDay: '[včera v] LT',
|
128 |
lastWeek: function () {
|
129 |
switch (this.day()) {
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
}
|
143 |
},
|
144 |
-
sameElse: 'L'
|
145 |
},
|
146 |
-
relativeTime
|
147 |
-
future
|
148 |
-
past
|
149 |
-
s
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
},
|
161 |
-
ordinalParse : /\d{1,2}\./,
|
162 |
-
ordinal : '%d.',
|
163 |
-
week : {
|
164 |
-
dow : 1, // Monday is the first day of the week.
|
165 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
166 |
-
}
|
167 |
});
|
168 |
|
169 |
return cs;
|
170 |
|
171 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Czech [cs]
|
3 |
//! author : petrbela : https://github.com/petrbela
|
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 months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(
|
15 |
+
'_'
|
16 |
+
),
|
17 |
+
monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),
|
18 |
+
monthsParse = [
|
19 |
+
/^led/i,
|
20 |
+
/^úno/i,
|
21 |
+
/^bře/i,
|
22 |
+
/^dub/i,
|
23 |
+
/^kvě/i,
|
24 |
+
/^(čvn|červen$|června)/i,
|
25 |
+
/^(čvc|červenec|července)/i,
|
26 |
+
/^srp/i,
|
27 |
+
/^zář/i,
|
28 |
+
/^říj/i,
|
29 |
+
/^lis/i,
|
30 |
+
/^pro/i,
|
31 |
+
],
|
32 |
+
// NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
|
33 |
+
// Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
|
34 |
+
monthsRegex = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;
|
35 |
|
|
|
|
|
36 |
function plural(n) {
|
37 |
+
return n > 1 && n < 5 && ~~(n / 10) !== 1;
|
38 |
}
|
39 |
function translate(number, withoutSuffix, key, isFuture) {
|
40 |
var result = number + ' ';
|
41 |
switch (key) {
|
42 |
+
case 's': // a few seconds / in a few seconds / a few seconds ago
|
43 |
+
return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';
|
44 |
+
case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
|
45 |
+
if (withoutSuffix || isFuture) {
|
46 |
+
return result + (plural(number) ? 'sekundy' : 'sekund');
|
47 |
+
} else {
|
48 |
+
return result + 'sekundami';
|
49 |
+
}
|
50 |
+
case 'm': // a minute / in a minute / a minute ago
|
51 |
+
return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';
|
52 |
+
case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
|
53 |
+
if (withoutSuffix || isFuture) {
|
54 |
+
return result + (plural(number) ? 'minuty' : 'minut');
|
55 |
+
} else {
|
56 |
+
return result + 'minutami';
|
57 |
+
}
|
58 |
+
case 'h': // an hour / in an hour / an hour ago
|
59 |
+
return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
|
60 |
+
case 'hh': // 9 hours / in 9 hours / 9 hours ago
|
61 |
+
if (withoutSuffix || isFuture) {
|
62 |
+
return result + (plural(number) ? 'hodiny' : 'hodin');
|
63 |
+
} else {
|
64 |
+
return result + 'hodinami';
|
65 |
+
}
|
66 |
+
case 'd': // a day / in a day / a day ago
|
67 |
+
return withoutSuffix || isFuture ? 'den' : 'dnem';
|
68 |
+
case 'dd': // 9 days / in 9 days / 9 days ago
|
69 |
+
if (withoutSuffix || isFuture) {
|
70 |
+
return result + (plural(number) ? 'dny' : 'dní');
|
71 |
+
} else {
|
72 |
+
return result + 'dny';
|
73 |
+
}
|
74 |
+
case 'M': // a month / in a month / a month ago
|
75 |
+
return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';
|
76 |
+
case 'MM': // 9 months / in 9 months / 9 months ago
|
77 |
+
if (withoutSuffix || isFuture) {
|
78 |
+
return result + (plural(number) ? 'měsíce' : 'měsíců');
|
79 |
+
} else {
|
80 |
+
return result + 'měsíci';
|
81 |
+
}
|
82 |
+
case 'y': // a year / in a year / a year ago
|
83 |
+
return withoutSuffix || isFuture ? 'rok' : 'rokem';
|
84 |
+
case 'yy': // 9 years / in 9 years / 9 years ago
|
85 |
+
if (withoutSuffix || isFuture) {
|
86 |
+
return result + (plural(number) ? 'roky' : 'let');
|
87 |
+
} else {
|
88 |
+
return result + 'lety';
|
89 |
+
}
|
90 |
}
|
91 |
}
|
92 |
|
93 |
var cs = moment.defineLocale('cs', {
|
94 |
+
months: months,
|
95 |
+
monthsShort: monthsShort,
|
96 |
+
monthsRegex: monthsRegex,
|
97 |
+
monthsShortRegex: monthsRegex,
|
98 |
+
// NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
|
99 |
+
// Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
|
100 |
+
monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,
|
101 |
+
monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
|
102 |
+
monthsParse: monthsParse,
|
103 |
+
longMonthsParse: monthsParse,
|
104 |
+
shortMonthsParse: monthsParse,
|
105 |
+
weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
|
106 |
+
weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
|
107 |
+
weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),
|
108 |
+
longDateFormat: {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
LT: 'H:mm',
|
110 |
+
LTS: 'H:mm:ss',
|
111 |
+
L: 'DD.MM.YYYY',
|
112 |
+
LL: 'D. MMMM YYYY',
|
113 |
+
LLL: 'D. MMMM YYYY H:mm',
|
114 |
+
LLLL: 'dddd D. MMMM YYYY H:mm',
|
115 |
+
l: 'D. M. YYYY',
|
116 |
},
|
117 |
+
calendar: {
|
118 |
sameDay: '[dnes v] LT',
|
119 |
nextDay: '[zítra v] LT',
|
120 |
nextWeek: function () {
|
121 |
switch (this.day()) {
|
122 |
+
case 0:
|
123 |
+
return '[v neděli v] LT';
|
124 |
+
case 1:
|
125 |
+
case 2:
|
126 |
+
return '[v] dddd [v] LT';
|
127 |
+
case 3:
|
128 |
+
return '[ve středu v] LT';
|
129 |
+
case 4:
|
130 |
+
return '[ve čtvrtek v] LT';
|
131 |
+
case 5:
|
132 |
+
return '[v pátek v] LT';
|
133 |
+
case 6:
|
134 |
+
return '[v sobotu v] LT';
|
135 |
}
|
136 |
},
|
137 |
lastDay: '[včera v] LT',
|
138 |
lastWeek: function () {
|
139 |
switch (this.day()) {
|
140 |
+
case 0:
|
141 |
+
return '[minulou neděli v] LT';
|
142 |
+
case 1:
|
143 |
+
case 2:
|
144 |
+
return '[minulé] dddd [v] LT';
|
145 |
+
case 3:
|
146 |
+
return '[minulou středu v] LT';
|
147 |
+
case 4:
|
148 |
+
case 5:
|
149 |
+
return '[minulý] dddd [v] LT';
|
150 |
+
case 6:
|
151 |
+
return '[minulou sobotu v] LT';
|
152 |
}
|
153 |
},
|
154 |
+
sameElse: 'L',
|
155 |
},
|
156 |
+
relativeTime: {
|
157 |
+
future: 'za %s',
|
158 |
+
past: 'před %s',
|
159 |
+
s: translate,
|
160 |
+
ss: translate,
|
161 |
+
m: translate,
|
162 |
+
mm: translate,
|
163 |
+
h: translate,
|
164 |
+
hh: translate,
|
165 |
+
d: translate,
|
166 |
+
dd: translate,
|
167 |
+
M: translate,
|
168 |
+
MM: translate,
|
169 |
+
y: translate,
|
170 |
+
yy: translate,
|
171 |
+
},
|
172 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
173 |
+
ordinal: '%d.',
|
174 |
+
week: {
|
175 |
+
dow: 1, // Monday is the first day of the week.
|
176 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
177 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
});
|
179 |
|
180 |
return cs;
|
181 |
|
182 |
+
})));
|
assets/js/moment/locale/cv.js
CHANGED
@@ -1,63 +1,73 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Anatoly Mironov : https://github.com/mirontoli
|
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 |
|
13 |
var cv = moment.defineLocale('cv', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
sameDay: '[Паян] LT [сехетре]',
|
29 |
nextDay: '[Ыран] LT [сехетре]',
|
30 |
lastDay: '[Ӗнер] LT [сехетре]',
|
31 |
nextWeek: '[Ҫитес] dddd LT [сехетре]',
|
32 |
lastWeek: '[Иртнӗ] dddd LT [сехетре]',
|
33 |
-
sameElse: 'L'
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
var affix = /сехет$/i.exec(output)
|
|
|
|
|
|
|
|
|
38 |
return output + affix;
|
39 |
},
|
40 |
-
past
|
41 |
-
s
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
},
|
53 |
-
ordinalParse: /\d{1,2}-мӗш/,
|
54 |
-
ordinal : '%d-мӗш',
|
55 |
-
week : {
|
56 |
-
dow : 1, // Monday is the first day of the week.
|
57 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
58 |
-
}
|
59 |
});
|
60 |
|
61 |
return cv;
|
62 |
|
63 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Chuvash [cv]
|
3 |
//! author : Anatoly Mironov : https://github.com/mirontoli
|
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 cv = moment.defineLocale('cv', {
|
15 |
+
months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
|
19 |
+
weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
|
23 |
+
weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'HH:mm',
|
26 |
+
LTS: 'HH:mm:ss',
|
27 |
+
L: 'DD-MM-YYYY',
|
28 |
+
LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
|
29 |
+
LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
|
30 |
+
LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
|
31 |
},
|
32 |
+
calendar: {
|
33 |
sameDay: '[Паян] LT [сехетре]',
|
34 |
nextDay: '[Ыран] LT [сехетре]',
|
35 |
lastDay: '[Ӗнер] LT [сехетре]',
|
36 |
nextWeek: '[Ҫитес] dddd LT [сехетре]',
|
37 |
lastWeek: '[Иртнӗ] dddd LT [сехетре]',
|
38 |
+
sameElse: 'L',
|
39 |
},
|
40 |
+
relativeTime: {
|
41 |
+
future: function (output) {
|
42 |
+
var affix = /сехет$/i.exec(output)
|
43 |
+
? 'рен'
|
44 |
+
: /ҫул$/i.exec(output)
|
45 |
+
? 'тан'
|
46 |
+
: 'ран';
|
47 |
return output + affix;
|
48 |
},
|
49 |
+
past: '%s каялла',
|
50 |
+
s: 'пӗр-ик ҫеккунт',
|
51 |
+
ss: '%d ҫеккунт',
|
52 |
+
m: 'пӗр минут',
|
53 |
+
mm: '%d минут',
|
54 |
+
h: 'пӗр сехет',
|
55 |
+
hh: '%d сехет',
|
56 |
+
d: 'пӗр кун',
|
57 |
+
dd: '%d кун',
|
58 |
+
M: 'пӗр уйӑх',
|
59 |
+
MM: '%d уйӑх',
|
60 |
+
y: 'пӗр ҫул',
|
61 |
+
yy: '%d ҫул',
|
62 |
+
},
|
63 |
+
dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
|
64 |
+
ordinal: '%d-мӗш',
|
65 |
+
week: {
|
66 |
+
dow: 1, // Monday is the first day of the week.
|
67 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
68 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
});
|
70 |
|
71 |
return cv;
|
72 |
|
73 |
+
})));
|
assets/js/moment/locale/cy.js
CHANGED
@@ -1,29 +1,38 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Welsh
|
3 |
-
//! author : Robert Allen
|
|
|
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 |
|
13 |
var cy = moment.defineLocale('cy', {
|
14 |
-
months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
|
18 |
weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
|
|
|
19 |
// time formats are the same as en-gb
|
20 |
longDateFormat: {
|
21 |
LT: 'HH:mm',
|
22 |
-
LTS
|
23 |
L: 'DD/MM/YYYY',
|
24 |
LL: 'D MMMM YYYY',
|
25 |
LLL: 'D MMMM YYYY HH:mm',
|
26 |
-
LLLL: 'dddd, D MMMM YYYY HH:mm'
|
27 |
},
|
28 |
calendar: {
|
29 |
sameDay: '[Heddiw am] LT',
|
@@ -31,12 +40,13 @@
|
|
31 |
nextWeek: 'dddd [am] LT',
|
32 |
lastDay: '[Ddoe am] LT',
|
33 |
lastWeek: 'dddd [diwethaf am] LT',
|
34 |
-
sameElse: 'L'
|
35 |
},
|
36 |
relativeTime: {
|
37 |
future: 'mewn %s',
|
38 |
past: '%s yn ôl',
|
39 |
s: 'ychydig eiliadau',
|
|
|
40 |
m: 'munud',
|
41 |
mm: '%d munud',
|
42 |
h: 'awr',
|
@@ -46,16 +56,35 @@
|
|
46 |
M: 'mis',
|
47 |
MM: '%d mis',
|
48 |
y: 'blwyddyn',
|
49 |
-
yy: '%d flynedd'
|
50 |
},
|
51 |
-
|
52 |
// traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
|
53 |
ordinal: function (number) {
|
54 |
var b = number,
|
55 |
output = '',
|
56 |
lookup = [
|
57 |
-
'',
|
58 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
];
|
60 |
if (b > 20) {
|
61 |
if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
|
@@ -68,12 +97,12 @@
|
|
68 |
}
|
69 |
return number + output;
|
70 |
},
|
71 |
-
week
|
72 |
-
dow
|
73 |
-
doy
|
74 |
-
}
|
75 |
});
|
76 |
|
77 |
return cy;
|
78 |
|
79 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Welsh [cy]
|
3 |
+
//! author : Robert Allen : https://github.com/robgallen
|
4 |
+
//! author : https://github.com/ryangreaves
|
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 cy = moment.defineLocale('cy', {
|
16 |
+
months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(
|
17 |
+
'_'
|
18 |
+
),
|
19 |
+
monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split(
|
23 |
+
'_'
|
24 |
+
),
|
25 |
weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
|
26 |
weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
|
27 |
+
weekdaysParseExact: true,
|
28 |
// time formats are the same as en-gb
|
29 |
longDateFormat: {
|
30 |
LT: 'HH:mm',
|
31 |
+
LTS: 'HH:mm:ss',
|
32 |
L: 'DD/MM/YYYY',
|
33 |
LL: 'D MMMM YYYY',
|
34 |
LLL: 'D MMMM YYYY HH:mm',
|
35 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
36 |
},
|
37 |
calendar: {
|
38 |
sameDay: '[Heddiw am] LT',
|
40 |
nextWeek: 'dddd [am] LT',
|
41 |
lastDay: '[Ddoe am] LT',
|
42 |
lastWeek: 'dddd [diwethaf am] LT',
|
43 |
+
sameElse: 'L',
|
44 |
},
|
45 |
relativeTime: {
|
46 |
future: 'mewn %s',
|
47 |
past: '%s yn ôl',
|
48 |
s: 'ychydig eiliadau',
|
49 |
+
ss: '%d eiliad',
|
50 |
m: 'munud',
|
51 |
mm: '%d munud',
|
52 |
h: 'awr',
|
56 |
M: 'mis',
|
57 |
MM: '%d mis',
|
58 |
y: 'blwyddyn',
|
59 |
+
yy: '%d flynedd',
|
60 |
},
|
61 |
+
dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
|
62 |
// traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
|
63 |
ordinal: function (number) {
|
64 |
var b = number,
|
65 |
output = '',
|
66 |
lookup = [
|
67 |
+
'',
|
68 |
+
'af',
|
69 |
+
'il',
|
70 |
+
'ydd',
|
71 |
+
'ydd',
|
72 |
+
'ed',
|
73 |
+
'ed',
|
74 |
+
'ed',
|
75 |
+
'fed',
|
76 |
+
'fed',
|
77 |
+
'fed', // 1af to 10fed
|
78 |
+
'eg',
|
79 |
+
'fed',
|
80 |
+
'eg',
|
81 |
+
'eg',
|
82 |
+
'fed',
|
83 |
+
'eg',
|
84 |
+
'eg',
|
85 |
+
'fed',
|
86 |
+
'eg',
|
87 |
+
'fed', // 11eg to 20fed
|
88 |
];
|
89 |
if (b > 20) {
|
90 |
if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
|
97 |
}
|
98 |
return number + output;
|
99 |
},
|
100 |
+
week: {
|
101 |
+
dow: 1, // Monday is the first day of the week.
|
102 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
103 |
+
},
|
104 |
});
|
105 |
|
106 |
return cy;
|
107 |
|
108 |
+
})));
|
assets/js/moment/locale/da.js
CHANGED
@@ -1,60 +1,64 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Ulrik Nielsen : https://github.com/mrbase
|
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 |
|
13 |
var da = moment.defineLocale('da', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay
|
29 |
-
nextDay
|
30 |
-
nextWeek
|
31 |
-
lastDay
|
32 |
-
lastWeek
|
33 |
-
sameElse
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
},
|
50 |
-
ordinalParse: /\d{1,2}\./,
|
51 |
-
ordinal : '%d.',
|
52 |
-
week : {
|
53 |
-
dow : 1, // Monday is the first day of the week.
|
54 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
55 |
-
}
|
56 |
});
|
57 |
|
58 |
return da;
|
59 |
|
60 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Danish [da]
|
3 |
//! author : Ulrik Nielsen : https://github.com/mrbase
|
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 da = moment.defineLocale('da', {
|
15 |
+
months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
|
19 |
+
weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
|
20 |
+
weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
|
21 |
+
weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
|
22 |
+
longDateFormat: {
|
23 |
+
LT: 'HH:mm',
|
24 |
+
LTS: 'HH:mm:ss',
|
25 |
+
L: 'DD.MM.YYYY',
|
26 |
+
LL: 'D. MMMM YYYY',
|
27 |
+
LLL: 'D. MMMM YYYY HH:mm',
|
28 |
+
LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',
|
29 |
},
|
30 |
+
calendar: {
|
31 |
+
sameDay: '[i dag kl.] LT',
|
32 |
+
nextDay: '[i morgen kl.] LT',
|
33 |
+
nextWeek: 'på dddd [kl.] LT',
|
34 |
+
lastDay: '[i går kl.] LT',
|
35 |
+
lastWeek: '[i] dddd[s kl.] LT',
|
36 |
+
sameElse: 'L',
|
37 |
},
|
38 |
+
relativeTime: {
|
39 |
+
future: 'om %s',
|
40 |
+
past: '%s siden',
|
41 |
+
s: 'få sekunder',
|
42 |
+
ss: '%d sekunder',
|
43 |
+
m: 'et minut',
|
44 |
+
mm: '%d minutter',
|
45 |
+
h: 'en time',
|
46 |
+
hh: '%d timer',
|
47 |
+
d: 'en dag',
|
48 |
+
dd: '%d dage',
|
49 |
+
M: 'en måned',
|
50 |
+
MM: '%d måneder',
|
51 |
+
y: 'et år',
|
52 |
+
yy: '%d år',
|
53 |
+
},
|
54 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
55 |
+
ordinal: '%d.',
|
56 |
+
week: {
|
57 |
+
dow: 1, // Monday is the first day of the week.
|
58 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
59 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
});
|
61 |
|
62 |
return da;
|
63 |
|
64 |
+
})));
|
assets/js/moment/locale/de-at.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : lluchs : https://github.com/lluchs
|
4 |
//! author: Menelion Elensúle: https://github.com/Oire
|
5 |
//! author : Martin Groller : https://github.com/MadMG
|
@@ -8,70 +8,83 @@
|
|
8 |
;(function (global, factory) {
|
9 |
typeof exports === 'object' && typeof module !== 'undefined'
|
10 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
11 |
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
12 |
factory(global.moment)
|
13 |
-
}(this, function (moment) { 'use strict';
|
14 |
|
|
|
15 |
|
16 |
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
17 |
var format = {
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
26 |
};
|
27 |
return withoutSuffix ? format[key][0] : format[key][1];
|
28 |
}
|
29 |
|
30 |
-
var
|
31 |
-
months
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
LT: 'HH:mm',
|
38 |
LTS: 'HH:mm:ss',
|
39 |
-
L
|
40 |
-
LL
|
41 |
-
LLL
|
42 |
-
LLLL
|
43 |
},
|
44 |
-
calendar
|
45 |
sameDay: '[heute um] LT [Uhr]',
|
46 |
sameElse: 'L',
|
47 |
nextDay: '[morgen um] LT [Uhr]',
|
48 |
nextWeek: 'dddd [um] LT [Uhr]',
|
49 |
lastDay: '[gestern um] LT [Uhr]',
|
50 |
-
lastWeek: '[letzten] dddd [um] LT [Uhr]'
|
51 |
},
|
52 |
-
relativeTime
|
53 |
-
future
|
54 |
-
past
|
55 |
-
s
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
d
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
},
|
67 |
-
ordinalParse: /\d{1,2}\./,
|
68 |
-
ordinal : '%d.',
|
69 |
-
week : {
|
70 |
-
dow : 1, // Monday is the first day of the week.
|
71 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
72 |
-
}
|
73 |
});
|
74 |
|
75 |
-
return
|
76 |
|
77 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : German (Austria) [de-at]
|
3 |
//! author : lluchs : https://github.com/lluchs
|
4 |
//! author: Menelion Elensúle: https://github.com/Oire
|
5 |
//! author : Martin Groller : https://github.com/MadMG
|
8 |
;(function (global, factory) {
|
9 |
typeof exports === 'object' && typeof module !== 'undefined'
|
10 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
11 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
12 |
factory(global.moment)
|
13 |
+
}(this, (function (moment) { 'use strict';
|
14 |
|
15 |
+
//! moment.js locale configuration
|
16 |
|
17 |
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
18 |
var format = {
|
19 |
+
m: ['eine Minute', 'einer Minute'],
|
20 |
+
h: ['eine Stunde', 'einer Stunde'],
|
21 |
+
d: ['ein Tag', 'einem Tag'],
|
22 |
+
dd: [number + ' Tage', number + ' Tagen'],
|
23 |
+
w: ['eine Woche', 'einer Woche'],
|
24 |
+
M: ['ein Monat', 'einem Monat'],
|
25 |
+
MM: [number + ' Monate', number + ' Monaten'],
|
26 |
+
y: ['ein Jahr', 'einem Jahr'],
|
27 |
+
yy: [number + ' Jahre', number + ' Jahren'],
|
28 |
};
|
29 |
return withoutSuffix ? format[key][0] : format[key][1];
|
30 |
}
|
31 |
|
32 |
+
var deAt = moment.defineLocale('de-at', {
|
33 |
+
months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
|
34 |
+
'_'
|
35 |
+
),
|
36 |
+
monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
|
37 |
+
'_'
|
38 |
+
),
|
39 |
+
monthsParseExact: true,
|
40 |
+
weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
|
41 |
+
'_'
|
42 |
+
),
|
43 |
+
weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
|
44 |
+
weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
|
45 |
+
weekdaysParseExact: true,
|
46 |
+
longDateFormat: {
|
47 |
LT: 'HH:mm',
|
48 |
LTS: 'HH:mm:ss',
|
49 |
+
L: 'DD.MM.YYYY',
|
50 |
+
LL: 'D. MMMM YYYY',
|
51 |
+
LLL: 'D. MMMM YYYY HH:mm',
|
52 |
+
LLLL: 'dddd, D. MMMM YYYY HH:mm',
|
53 |
},
|
54 |
+
calendar: {
|
55 |
sameDay: '[heute um] LT [Uhr]',
|
56 |
sameElse: 'L',
|
57 |
nextDay: '[morgen um] LT [Uhr]',
|
58 |
nextWeek: 'dddd [um] LT [Uhr]',
|
59 |
lastDay: '[gestern um] LT [Uhr]',
|
60 |
+
lastWeek: '[letzten] dddd [um] LT [Uhr]',
|
61 |
},
|
62 |
+
relativeTime: {
|
63 |
+
future: 'in %s',
|
64 |
+
past: 'vor %s',
|
65 |
+
s: 'ein paar Sekunden',
|
66 |
+
ss: '%d Sekunden',
|
67 |
+
m: processRelativeTime,
|
68 |
+
mm: '%d Minuten',
|
69 |
+
h: processRelativeTime,
|
70 |
+
hh: '%d Stunden',
|
71 |
+
d: processRelativeTime,
|
72 |
+
dd: processRelativeTime,
|
73 |
+
w: processRelativeTime,
|
74 |
+
ww: '%d Wochen',
|
75 |
+
M: processRelativeTime,
|
76 |
+
MM: processRelativeTime,
|
77 |
+
y: processRelativeTime,
|
78 |
+
yy: processRelativeTime,
|
79 |
+
},
|
80 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
81 |
+
ordinal: '%d.',
|
82 |
+
week: {
|
83 |
+
dow: 1, // Monday is the first day of the week.
|
84 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
85 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
});
|
87 |
|
88 |
+
return deAt;
|
89 |
|
90 |
+
})));
|
assets/js/moment/locale/de-ch.js
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : German (Switzerland) [de-ch]
|
3 |
+
//! author : sschueller : https://github.com/sschueller
|
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 processRelativeTime(number, withoutSuffix, key, isFuture) {
|
15 |
+
var format = {
|
16 |
+
m: ['eine Minute', 'einer Minute'],
|
17 |
+
h: ['eine Stunde', 'einer Stunde'],
|
18 |
+
d: ['ein Tag', 'einem Tag'],
|
19 |
+
dd: [number + ' Tage', number + ' Tagen'],
|
20 |
+
w: ['eine Woche', 'einer Woche'],
|
21 |
+
M: ['ein Monat', 'einem Monat'],
|
22 |
+
MM: [number + ' Monate', number + ' Monaten'],
|
23 |
+
y: ['ein Jahr', 'einem Jahr'],
|
24 |
+
yy: [number + ' Jahre', number + ' Jahren'],
|
25 |
+
};
|
26 |
+
return withoutSuffix ? format[key][0] : format[key][1];
|
27 |
+
}
|
28 |
+
|
29 |
+
var deCh = moment.defineLocale('de-ch', {
|
30 |
+
months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
|
31 |
+
'_'
|
32 |
+
),
|
33 |
+
monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
|
34 |
+
'_'
|
35 |
+
),
|
36 |
+
monthsParseExact: true,
|
37 |
+
weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
|
38 |
+
'_'
|
39 |
+
),
|
40 |
+
weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
|
41 |
+
weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
|
42 |
+
weekdaysParseExact: true,
|
43 |
+
longDateFormat: {
|
44 |
+
LT: 'HH:mm',
|
45 |
+
LTS: 'HH:mm:ss',
|
46 |
+
L: 'DD.MM.YYYY',
|
47 |
+
LL: 'D. MMMM YYYY',
|
48 |
+
LLL: 'D. MMMM YYYY HH:mm',
|
49 |
+
LLLL: 'dddd, D. MMMM YYYY HH:mm',
|
50 |
+
},
|
51 |
+
calendar: {
|
52 |
+
sameDay: '[heute um] LT [Uhr]',
|
53 |
+
sameElse: 'L',
|
54 |
+
nextDay: '[morgen um] LT [Uhr]',
|
55 |
+
nextWeek: 'dddd [um] LT [Uhr]',
|
56 |
+
lastDay: '[gestern um] LT [Uhr]',
|
57 |
+
lastWeek: '[letzten] dddd [um] LT [Uhr]',
|
58 |
+
},
|
59 |
+
relativeTime: {
|
60 |
+
future: 'in %s',
|
61 |
+
past: 'vor %s',
|
62 |
+
s: 'ein paar Sekunden',
|
63 |
+
ss: '%d Sekunden',
|
64 |
+
m: processRelativeTime,
|
65 |
+
mm: '%d Minuten',
|
66 |
+
h: processRelativeTime,
|
67 |
+
hh: '%d Stunden',
|
68 |
+
d: processRelativeTime,
|
69 |
+
dd: processRelativeTime,
|
70 |
+
w: processRelativeTime,
|
71 |
+
ww: '%d Wochen',
|
72 |
+
M: processRelativeTime,
|
73 |
+
MM: processRelativeTime,
|
74 |
+
y: processRelativeTime,
|
75 |
+
yy: processRelativeTime,
|
76 |
+
},
|
77 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
78 |
+
ordinal: '%d.',
|
79 |
+
week: {
|
80 |
+
dow: 1, // Monday is the first day of the week.
|
81 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
82 |
+
},
|
83 |
+
});
|
84 |
+
|
85 |
+
return deCh;
|
86 |
+
|
87 |
+
})));
|
assets/js/moment/locale/de.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : lluchs : https://github.com/lluchs
|
4 |
//! author: Menelion Elensúle: https://github.com/Oire
|
5 |
//! author : Mikolaj Dadela : https://github.com/mik01aj
|
@@ -7,70 +7,83 @@
|
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
-
}(this, function (moment) { 'use strict';
|
13 |
|
|
|
14 |
|
15 |
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
16 |
var format = {
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
25 |
};
|
26 |
return withoutSuffix ? format[key][0] : format[key][1];
|
27 |
}
|
28 |
|
29 |
var de = moment.defineLocale('de', {
|
30 |
-
months
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
LT: 'HH:mm',
|
37 |
LTS: 'HH:mm:ss',
|
38 |
-
L
|
39 |
-
LL
|
40 |
-
LLL
|
41 |
-
LLLL
|
42 |
},
|
43 |
-
calendar
|
44 |
sameDay: '[heute um] LT [Uhr]',
|
45 |
sameElse: 'L',
|
46 |
nextDay: '[morgen um] LT [Uhr]',
|
47 |
nextWeek: 'dddd [um] LT [Uhr]',
|
48 |
lastDay: '[gestern um] LT [Uhr]',
|
49 |
-
lastWeek: '[letzten] dddd [um] LT [Uhr]'
|
50 |
},
|
51 |
-
relativeTime
|
52 |
-
future
|
53 |
-
past
|
54 |
-
s
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
d
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
},
|
66 |
-
ordinalParse: /\d{1,2}\./,
|
67 |
-
ordinal : '%d.',
|
68 |
-
week : {
|
69 |
-
dow : 1, // Monday is the first day of the week.
|
70 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
71 |
-
}
|
72 |
});
|
73 |
|
74 |
return de;
|
75 |
|
76 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : German [de]
|
3 |
//! author : lluchs : https://github.com/lluchs
|
4 |
//! author: Menelion Elensúle: https://github.com/Oire
|
5 |
//! author : Mikolaj Dadela : https://github.com/mik01aj
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
+
}(this, (function (moment) { 'use strict';
|
13 |
|
14 |
+
//! moment.js locale configuration
|
15 |
|
16 |
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
17 |
var format = {
|
18 |
+
m: ['eine Minute', 'einer Minute'],
|
19 |
+
h: ['eine Stunde', 'einer Stunde'],
|
20 |
+
d: ['ein Tag', 'einem Tag'],
|
21 |
+
dd: [number + ' Tage', number + ' Tagen'],
|
22 |
+
w: ['eine Woche', 'einer Woche'],
|
23 |
+
M: ['ein Monat', 'einem Monat'],
|
24 |
+
MM: [number + ' Monate', number + ' Monaten'],
|
25 |
+
y: ['ein Jahr', 'einem Jahr'],
|
26 |
+
yy: [number + ' Jahre', number + ' Jahren'],
|
27 |
};
|
28 |
return withoutSuffix ? format[key][0] : format[key][1];
|
29 |
}
|
30 |
|
31 |
var de = moment.defineLocale('de', {
|
32 |
+
months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
|
33 |
+
'_'
|
34 |
+
),
|
35 |
+
monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
|
36 |
+
'_'
|
37 |
+
),
|
38 |
+
monthsParseExact: true,
|
39 |
+
weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
|
40 |
+
'_'
|
41 |
+
),
|
42 |
+
weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
|
43 |
+
weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
|
44 |
+
weekdaysParseExact: true,
|
45 |
+
longDateFormat: {
|
46 |
LT: 'HH:mm',
|
47 |
LTS: 'HH:mm:ss',
|
48 |
+
L: 'DD.MM.YYYY',
|
49 |
+
LL: 'D. MMMM YYYY',
|
50 |
+
LLL: 'D. MMMM YYYY HH:mm',
|
51 |
+
LLLL: 'dddd, D. MMMM YYYY HH:mm',
|
52 |
},
|
53 |
+
calendar: {
|
54 |
sameDay: '[heute um] LT [Uhr]',
|
55 |
sameElse: 'L',
|
56 |
nextDay: '[morgen um] LT [Uhr]',
|
57 |
nextWeek: 'dddd [um] LT [Uhr]',
|
58 |
lastDay: '[gestern um] LT [Uhr]',
|
59 |
+
lastWeek: '[letzten] dddd [um] LT [Uhr]',
|
60 |
},
|
61 |
+
relativeTime: {
|
62 |
+
future: 'in %s',
|
63 |
+
past: 'vor %s',
|
64 |
+
s: 'ein paar Sekunden',
|
65 |
+
ss: '%d Sekunden',
|
66 |
+
m: processRelativeTime,
|
67 |
+
mm: '%d Minuten',
|
68 |
+
h: processRelativeTime,
|
69 |
+
hh: '%d Stunden',
|
70 |
+
d: processRelativeTime,
|
71 |
+
dd: processRelativeTime,
|
72 |
+
w: processRelativeTime,
|
73 |
+
ww: '%d Wochen',
|
74 |
+
M: processRelativeTime,
|
75 |
+
MM: processRelativeTime,
|
76 |
+
y: processRelativeTime,
|
77 |
+
yy: processRelativeTime,
|
78 |
+
},
|
79 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
80 |
+
ordinal: '%d.',
|
81 |
+
week: {
|
82 |
+
dow: 1, // Monday is the first day of the week.
|
83 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
84 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
});
|
86 |
|
87 |
return de;
|
88 |
|
89 |
+
})));
|
assets/js/moment/locale/dv.js
CHANGED
@@ -1,86 +1,88 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Jawish Hameed : https://github.com/jawish
|
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 |
|
13 |
var months = [
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
35 |
|
36 |
var dv = moment.defineLocale('dv', {
|
37 |
-
months
|
38 |
-
monthsShort
|
39 |
-
weekdays
|
40 |
-
weekdaysShort
|
41 |
-
weekdaysMin
|
42 |
-
longDateFormat
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
LLLL : 'dddd D MMMM YYYY HH:mm'
|
50 |
},
|
51 |
meridiemParse: /މކ|މފ/,
|
52 |
-
isPM
|
53 |
-
return '' === input;
|
54 |
},
|
55 |
-
meridiem
|
56 |
if (hour < 12) {
|
57 |
return 'މކ';
|
58 |
} else {
|
59 |
return 'މފ';
|
60 |
}
|
61 |
},
|
62 |
-
calendar
|
63 |
-
sameDay
|
64 |
-
nextDay
|
65 |
-
nextWeek
|
66 |
-
lastDay
|
67 |
-
lastWeek
|
68 |
-
sameElse
|
69 |
},
|
70 |
-
relativeTime
|
71 |
-
future
|
72 |
-
past
|
73 |
-
s
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
|
|
84 |
},
|
85 |
preparse: function (string) {
|
86 |
return string.replace(/،/g, ',');
|
@@ -88,12 +90,12 @@
|
|
88 |
postformat: function (string) {
|
89 |
return string.replace(/,/g, '،');
|
90 |
},
|
91 |
-
week
|
92 |
-
dow
|
93 |
-
doy
|
94 |
-
}
|
95 |
});
|
96 |
|
97 |
return dv;
|
98 |
|
99 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Maldivian [dv]
|
3 |
//! author : Jawish Hameed : https://github.com/jawish
|
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 months = [
|
15 |
+
'ޖެނުއަރީ',
|
16 |
+
'ފެބްރުއަރީ',
|
17 |
+
'މާރިޗު',
|
18 |
+
'އޭޕްރީލު',
|
19 |
+
'މޭ',
|
20 |
+
'ޖޫން',
|
21 |
+
'ޖުލައި',
|
22 |
+
'އޯގަސްޓު',
|
23 |
+
'ސެޕްޓެމްބަރު',
|
24 |
+
'އޮކްޓޯބަރު',
|
25 |
+
'ނޮވެމްބަރު',
|
26 |
+
'ޑިސެމްބަރު',
|
27 |
+
],
|
28 |
+
weekdays = [
|
29 |
+
'އާދިއްތަ',
|
30 |
+
'ހޯމަ',
|
31 |
+
'އަންގާރަ',
|
32 |
+
'ބުދަ',
|
33 |
+
'ބުރާސްފަތި',
|
34 |
+
'ހުކުރު',
|
35 |
+
'ހޮނިހިރު',
|
36 |
+
];
|
37 |
|
38 |
var dv = moment.defineLocale('dv', {
|
39 |
+
months: months,
|
40 |
+
monthsShort: months,
|
41 |
+
weekdays: weekdays,
|
42 |
+
weekdaysShort: weekdays,
|
43 |
+
weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
|
44 |
+
longDateFormat: {
|
45 |
+
LT: 'HH:mm',
|
46 |
+
LTS: 'HH:mm:ss',
|
47 |
+
L: 'D/M/YYYY',
|
48 |
+
LL: 'D MMMM YYYY',
|
49 |
+
LLL: 'D MMMM YYYY HH:mm',
|
50 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
|
|
51 |
},
|
52 |
meridiemParse: /މކ|މފ/,
|
53 |
+
isPM: function (input) {
|
54 |
+
return 'މފ' === input;
|
55 |
},
|
56 |
+
meridiem: function (hour, minute, isLower) {
|
57 |
if (hour < 12) {
|
58 |
return 'މކ';
|
59 |
} else {
|
60 |
return 'މފ';
|
61 |
}
|
62 |
},
|
63 |
+
calendar: {
|
64 |
+
sameDay: '[މިއަދު] LT',
|
65 |
+
nextDay: '[މާދަމާ] LT',
|
66 |
+
nextWeek: 'dddd LT',
|
67 |
+
lastDay: '[އިއްޔެ] LT',
|
68 |
+
lastWeek: '[ފާއިތުވި] dddd LT',
|
69 |
+
sameElse: 'L',
|
70 |
},
|
71 |
+
relativeTime: {
|
72 |
+
future: 'ތެރޭގައި %s',
|
73 |
+
past: 'ކުރިން %s',
|
74 |
+
s: 'ސިކުންތުކޮޅެއް',
|
75 |
+
ss: 'd% ސިކުންތު',
|
76 |
+
m: 'މިނިޓެއް',
|
77 |
+
mm: 'މިނިޓު %d',
|
78 |
+
h: 'ގަޑިއިރެއް',
|
79 |
+
hh: 'ގަޑިއިރު %d',
|
80 |
+
d: 'ދުވަހެއް',
|
81 |
+
dd: 'ދުވަސް %d',
|
82 |
+
M: 'މަހެއް',
|
83 |
+
MM: 'މަސް %d',
|
84 |
+
y: 'އަހަރެއް',
|
85 |
+
yy: 'އަހަރު %d',
|
86 |
},
|
87 |
preparse: function (string) {
|
88 |
return string.replace(/،/g, ',');
|
90 |
postformat: function (string) {
|
91 |
return string.replace(/,/g, '،');
|
92 |
},
|
93 |
+
week: {
|
94 |
+
dow: 7, // Sunday is the first day of the week.
|
95 |
+
doy: 12, // The week that contains Jan 12th is the first week of the year.
|
96 |
+
},
|
97 |
});
|
98 |
|
99 |
return dv;
|
100 |
|
101 |
+
})));
|
assets/js/moment/locale/el.js
CHANGED
@@ -1,58 +1,74 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Aggelos Karalias : https://github.com/mehiel
|
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 |
function isFunction(input) {
|
13 |
-
return
|
|
|
|
|
|
|
14 |
}
|
15 |
|
16 |
-
|
17 |
var el = moment.defineLocale('el', {
|
18 |
-
monthsNominativeEl
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
return this._monthsGenitiveEl[momentToFormat.month()];
|
23 |
} else {
|
24 |
return this._monthsNominativeEl[momentToFormat.month()];
|
25 |
}
|
26 |
},
|
27 |
-
monthsShort
|
28 |
-
weekdays
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
32 |
if (hours > 11) {
|
33 |
return isLower ? 'μμ' : 'ΜΜ';
|
34 |
} else {
|
35 |
return isLower ? 'πμ' : 'ΠΜ';
|
36 |
}
|
37 |
},
|
38 |
-
isPM
|
39 |
-
return (
|
40 |
},
|
41 |
-
meridiemParse
|
42 |
-
longDateFormat
|
43 |
-
LT
|
44 |
-
LTS
|
45 |
-
L
|
46 |
-
LL
|
47 |
-
LLL
|
48 |
-
LLLL
|
49 |
},
|
50 |
-
calendarEl
|
51 |
-
sameDay
|
52 |
-
nextDay
|
53 |
-
nextWeek
|
54 |
-
lastDay
|
55 |
-
lastWeek
|
56 |
switch (this.day()) {
|
57 |
case 6:
|
58 |
return '[το προηγούμενο] dddd [{}] LT';
|
@@ -60,39 +76,40 @@
|
|
60 |
return '[την προηγούμενη] dddd [{}] LT';
|
61 |
}
|
62 |
},
|
63 |
-
sameElse
|
64 |
},
|
65 |
-
calendar
|
66 |
var output = this._calendarEl[key],
|
67 |
hours = mom && mom.hours();
|
68 |
if (isFunction(output)) {
|
69 |
output = output.apply(mom);
|
70 |
}
|
71 |
-
return output.replace('{}',
|
72 |
},
|
73 |
-
relativeTime
|
74 |
-
future
|
75 |
-
past
|
76 |
-
s
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
|
|
87 |
},
|
88 |
-
|
89 |
ordinal: '%dη',
|
90 |
-
week
|
91 |
-
dow
|
92 |
-
doy
|
93 |
-
}
|
94 |
});
|
95 |
|
96 |
return el;
|
97 |
|
98 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Greek [el]
|
3 |
//! author : Aggelos Karalias : https://github.com/mehiel
|
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 isFunction(input) {
|
15 |
+
return (
|
16 |
+
(typeof Function !== 'undefined' && input instanceof Function) ||
|
17 |
+
Object.prototype.toString.call(input) === '[object Function]'
|
18 |
+
);
|
19 |
}
|
20 |
|
|
|
21 |
var el = moment.defineLocale('el', {
|
22 |
+
monthsNominativeEl: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split(
|
23 |
+
'_'
|
24 |
+
),
|
25 |
+
monthsGenitiveEl: 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split(
|
26 |
+
'_'
|
27 |
+
),
|
28 |
+
months: function (momentToFormat, format) {
|
29 |
+
if (!momentToFormat) {
|
30 |
+
return this._monthsNominativeEl;
|
31 |
+
} else if (
|
32 |
+
typeof format === 'string' &&
|
33 |
+
/D/.test(format.substring(0, format.indexOf('MMMM')))
|
34 |
+
) {
|
35 |
+
// if there is a day number before 'MMMM'
|
36 |
return this._monthsGenitiveEl[momentToFormat.month()];
|
37 |
} else {
|
38 |
return this._monthsNominativeEl[momentToFormat.month()];
|
39 |
}
|
40 |
},
|
41 |
+
monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
|
42 |
+
weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split(
|
43 |
+
'_'
|
44 |
+
),
|
45 |
+
weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
|
46 |
+
weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
|
47 |
+
meridiem: function (hours, minutes, isLower) {
|
48 |
if (hours > 11) {
|
49 |
return isLower ? 'μμ' : 'ΜΜ';
|
50 |
} else {
|
51 |
return isLower ? 'πμ' : 'ΠΜ';
|
52 |
}
|
53 |
},
|
54 |
+
isPM: function (input) {
|
55 |
+
return (input + '').toLowerCase()[0] === 'μ';
|
56 |
},
|
57 |
+
meridiemParse: /[ΠΜ]\.?Μ?\.?/i,
|
58 |
+
longDateFormat: {
|
59 |
+
LT: 'h:mm A',
|
60 |
+
LTS: 'h:mm:ss A',
|
61 |
+
L: 'DD/MM/YYYY',
|
62 |
+
LL: 'D MMMM YYYY',
|
63 |
+
LLL: 'D MMMM YYYY h:mm A',
|
64 |
+
LLLL: 'dddd, D MMMM YYYY h:mm A',
|
65 |
},
|
66 |
+
calendarEl: {
|
67 |
+
sameDay: '[Σήμερα {}] LT',
|
68 |
+
nextDay: '[Αύριο {}] LT',
|
69 |
+
nextWeek: 'dddd [{}] LT',
|
70 |
+
lastDay: '[Χθες {}] LT',
|
71 |
+
lastWeek: function () {
|
72 |
switch (this.day()) {
|
73 |
case 6:
|
74 |
return '[το προηγούμενο] dddd [{}] LT';
|
76 |
return '[την προηγούμενη] dddd [{}] LT';
|
77 |
}
|
78 |
},
|
79 |
+
sameElse: 'L',
|
80 |
},
|
81 |
+
calendar: function (key, mom) {
|
82 |
var output = this._calendarEl[key],
|
83 |
hours = mom && mom.hours();
|
84 |
if (isFunction(output)) {
|
85 |
output = output.apply(mom);
|
86 |
}
|
87 |
+
return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');
|
88 |
},
|
89 |
+
relativeTime: {
|
90 |
+
future: 'σε %s',
|
91 |
+
past: '%s πριν',
|
92 |
+
s: 'λίγα δευτερόλεπτα',
|
93 |
+
ss: '%d δευτερόλεπτα',
|
94 |
+
m: 'ένα λεπτό',
|
95 |
+
mm: '%d λεπτά',
|
96 |
+
h: 'μία ώρα',
|
97 |
+
hh: '%d ώρες',
|
98 |
+
d: 'μία μέρα',
|
99 |
+
dd: '%d μέρες',
|
100 |
+
M: 'ένας μήνας',
|
101 |
+
MM: '%d μήνες',
|
102 |
+
y: 'ένας χρόνος',
|
103 |
+
yy: '%d χρόνια',
|
104 |
},
|
105 |
+
dayOfMonthOrdinalParse: /\d{1,2}η/,
|
106 |
ordinal: '%dη',
|
107 |
+
week: {
|
108 |
+
dow: 1, // Monday is the first day of the week.
|
109 |
+
doy: 4, // The week that contains Jan 4st is the first week of the year.
|
110 |
+
},
|
111 |
});
|
112 |
|
113 |
return el;
|
114 |
|
115 |
+
})));
|
assets/js/moment/locale/en-au.js
CHANGED
@@ -1,66 +1,79 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
|
|
3 |
|
4 |
;(function (global, factory) {
|
5 |
typeof exports === 'object' && typeof module !== 'undefined'
|
6 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
7 |
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8 |
factory(global.moment)
|
9 |
-
}(this, function (moment) { 'use strict';
|
10 |
|
|
|
11 |
|
12 |
-
var
|
13 |
-
months
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
|
|
25 |
},
|
26 |
-
calendar
|
27 |
-
sameDay
|
28 |
-
nextDay
|
29 |
-
nextWeek
|
30 |
-
lastDay
|
31 |
-
lastWeek
|
32 |
-
sameElse
|
33 |
},
|
34 |
-
relativeTime
|
35 |
-
future
|
36 |
-
past
|
37 |
-
s
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
|
|
48 |
},
|
49 |
-
|
50 |
-
ordinal
|
51 |
var b = number % 10,
|
52 |
-
output =
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
return number + output;
|
57 |
},
|
58 |
-
week
|
59 |
-
dow
|
60 |
-
doy
|
61 |
-
}
|
62 |
});
|
63 |
|
64 |
-
return
|
65 |
|
66 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : English (Australia) [en-au]
|
3 |
+
//! author : Jared Morse : https://github.com/jarcoal
|
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 enAu = moment.defineLocale('en-au', {
|
15 |
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
19 |
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
23 |
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'h:mm A',
|
26 |
+
LTS: 'h:mm:ss A',
|
27 |
+
L: 'DD/MM/YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY h:mm A',
|
30 |
+
LLLL: 'dddd, D MMMM YYYY h:mm A',
|
31 |
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: '[Today at] LT',
|
34 |
+
nextDay: '[Tomorrow at] LT',
|
35 |
+
nextWeek: 'dddd [at] LT',
|
36 |
+
lastDay: '[Yesterday at] LT',
|
37 |
+
lastWeek: '[Last] dddd [at] LT',
|
38 |
+
sameElse: 'L',
|
39 |
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'in %s',
|
42 |
+
past: '%s ago',
|
43 |
+
s: 'a few seconds',
|
44 |
+
ss: '%d seconds',
|
45 |
+
m: 'a minute',
|
46 |
+
mm: '%d minutes',
|
47 |
+
h: 'an hour',
|
48 |
+
hh: '%d hours',
|
49 |
+
d: 'a day',
|
50 |
+
dd: '%d days',
|
51 |
+
M: 'a month',
|
52 |
+
MM: '%d months',
|
53 |
+
y: 'a year',
|
54 |
+
yy: '%d years',
|
55 |
},
|
56 |
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
57 |
+
ordinal: function (number) {
|
58 |
var b = number % 10,
|
59 |
+
output =
|
60 |
+
~~((number % 100) / 10) === 1
|
61 |
+
? 'th'
|
62 |
+
: b === 1
|
63 |
+
? 'st'
|
64 |
+
: b === 2
|
65 |
+
? 'nd'
|
66 |
+
: b === 3
|
67 |
+
? 'rd'
|
68 |
+
: 'th';
|
69 |
return number + output;
|
70 |
},
|
71 |
+
week: {
|
72 |
+
dow: 0, // Sunday is the first day of the week.
|
73 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
74 |
+
},
|
75 |
});
|
76 |
|
77 |
+
return enAu;
|
78 |
|
79 |
+
})));
|
assets/js/moment/locale/en-ca.js
CHANGED
@@ -1,63 +1,75 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Jonathan Abourbih : https://github.com/jonbca
|
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 |
|
13 |
-
var
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay
|
29 |
-
nextDay
|
30 |
-
nextWeek
|
31 |
-
lastDay
|
32 |
-
lastWeek
|
33 |
-
sameElse
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
49 |
},
|
50 |
-
|
51 |
-
ordinal
|
52 |
var b = number % 10,
|
53 |
-
output =
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
return number + output;
|
58 |
-
}
|
59 |
});
|
60 |
|
61 |
-
return
|
62 |
|
63 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : English (Canada) [en-ca]
|
3 |
//! author : Jonathan Abourbih : https://github.com/jonbca
|
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 enCa = moment.defineLocale('en-ca', {
|
15 |
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
19 |
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
23 |
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'h:mm A',
|
26 |
+
LTS: 'h:mm:ss A',
|
27 |
+
L: 'YYYY-MM-DD',
|
28 |
+
LL: 'MMMM D, YYYY',
|
29 |
+
LLL: 'MMMM D, YYYY h:mm A',
|
30 |
+
LLLL: 'dddd, MMMM D, YYYY h:mm A',
|
31 |
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: '[Today at] LT',
|
34 |
+
nextDay: '[Tomorrow at] LT',
|
35 |
+
nextWeek: 'dddd [at] LT',
|
36 |
+
lastDay: '[Yesterday at] LT',
|
37 |
+
lastWeek: '[Last] dddd [at] LT',
|
38 |
+
sameElse: 'L',
|
39 |
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'in %s',
|
42 |
+
past: '%s ago',
|
43 |
+
s: 'a few seconds',
|
44 |
+
ss: '%d seconds',
|
45 |
+
m: 'a minute',
|
46 |
+
mm: '%d minutes',
|
47 |
+
h: 'an hour',
|
48 |
+
hh: '%d hours',
|
49 |
+
d: 'a day',
|
50 |
+
dd: '%d days',
|
51 |
+
M: 'a month',
|
52 |
+
MM: '%d months',
|
53 |
+
y: 'a year',
|
54 |
+
yy: '%d years',
|
55 |
},
|
56 |
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
57 |
+
ordinal: function (number) {
|
58 |
var b = number % 10,
|
59 |
+
output =
|
60 |
+
~~((number % 100) / 10) === 1
|
61 |
+
? 'th'
|
62 |
+
: b === 1
|
63 |
+
? 'st'
|
64 |
+
: b === 2
|
65 |
+
? 'nd'
|
66 |
+
: b === 3
|
67 |
+
? 'rd'
|
68 |
+
: 'th';
|
69 |
return number + output;
|
70 |
+
},
|
71 |
});
|
72 |
|
73 |
+
return enCa;
|
74 |
|
75 |
+
})));
|
assets/js/moment/locale/en-gb.js
CHANGED
@@ -1,67 +1,79 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Chris Gedrim : https://github.com/chrisgedrim
|
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 |
|
13 |
-
var
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay
|
29 |
-
nextDay
|
30 |
-
nextWeek
|
31 |
-
lastDay
|
32 |
-
lastWeek
|
33 |
-
sameElse
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
49 |
},
|
50 |
-
|
51 |
-
ordinal
|
52 |
var b = number % 10,
|
53 |
-
output =
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
return number + output;
|
58 |
},
|
59 |
-
week
|
60 |
-
dow
|
61 |
-
doy
|
62 |
-
}
|
63 |
});
|
64 |
|
65 |
-
return
|
66 |
|
67 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : English (United Kingdom) [en-gb]
|
3 |
//! author : Chris Gedrim : https://github.com/chrisgedrim
|
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 enGb = moment.defineLocale('en-gb', {
|
15 |
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
19 |
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
23 |
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'HH:mm',
|
26 |
+
LTS: 'HH:mm:ss',
|
27 |
+
L: 'DD/MM/YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY HH:mm',
|
30 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
31 |
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: '[Today at] LT',
|
34 |
+
nextDay: '[Tomorrow at] LT',
|
35 |
+
nextWeek: 'dddd [at] LT',
|
36 |
+
lastDay: '[Yesterday at] LT',
|
37 |
+
lastWeek: '[Last] dddd [at] LT',
|
38 |
+
sameElse: 'L',
|
39 |
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'in %s',
|
42 |
+
past: '%s ago',
|
43 |
+
s: 'a few seconds',
|
44 |
+
ss: '%d seconds',
|
45 |
+
m: 'a minute',
|
46 |
+
mm: '%d minutes',
|
47 |
+
h: 'an hour',
|
48 |
+
hh: '%d hours',
|
49 |
+
d: 'a day',
|
50 |
+
dd: '%d days',
|
51 |
+
M: 'a month',
|
52 |
+
MM: '%d months',
|
53 |
+
y: 'a year',
|
54 |
+
yy: '%d years',
|
55 |
},
|
56 |
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
57 |
+
ordinal: function (number) {
|
58 |
var b = number % 10,
|
59 |
+
output =
|
60 |
+
~~((number % 100) / 10) === 1
|
61 |
+
? 'th'
|
62 |
+
: b === 1
|
63 |
+
? 'st'
|
64 |
+
: b === 2
|
65 |
+
? 'nd'
|
66 |
+
: b === 3
|
67 |
+
? 'rd'
|
68 |
+
: 'th';
|
69 |
return number + output;
|
70 |
},
|
71 |
+
week: {
|
72 |
+
dow: 1, // Monday is the first day of the week.
|
73 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
74 |
+
},
|
75 |
});
|
76 |
|
77 |
+
return enGb;
|
78 |
|
79 |
+
})));
|
assets/js/moment/locale/en-ie.js
CHANGED
@@ -1,67 +1,79 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Chris Cartlidge : https://github.com/chriscartlidge
|
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 |
|
13 |
-
var
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay
|
29 |
-
nextDay
|
30 |
-
nextWeek
|
31 |
-
lastDay
|
32 |
-
lastWeek
|
33 |
-
sameElse
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
49 |
},
|
50 |
-
|
51 |
-
ordinal
|
52 |
var b = number % 10,
|
53 |
-
output =
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
return number + output;
|
58 |
},
|
59 |
-
week
|
60 |
-
dow
|
61 |
-
doy
|
62 |
-
}
|
63 |
});
|
64 |
|
65 |
-
return
|
66 |
|
67 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : English (Ireland) [en-ie]
|
3 |
//! author : Chris Cartlidge : https://github.com/chriscartlidge
|
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 enIe = moment.defineLocale('en-ie', {
|
15 |
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
19 |
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
23 |
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'HH:mm',
|
26 |
+
LTS: 'HH:mm:ss',
|
27 |
+
L: 'DD/MM/YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY HH:mm',
|
30 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
31 |
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: '[Today at] LT',
|
34 |
+
nextDay: '[Tomorrow at] LT',
|
35 |
+
nextWeek: 'dddd [at] LT',
|
36 |
+
lastDay: '[Yesterday at] LT',
|
37 |
+
lastWeek: '[Last] dddd [at] LT',
|
38 |
+
sameElse: 'L',
|
39 |
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'in %s',
|
42 |
+
past: '%s ago',
|
43 |
+
s: 'a few seconds',
|
44 |
+
ss: '%d seconds',
|
45 |
+
m: 'a minute',
|
46 |
+
mm: '%d minutes',
|
47 |
+
h: 'an hour',
|
48 |
+
hh: '%d hours',
|
49 |
+
d: 'a day',
|
50 |
+
dd: '%d days',
|
51 |
+
M: 'a month',
|
52 |
+
MM: '%d months',
|
53 |
+
y: 'a year',
|
54 |
+
yy: '%d years',
|
55 |
},
|
56 |
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
57 |
+
ordinal: function (number) {
|
58 |
var b = number % 10,
|
59 |
+
output =
|
60 |
+
~~((number % 100) / 10) === 1
|
61 |
+
? 'th'
|
62 |
+
: b === 1
|
63 |
+
? 'st'
|
64 |
+
: b === 2
|
65 |
+
? 'nd'
|
66 |
+
: b === 3
|
67 |
+
? 'rd'
|
68 |
+
: 'th';
|
69 |
return number + output;
|
70 |
},
|
71 |
+
week: {
|
72 |
+
dow: 1, // Monday is the first day of the week.
|
73 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
74 |
+
},
|
75 |
});
|
76 |
|
77 |
+
return enIe;
|
78 |
|
79 |
+
})));
|
assets/js/moment/locale/en-il.js
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : English (Israel) [en-il]
|
3 |
+
//! author : Chris Gedrim : https://github.com/chrisgedrim
|
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 enIl = moment.defineLocale('en-il', {
|
15 |
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
19 |
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
23 |
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'HH:mm',
|
26 |
+
LTS: 'HH:mm:ss',
|
27 |
+
L: 'DD/MM/YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY HH:mm',
|
30 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
31 |
+
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: '[Today at] LT',
|
34 |
+
nextDay: '[Tomorrow at] LT',
|
35 |
+
nextWeek: 'dddd [at] LT',
|
36 |
+
lastDay: '[Yesterday at] LT',
|
37 |
+
lastWeek: '[Last] dddd [at] LT',
|
38 |
+
sameElse: 'L',
|
39 |
+
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'in %s',
|
42 |
+
past: '%s ago',
|
43 |
+
s: 'a few seconds',
|
44 |
+
ss: '%d seconds',
|
45 |
+
m: 'a minute',
|
46 |
+
mm: '%d minutes',
|
47 |
+
h: 'an hour',
|
48 |
+
hh: '%d hours',
|
49 |
+
d: 'a day',
|
50 |
+
dd: '%d days',
|
51 |
+
M: 'a month',
|
52 |
+
MM: '%d months',
|
53 |
+
y: 'a year',
|
54 |
+
yy: '%d years',
|
55 |
+
},
|
56 |
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
57 |
+
ordinal: function (number) {
|
58 |
+
var b = number % 10,
|
59 |
+
output =
|
60 |
+
~~((number % 100) / 10) === 1
|
61 |
+
? 'th'
|
62 |
+
: b === 1
|
63 |
+
? 'st'
|
64 |
+
: b === 2
|
65 |
+
? 'nd'
|
66 |
+
: b === 3
|
67 |
+
? 'rd'
|
68 |
+
: 'th';
|
69 |
+
return number + output;
|
70 |
+
},
|
71 |
+
});
|
72 |
+
|
73 |
+
return enIl;
|
74 |
+
|
75 |
+
})));
|
assets/js/moment/locale/en-in.js
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : English (India) [en-in]
|
3 |
+
//! author : Jatin Agrawal : https://github.com/jatinag22
|
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 enIn = moment.defineLocale('en-in', {
|
15 |
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
19 |
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
23 |
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'h:mm A',
|
26 |
+
LTS: 'h:mm:ss A',
|
27 |
+
L: 'DD/MM/YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY h:mm A',
|
30 |
+
LLLL: 'dddd, D MMMM YYYY h:mm A',
|
31 |
+
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: '[Today at] LT',
|
34 |
+
nextDay: '[Tomorrow at] LT',
|
35 |
+
nextWeek: 'dddd [at] LT',
|
36 |
+
lastDay: '[Yesterday at] LT',
|
37 |
+
lastWeek: '[Last] dddd [at] LT',
|
38 |
+
sameElse: 'L',
|
39 |
+
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'in %s',
|
42 |
+
past: '%s ago',
|
43 |
+
s: 'a few seconds',
|
44 |
+
ss: '%d seconds',
|
45 |
+
m: 'a minute',
|
46 |
+
mm: '%d minutes',
|
47 |
+
h: 'an hour',
|
48 |
+
hh: '%d hours',
|
49 |
+
d: 'a day',
|
50 |
+
dd: '%d days',
|
51 |
+
M: 'a month',
|
52 |
+
MM: '%d months',
|
53 |
+
y: 'a year',
|
54 |
+
yy: '%d years',
|
55 |
+
},
|
56 |
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
57 |
+
ordinal: function (number) {
|
58 |
+
var b = number % 10,
|
59 |
+
output =
|
60 |
+
~~((number % 100) / 10) === 1
|
61 |
+
? 'th'
|
62 |
+
: b === 1
|
63 |
+
? 'st'
|
64 |
+
: b === 2
|
65 |
+
? 'nd'
|
66 |
+
: b === 3
|
67 |
+
? 'rd'
|
68 |
+
: 'th';
|
69 |
+
return number + output;
|
70 |
+
},
|
71 |
+
week: {
|
72 |
+
dow: 0, // Sunday is the first day of the week.
|
73 |
+
doy: 6, // The week that contains Jan 1st is the first week of the year.
|
74 |
+
},
|
75 |
+
});
|
76 |
+
|
77 |
+
return enIn;
|
78 |
+
|
79 |
+
})));
|
assets/js/moment/locale/en-nz.js
CHANGED
@@ -1,66 +1,79 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : New Zealand
|
|
|
3 |
|
4 |
;(function (global, factory) {
|
5 |
typeof exports === 'object' && typeof module !== 'undefined'
|
6 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
7 |
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
8 |
factory(global.moment)
|
9 |
-
}(this, function (moment) { 'use strict';
|
10 |
|
|
|
11 |
|
12 |
-
var
|
13 |
-
months
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
|
|
25 |
},
|
26 |
-
calendar
|
27 |
-
sameDay
|
28 |
-
nextDay
|
29 |
-
nextWeek
|
30 |
-
lastDay
|
31 |
-
lastWeek
|
32 |
-
sameElse
|
33 |
},
|
34 |
-
relativeTime
|
35 |
-
future
|
36 |
-
past
|
37 |
-
s
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
|
|
48 |
},
|
49 |
-
|
50 |
-
ordinal
|
51 |
var b = number % 10,
|
52 |
-
output =
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
return number + output;
|
57 |
},
|
58 |
-
week
|
59 |
-
dow
|
60 |
-
doy
|
61 |
-
}
|
62 |
});
|
63 |
|
64 |
-
return
|
65 |
|
66 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : English (New Zealand) [en-nz]
|
3 |
+
//! author : Luke McGregor : https://github.com/lukemcgregor
|
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 enNz = moment.defineLocale('en-nz', {
|
15 |
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
19 |
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
23 |
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'h:mm A',
|
26 |
+
LTS: 'h:mm:ss A',
|
27 |
+
L: 'DD/MM/YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY h:mm A',
|
30 |
+
LLLL: 'dddd, D MMMM YYYY h:mm A',
|
31 |
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: '[Today at] LT',
|
34 |
+
nextDay: '[Tomorrow at] LT',
|
35 |
+
nextWeek: 'dddd [at] LT',
|
36 |
+
lastDay: '[Yesterday at] LT',
|
37 |
+
lastWeek: '[Last] dddd [at] LT',
|
38 |
+
sameElse: 'L',
|
39 |
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'in %s',
|
42 |
+
past: '%s ago',
|
43 |
+
s: 'a few seconds',
|
44 |
+
ss: '%d seconds',
|
45 |
+
m: 'a minute',
|
46 |
+
mm: '%d minutes',
|
47 |
+
h: 'an hour',
|
48 |
+
hh: '%d hours',
|
49 |
+
d: 'a day',
|
50 |
+
dd: '%d days',
|
51 |
+
M: 'a month',
|
52 |
+
MM: '%d months',
|
53 |
+
y: 'a year',
|
54 |
+
yy: '%d years',
|
55 |
},
|
56 |
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
57 |
+
ordinal: function (number) {
|
58 |
var b = number % 10,
|
59 |
+
output =
|
60 |
+
~~((number % 100) / 10) === 1
|
61 |
+
? 'th'
|
62 |
+
: b === 1
|
63 |
+
? 'st'
|
64 |
+
: b === 2
|
65 |
+
? 'nd'
|
66 |
+
: b === 3
|
67 |
+
? 'rd'
|
68 |
+
: 'th';
|
69 |
return number + output;
|
70 |
},
|
71 |
+
week: {
|
72 |
+
dow: 1, // Monday is the first day of the week.
|
73 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
74 |
+
},
|
75 |
});
|
76 |
|
77 |
+
return enNz;
|
78 |
|
79 |
+
})));
|
assets/js/moment/locale/en-sg.js
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : English (Singapore) [en-sg]
|
3 |
+
//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension
|
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 enSg = moment.defineLocale('en-sg', {
|
15 |
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
19 |
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
23 |
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'HH:mm',
|
26 |
+
LTS: 'HH:mm:ss',
|
27 |
+
L: 'DD/MM/YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY HH:mm',
|
30 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
31 |
+
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: '[Today at] LT',
|
34 |
+
nextDay: '[Tomorrow at] LT',
|
35 |
+
nextWeek: 'dddd [at] LT',
|
36 |
+
lastDay: '[Yesterday at] LT',
|
37 |
+
lastWeek: '[Last] dddd [at] LT',
|
38 |
+
sameElse: 'L',
|
39 |
+
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'in %s',
|
42 |
+
past: '%s ago',
|
43 |
+
s: 'a few seconds',
|
44 |
+
ss: '%d seconds',
|
45 |
+
m: 'a minute',
|
46 |
+
mm: '%d minutes',
|
47 |
+
h: 'an hour',
|
48 |
+
hh: '%d hours',
|
49 |
+
d: 'a day',
|
50 |
+
dd: '%d days',
|
51 |
+
M: 'a month',
|
52 |
+
MM: '%d months',
|
53 |
+
y: 'a year',
|
54 |
+
yy: '%d years',
|
55 |
+
},
|
56 |
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
57 |
+
ordinal: function (number) {
|
58 |
+
var b = number % 10,
|
59 |
+
output =
|
60 |
+
~~((number % 100) / 10) === 1
|
61 |
+
? 'th'
|
62 |
+
: b === 1
|
63 |
+
? 'st'
|
64 |
+
: b === 2
|
65 |
+
? 'nd'
|
66 |
+
: b === 3
|
67 |
+
? 'rd'
|
68 |
+
: 'th';
|
69 |
+
return number + output;
|
70 |
+
},
|
71 |
+
week: {
|
72 |
+
dow: 1, // Monday is the first day of the week.
|
73 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
74 |
+
},
|
75 |
+
});
|
76 |
+
|
77 |
+
return enSg;
|
78 |
+
|
79 |
+
})));
|
assets/js/moment/locale/eo.js
CHANGED
@@ -1,73 +1,79 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Colin Dean : https://github.com/colindean
|
4 |
-
//!
|
5 |
-
//!
|
|
|
6 |
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
-
}(this, function (moment) { 'use strict';
|
13 |
|
|
|
14 |
|
15 |
var eo = moment.defineLocale('eo', {
|
16 |
-
months
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
28 |
},
|
29 |
meridiemParse: /[ap]\.t\.m/i,
|
30 |
isPM: function (input) {
|
31 |
return input.charAt(0).toLowerCase() === 'p';
|
32 |
},
|
33 |
-
meridiem
|
34 |
if (hours > 11) {
|
35 |
return isLower ? 'p.t.m.' : 'P.T.M.';
|
36 |
} else {
|
37 |
return isLower ? 'a.t.m.' : 'A.T.M.';
|
38 |
}
|
39 |
},
|
40 |
-
calendar
|
41 |
-
sameDay
|
42 |
-
nextDay
|
43 |
-
nextWeek
|
44 |
-
lastDay
|
45 |
-
lastWeek
|
46 |
-
sameElse
|
47 |
},
|
48 |
-
relativeTime
|
49 |
-
future
|
50 |
-
past
|
51 |
-
s
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
},
|
63 |
-
ordinalParse: /\d{1,2}a/,
|
64 |
-
ordinal : '%da',
|
65 |
-
week : {
|
66 |
-
dow : 1, // Monday is the first day of the week.
|
67 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
68 |
-
}
|
69 |
});
|
70 |
|
71 |
return eo;
|
72 |
|
73 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Esperanto [eo]
|
3 |
//! author : Colin Dean : https://github.com/colindean
|
4 |
+
//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia
|
5 |
+
//! comment : miestasmia corrected the translation by colindean
|
6 |
+
//! comment : Vivakvo corrected the translation by colindean and miestasmia
|
7 |
|
8 |
;(function (global, factory) {
|
9 |
typeof exports === 'object' && typeof module !== 'undefined'
|
10 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
11 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
12 |
factory(global.moment)
|
13 |
+
}(this, (function (moment) { 'use strict';
|
14 |
|
15 |
+
//! moment.js locale configuration
|
16 |
|
17 |
var eo = moment.defineLocale('eo', {
|
18 |
+
months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),
|
22 |
+
weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
|
23 |
+
weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
|
24 |
+
weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
|
25 |
+
longDateFormat: {
|
26 |
+
LT: 'HH:mm',
|
27 |
+
LTS: 'HH:mm:ss',
|
28 |
+
L: 'YYYY-MM-DD',
|
29 |
+
LL: '[la] D[-an de] MMMM, YYYY',
|
30 |
+
LLL: '[la] D[-an de] MMMM, YYYY HH:mm',
|
31 |
+
LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',
|
32 |
+
llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',
|
33 |
},
|
34 |
meridiemParse: /[ap]\.t\.m/i,
|
35 |
isPM: function (input) {
|
36 |
return input.charAt(0).toLowerCase() === 'p';
|
37 |
},
|
38 |
+
meridiem: function (hours, minutes, isLower) {
|
39 |
if (hours > 11) {
|
40 |
return isLower ? 'p.t.m.' : 'P.T.M.';
|
41 |
} else {
|
42 |
return isLower ? 'a.t.m.' : 'A.T.M.';
|
43 |
}
|
44 |
},
|
45 |
+
calendar: {
|
46 |
+
sameDay: '[Hodiaŭ je] LT',
|
47 |
+
nextDay: '[Morgaŭ je] LT',
|
48 |
+
nextWeek: 'dddd[n je] LT',
|
49 |
+
lastDay: '[Hieraŭ je] LT',
|
50 |
+
lastWeek: '[pasintan] dddd[n je] LT',
|
51 |
+
sameElse: 'L',
|
52 |
},
|
53 |
+
relativeTime: {
|
54 |
+
future: 'post %s',
|
55 |
+
past: 'antaŭ %s',
|
56 |
+
s: 'kelkaj sekundoj',
|
57 |
+
ss: '%d sekundoj',
|
58 |
+
m: 'unu minuto',
|
59 |
+
mm: '%d minutoj',
|
60 |
+
h: 'unu horo',
|
61 |
+
hh: '%d horoj',
|
62 |
+
d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo
|
63 |
+
dd: '%d tagoj',
|
64 |
+
M: 'unu monato',
|
65 |
+
MM: '%d monatoj',
|
66 |
+
y: 'unu jaro',
|
67 |
+
yy: '%d jaroj',
|
68 |
+
},
|
69 |
+
dayOfMonthOrdinalParse: /\d{1,2}a/,
|
70 |
+
ordinal: '%da',
|
71 |
+
week: {
|
72 |
+
dow: 1, // Monday is the first day of the week.
|
73 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
74 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
});
|
76 |
|
77 |
return eo;
|
78 |
|
79 |
+
})));
|
assets/js/moment/locale/es-do.js
ADDED
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Spanish (Dominican Republic) [es-do]
|
3 |
+
|
4 |
+
;(function (global, factory) {
|
5 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
6 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
7 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
8 |
+
factory(global.moment)
|
9 |
+
}(this, (function (moment) { 'use strict';
|
10 |
+
|
11 |
+
//! moment.js locale configuration
|
12 |
+
|
13 |
+
var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
|
14 |
+
'_'
|
15 |
+
),
|
16 |
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
|
17 |
+
monthsParse = [
|
18 |
+
/^ene/i,
|
19 |
+
/^feb/i,
|
20 |
+
/^mar/i,
|
21 |
+
/^abr/i,
|
22 |
+
/^may/i,
|
23 |
+
/^jun/i,
|
24 |
+
/^jul/i,
|
25 |
+
/^ago/i,
|
26 |
+
/^sep/i,
|
27 |
+
/^oct/i,
|
28 |
+
/^nov/i,
|
29 |
+
/^dic/i,
|
30 |
+
],
|
31 |
+
monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
32 |
+
|
33 |
+
var esDo = moment.defineLocale('es-do', {
|
34 |
+
months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
|
35 |
+
'_'
|
36 |
+
),
|
37 |
+
monthsShort: function (m, format) {
|
38 |
+
if (!m) {
|
39 |
+
return monthsShortDot;
|
40 |
+
} else if (/-MMM-/.test(format)) {
|
41 |
+
return monthsShort[m.month()];
|
42 |
+
} else {
|
43 |
+
return monthsShortDot[m.month()];
|
44 |
+
}
|
45 |
+
},
|
46 |
+
monthsRegex: monthsRegex,
|
47 |
+
monthsShortRegex: monthsRegex,
|
48 |
+
monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
49 |
+
monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
50 |
+
monthsParse: monthsParse,
|
51 |
+
longMonthsParse: monthsParse,
|
52 |
+
shortMonthsParse: monthsParse,
|
53 |
+
weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
54 |
+
weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
55 |
+
weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
56 |
+
weekdaysParseExact: true,
|
57 |
+
longDateFormat: {
|
58 |
+
LT: 'h:mm A',
|
59 |
+
LTS: 'h:mm:ss A',
|
60 |
+
L: 'DD/MM/YYYY',
|
61 |
+
LL: 'D [de] MMMM [de] YYYY',
|
62 |
+
LLL: 'D [de] MMMM [de] YYYY h:mm A',
|
63 |
+
LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
|
64 |
+
},
|
65 |
+
calendar: {
|
66 |
+
sameDay: function () {
|
67 |
+
return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
68 |
+
},
|
69 |
+
nextDay: function () {
|
70 |
+
return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
71 |
+
},
|
72 |
+
nextWeek: function () {
|
73 |
+
return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
74 |
+
},
|
75 |
+
lastDay: function () {
|
76 |
+
return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
77 |
+
},
|
78 |
+
lastWeek: function () {
|
79 |
+
return (
|
80 |
+
'[el] dddd [pasado a la' +
|
81 |
+
(this.hours() !== 1 ? 's' : '') +
|
82 |
+
'] LT'
|
83 |
+
);
|
84 |
+
},
|
85 |
+
sameElse: 'L',
|
86 |
+
},
|
87 |
+
relativeTime: {
|
88 |
+
future: 'en %s',
|
89 |
+
past: 'hace %s',
|
90 |
+
s: 'unos segundos',
|
91 |
+
ss: '%d segundos',
|
92 |
+
m: 'un minuto',
|
93 |
+
mm: '%d minutos',
|
94 |
+
h: 'una hora',
|
95 |
+
hh: '%d horas',
|
96 |
+
d: 'un día',
|
97 |
+
dd: '%d días',
|
98 |
+
w: 'una semana',
|
99 |
+
ww: '%d semanas',
|
100 |
+
M: 'un mes',
|
101 |
+
MM: '%d meses',
|
102 |
+
y: 'un año',
|
103 |
+
yy: '%d años',
|
104 |
+
},
|
105 |
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
106 |
+
ordinal: '%dº',
|
107 |
+
week: {
|
108 |
+
dow: 1, // Monday is the first day of the week.
|
109 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
110 |
+
},
|
111 |
+
});
|
112 |
+
|
113 |
+
return esDo;
|
114 |
+
|
115 |
+
})));
|
assets/js/moment/locale/es-mx.js
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Spanish (Mexico) [es-mx]
|
3 |
+
//! author : JC Franco : https://github.com/jcfranco
|
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 monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
|
15 |
+
'_'
|
16 |
+
),
|
17 |
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
|
18 |
+
monthsParse = [
|
19 |
+
/^ene/i,
|
20 |
+
/^feb/i,
|
21 |
+
/^mar/i,
|
22 |
+
/^abr/i,
|
23 |
+
/^may/i,
|
24 |
+
/^jun/i,
|
25 |
+
/^jul/i,
|
26 |
+
/^ago/i,
|
27 |
+
/^sep/i,
|
28 |
+
/^oct/i,
|
29 |
+
/^nov/i,
|
30 |
+
/^dic/i,
|
31 |
+
],
|
32 |
+
monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
33 |
+
|
34 |
+
var esMx = moment.defineLocale('es-mx', {
|
35 |
+
months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
|
36 |
+
'_'
|
37 |
+
),
|
38 |
+
monthsShort: function (m, format) {
|
39 |
+
if (!m) {
|
40 |
+
return monthsShortDot;
|
41 |
+
} else if (/-MMM-/.test(format)) {
|
42 |
+
return monthsShort[m.month()];
|
43 |
+
} else {
|
44 |
+
return monthsShortDot[m.month()];
|
45 |
+
}
|
46 |
+
},
|
47 |
+
monthsRegex: monthsRegex,
|
48 |
+
monthsShortRegex: monthsRegex,
|
49 |
+
monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
50 |
+
monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
51 |
+
monthsParse: monthsParse,
|
52 |
+
longMonthsParse: monthsParse,
|
53 |
+
shortMonthsParse: monthsParse,
|
54 |
+
weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
55 |
+
weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
56 |
+
weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
57 |
+
weekdaysParseExact: true,
|
58 |
+
longDateFormat: {
|
59 |
+
LT: 'H:mm',
|
60 |
+
LTS: 'H:mm:ss',
|
61 |
+
L: 'DD/MM/YYYY',
|
62 |
+
LL: 'D [de] MMMM [de] YYYY',
|
63 |
+
LLL: 'D [de] MMMM [de] YYYY H:mm',
|
64 |
+
LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
|
65 |
+
},
|
66 |
+
calendar: {
|
67 |
+
sameDay: function () {
|
68 |
+
return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
69 |
+
},
|
70 |
+
nextDay: function () {
|
71 |
+
return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
72 |
+
},
|
73 |
+
nextWeek: function () {
|
74 |
+
return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
75 |
+
},
|
76 |
+
lastDay: function () {
|
77 |
+
return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
78 |
+
},
|
79 |
+
lastWeek: function () {
|
80 |
+
return (
|
81 |
+
'[el] dddd [pasado a la' +
|
82 |
+
(this.hours() !== 1 ? 's' : '') +
|
83 |
+
'] LT'
|
84 |
+
);
|
85 |
+
},
|
86 |
+
sameElse: 'L',
|
87 |
+
},
|
88 |
+
relativeTime: {
|
89 |
+
future: 'en %s',
|
90 |
+
past: 'hace %s',
|
91 |
+
s: 'unos segundos',
|
92 |
+
ss: '%d segundos',
|
93 |
+
m: 'un minuto',
|
94 |
+
mm: '%d minutos',
|
95 |
+
h: 'una hora',
|
96 |
+
hh: '%d horas',
|
97 |
+
d: 'un día',
|
98 |
+
dd: '%d días',
|
99 |
+
w: 'una semana',
|
100 |
+
ww: '%d semanas',
|
101 |
+
M: 'un mes',
|
102 |
+
MM: '%d meses',
|
103 |
+
y: 'un año',
|
104 |
+
yy: '%d años',
|
105 |
+
},
|
106 |
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
107 |
+
ordinal: '%dº',
|
108 |
+
week: {
|
109 |
+
dow: 0, // Sunday is the first day of the week.
|
110 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
111 |
+
},
|
112 |
+
invalidDate: 'Fecha inválida',
|
113 |
+
});
|
114 |
+
|
115 |
+
return esMx;
|
116 |
+
|
117 |
+
})));
|
assets/js/moment/locale/es-us.js
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Spanish (United States) [es-us]
|
3 |
+
//! author : bustta : https://github.com/bustta
|
4 |
+
//! author : chrisrodz : https://github.com/chrisrodz
|
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 monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
|
19 |
+
monthsParse = [
|
20 |
+
/^ene/i,
|
21 |
+
/^feb/i,
|
22 |
+
/^mar/i,
|
23 |
+
/^abr/i,
|
24 |
+
/^may/i,
|
25 |
+
/^jun/i,
|
26 |
+
/^jul/i,
|
27 |
+
/^ago/i,
|
28 |
+
/^sep/i,
|
29 |
+
/^oct/i,
|
30 |
+
/^nov/i,
|
31 |
+
/^dic/i,
|
32 |
+
],
|
33 |
+
monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
34 |
+
|
35 |
+
var esUs = moment.defineLocale('es-us', {
|
36 |
+
months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
|
37 |
+
'_'
|
38 |
+
),
|
39 |
+
monthsShort: function (m, format) {
|
40 |
+
if (!m) {
|
41 |
+
return monthsShortDot;
|
42 |
+
} else if (/-MMM-/.test(format)) {
|
43 |
+
return monthsShort[m.month()];
|
44 |
+
} else {
|
45 |
+
return monthsShortDot[m.month()];
|
46 |
+
}
|
47 |
+
},
|
48 |
+
monthsRegex: monthsRegex,
|
49 |
+
monthsShortRegex: monthsRegex,
|
50 |
+
monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
51 |
+
monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
52 |
+
monthsParse: monthsParse,
|
53 |
+
longMonthsParse: monthsParse,
|
54 |
+
shortMonthsParse: monthsParse,
|
55 |
+
weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
56 |
+
weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
57 |
+
weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
58 |
+
weekdaysParseExact: true,
|
59 |
+
longDateFormat: {
|
60 |
+
LT: 'h:mm A',
|
61 |
+
LTS: 'h:mm:ss A',
|
62 |
+
L: 'MM/DD/YYYY',
|
63 |
+
LL: 'D [de] MMMM [de] YYYY',
|
64 |
+
LLL: 'D [de] MMMM [de] YYYY h:mm A',
|
65 |
+
LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
|
66 |
+
},
|
67 |
+
calendar: {
|
68 |
+
sameDay: function () {
|
69 |
+
return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
70 |
+
},
|
71 |
+
nextDay: function () {
|
72 |
+
return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
73 |
+
},
|
74 |
+
nextWeek: function () {
|
75 |
+
return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
76 |
+
},
|
77 |
+
lastDay: function () {
|
78 |
+
return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
79 |
+
},
|
80 |
+
lastWeek: function () {
|
81 |
+
return (
|
82 |
+
'[el] dddd [pasado a la' +
|
83 |
+
(this.hours() !== 1 ? 's' : '') +
|
84 |
+
'] LT'
|
85 |
+
);
|
86 |
+
},
|
87 |
+
sameElse: 'L',
|
88 |
+
},
|
89 |
+
relativeTime: {
|
90 |
+
future: 'en %s',
|
91 |
+
past: 'hace %s',
|
92 |
+
s: 'unos segundos',
|
93 |
+
ss: '%d segundos',
|
94 |
+
m: 'un minuto',
|
95 |
+
mm: '%d minutos',
|
96 |
+
h: 'una hora',
|
97 |
+
hh: '%d horas',
|
98 |
+
d: 'un día',
|
99 |
+
dd: '%d días',
|
100 |
+
w: 'una semana',
|
101 |
+
ww: '%d semanas',
|
102 |
+
M: 'un mes',
|
103 |
+
MM: '%d meses',
|
104 |
+
y: 'un año',
|
105 |
+
yy: '%d años',
|
106 |
+
},
|
107 |
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
108 |
+
ordinal: '%dº',
|
109 |
+
week: {
|
110 |
+
dow: 0, // Sunday is the first day of the week.
|
111 |
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
112 |
+
},
|
113 |
+
});
|
114 |
+
|
115 |
+
return esUs;
|
116 |
+
|
117 |
+
})));
|
assets/js/moment/locale/es.js
CHANGED
@@ -1,79 +1,117 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Julio Napurí : https://github.com/julionc
|
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 |
|
13 |
-
var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
var es = moment.defineLocale('es', {
|
17 |
-
months
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
20 |
return monthsShort[m.month()];
|
21 |
} else {
|
22 |
return monthsShortDot[m.month()];
|
23 |
}
|
24 |
},
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
},
|
36 |
-
calendar
|
37 |
-
sameDay
|
38 |
-
return '[hoy a la' + (
|
39 |
},
|
40 |
-
nextDay
|
41 |
-
return '[mañana a la' + (
|
42 |
},
|
43 |
-
nextWeek
|
44 |
-
return 'dddd [a la' + (
|
45 |
},
|
46 |
-
lastDay
|
47 |
-
return '[ayer a la' + (
|
48 |
},
|
49 |
-
lastWeek
|
50 |
-
return
|
|
|
|
|
|
|
|
|
51 |
},
|
52 |
-
sameElse
|
53 |
},
|
54 |
-
relativeTime
|
55 |
-
future
|
56 |
-
past
|
57 |
-
s
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
|
|
|
|
|
|
68 |
},
|
69 |
-
|
70 |
-
ordinal
|
71 |
-
week
|
72 |
-
dow
|
73 |
-
doy
|
74 |
-
}
|
|
|
75 |
});
|
76 |
|
77 |
return es;
|
78 |
|
79 |
-
}));
|
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'
|
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 monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
|
15 |
+
'_'
|
16 |
+
),
|
17 |
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
|
18 |
+
monthsParse = [
|
19 |
+
/^ene/i,
|
20 |
+
/^feb/i,
|
21 |
+
/^mar/i,
|
22 |
+
/^abr/i,
|
23 |
+
/^may/i,
|
24 |
+
/^jun/i,
|
25 |
+
/^jul/i,
|
26 |
+
/^ago/i,
|
27 |
+
/^sep/i,
|
28 |
+
/^oct/i,
|
29 |
+
/^nov/i,
|
30 |
+
/^dic/i,
|
31 |
+
],
|
32 |
+
monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
33 |
|
34 |
var es = moment.defineLocale('es', {
|
35 |
+
months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
|
36 |
+
'_'
|
37 |
+
),
|
38 |
+
monthsShort: function (m, format) {
|
39 |
+
if (!m) {
|
40 |
+
return monthsShortDot;
|
41 |
+
} else if (/-MMM-/.test(format)) {
|
42 |
return monthsShort[m.month()];
|
43 |
} else {
|
44 |
return monthsShortDot[m.month()];
|
45 |
}
|
46 |
},
|
47 |
+
monthsRegex: monthsRegex,
|
48 |
+
monthsShortRegex: monthsRegex,
|
49 |
+
monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
50 |
+
monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
51 |
+
monthsParse: monthsParse,
|
52 |
+
longMonthsParse: monthsParse,
|
53 |
+
shortMonthsParse: monthsParse,
|
54 |
+
weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
55 |
+
weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
56 |
+
weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
57 |
+
weekdaysParseExact: true,
|
58 |
+
longDateFormat: {
|
59 |
+
LT: 'H:mm',
|
60 |
+
LTS: 'H:mm:ss',
|
61 |
+
L: 'DD/MM/YYYY',
|
62 |
+
LL: 'D [de] MMMM [de] YYYY',
|
63 |
+
LLL: 'D [de] MMMM [de] YYYY H:mm',
|
64 |
+
LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
|
65 |
},
|
66 |
+
calendar: {
|
67 |
+
sameDay: function () {
|
68 |
+
return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
69 |
},
|
70 |
+
nextDay: function () {
|
71 |
+
return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
72 |
},
|
73 |
+
nextWeek: function () {
|
74 |
+
return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
75 |
},
|
76 |
+
lastDay: function () {
|
77 |
+
return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
78 |
},
|
79 |
+
lastWeek: function () {
|
80 |
+
return (
|
81 |
+
'[el] dddd [pasado a la' +
|
82 |
+
(this.hours() !== 1 ? 's' : '') +
|
83 |
+
'] LT'
|
84 |
+
);
|
85 |
},
|
86 |
+
sameElse: 'L',
|
87 |
},
|
88 |
+
relativeTime: {
|
89 |
+
future: 'en %s',
|
90 |
+
past: 'hace %s',
|
91 |
+
s: 'unos segundos',
|
92 |
+
ss: '%d segundos',
|
93 |
+
m: 'un minuto',
|
94 |
+
mm: '%d minutos',
|
95 |
+
h: 'una hora',
|
96 |
+
hh: '%d horas',
|
97 |
+
d: 'un día',
|
98 |
+
dd: '%d días',
|
99 |
+
w: 'una semana',
|
100 |
+
ww: '%d semanas',
|
101 |
+
M: 'un mes',
|
102 |
+
MM: '%d meses',
|
103 |
+
y: 'un año',
|
104 |
+
yy: '%d años',
|
105 |
},
|
106 |
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
107 |
+
ordinal: '%dº',
|
108 |
+
week: {
|
109 |
+
dow: 1, // Monday is the first day of the week.
|
110 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
111 |
+
},
|
112 |
+
invalidDate: 'Fecha inválida',
|
113 |
});
|
114 |
|
115 |
return es;
|
116 |
|
117 |
+
})));
|
assets/js/moment/locale/et.js
CHANGED
@@ -1,28 +1,30 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
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'
|
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 |
|
14 |
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
15 |
var format = {
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
26 |
};
|
27 |
if (withoutSuffix) {
|
28 |
return format[key][2] ? format[key][2] : format[key][1];
|
@@ -31,50 +33,57 @@
|
|
31 |
}
|
32 |
|
33 |
var et = moment.defineLocale('et', {
|
34 |
-
months
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
},
|
47 |
-
calendar
|
48 |
-
sameDay
|
49 |
-
nextDay
|
50 |
-
nextWeek
|
51 |
-
lastDay
|
52 |
-
lastWeek
|
53 |
-
sameElse
|
54 |
},
|
55 |
-
relativeTime
|
56 |
-
future
|
57 |
-
past
|
58 |
-
s
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
},
|
70 |
-
ordinalParse: /\d{1,2}\./,
|
71 |
-
ordinal : '%d.',
|
72 |
-
week : {
|
73 |
-
dow : 1, // Monday is the first day of the week.
|
74 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
75 |
-
}
|
76 |
});
|
77 |
|
78 |
return et;
|
79 |
|
80 |
-
}));
|
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'
|
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 |
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
16 |
var format = {
|
17 |
+
s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
|
18 |
+
ss: [number + 'sekundi', number + 'sekundit'],
|
19 |
+
m: ['ühe minuti', 'üks minut'],
|
20 |
+
mm: [number + ' minuti', number + ' minutit'],
|
21 |
+
h: ['ühe tunni', 'tund aega', 'üks tund'],
|
22 |
+
hh: [number + ' tunni', number + ' tundi'],
|
23 |
+
d: ['ühe päeva', 'üks päev'],
|
24 |
+
M: ['kuu aja', 'kuu aega', 'üks kuu'],
|
25 |
+
MM: [number + ' kuu', number + ' kuud'],
|
26 |
+
y: ['ühe aasta', 'aasta', 'üks aasta'],
|
27 |
+
yy: [number + ' aasta', number + ' aastat'],
|
28 |
};
|
29 |
if (withoutSuffix) {
|
30 |
return format[key][2] ? format[key][2] : format[key][1];
|
33 |
}
|
34 |
|
35 |
var et = moment.defineLocale('et', {
|
36 |
+
months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split(
|
37 |
+
'_'
|
38 |
+
),
|
39 |
+
monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split(
|
40 |
+
'_'
|
41 |
+
),
|
42 |
+
weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split(
|
43 |
+
'_'
|
44 |
+
),
|
45 |
+
weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),
|
46 |
+
weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),
|
47 |
+
longDateFormat: {
|
48 |
+
LT: 'H:mm',
|
49 |
+
LTS: 'H:mm:ss',
|
50 |
+
L: 'DD.MM.YYYY',
|
51 |
+
LL: 'D. MMMM YYYY',
|
52 |
+
LLL: 'D. MMMM YYYY H:mm',
|
53 |
+
LLLL: 'dddd, D. MMMM YYYY H:mm',
|
54 |
},
|
55 |
+
calendar: {
|
56 |
+
sameDay: '[Täna,] LT',
|
57 |
+
nextDay: '[Homme,] LT',
|
58 |
+
nextWeek: '[Järgmine] dddd LT',
|
59 |
+
lastDay: '[Eile,] LT',
|
60 |
+
lastWeek: '[Eelmine] dddd LT',
|
61 |
+
sameElse: 'L',
|
62 |
},
|
63 |
+
relativeTime: {
|
64 |
+
future: '%s pärast',
|
65 |
+
past: '%s tagasi',
|
66 |
+
s: processRelativeTime,
|
67 |
+
ss: processRelativeTime,
|
68 |
+
m: processRelativeTime,
|
69 |
+
mm: processRelativeTime,
|
70 |
+
h: processRelativeTime,
|
71 |
+
hh: processRelativeTime,
|
72 |
+
d: processRelativeTime,
|
73 |
+
dd: '%d päeva',
|
74 |
+
M: processRelativeTime,
|
75 |
+
MM: processRelativeTime,
|
76 |
+
y: processRelativeTime,
|
77 |
+
yy: processRelativeTime,
|
78 |
+
},
|
79 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
80 |
+
ordinal: '%d.',
|
81 |
+
week: {
|
82 |
+
dow: 1, // Monday is the first day of the week.
|
83 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
84 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
});
|
86 |
|
87 |
return et;
|
88 |
|
89 |
+
})));
|
assets/js/moment/locale/eu.js
CHANGED
@@ -1,64 +1,74 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Eneko Illarramendi : https://github.com/eillarra
|
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 |
|
13 |
var eu = moment.defineLocale('eu', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
},
|
31 |
-
calendar
|
32 |
-
sameDay
|
33 |
-
nextDay
|
34 |
-
nextWeek
|
35 |
-
lastDay
|
36 |
-
lastWeek
|
37 |
-
sameElse
|
38 |
},
|
39 |
-
relativeTime
|
40 |
-
future
|
41 |
-
past
|
42 |
-
s
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
},
|
54 |
-
ordinalParse: /\d{1,2}\./,
|
55 |
-
ordinal : '%d.',
|
56 |
-
week : {
|
57 |
-
dow : 1, // Monday is the first day of the week.
|
58 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
59 |
-
}
|
60 |
});
|
61 |
|
62 |
return eu;
|
63 |
|
64 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Basque [eu]
|
3 |
//! author : Eneko Illarramendi : https://github.com/eillarra
|
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 eu = moment.defineLocale('eu', {
|
15 |
+
months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsParseExact: true,
|
22 |
+
weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split(
|
23 |
+
'_'
|
24 |
+
),
|
25 |
+
weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),
|
26 |
+
weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),
|
27 |
+
weekdaysParseExact: true,
|
28 |
+
longDateFormat: {
|
29 |
+
LT: 'HH:mm',
|
30 |
+
LTS: 'HH:mm:ss',
|
31 |
+
L: 'YYYY-MM-DD',
|
32 |
+
LL: 'YYYY[ko] MMMM[ren] D[a]',
|
33 |
+
LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',
|
34 |
+
LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
|
35 |
+
l: 'YYYY-M-D',
|
36 |
+
ll: 'YYYY[ko] MMM D[a]',
|
37 |
+
lll: 'YYYY[ko] MMM D[a] HH:mm',
|
38 |
+
llll: 'ddd, YYYY[ko] MMM D[a] HH:mm',
|
39 |
},
|
40 |
+
calendar: {
|
41 |
+
sameDay: '[gaur] LT[etan]',
|
42 |
+
nextDay: '[bihar] LT[etan]',
|
43 |
+
nextWeek: 'dddd LT[etan]',
|
44 |
+
lastDay: '[atzo] LT[etan]',
|
45 |
+
lastWeek: '[aurreko] dddd LT[etan]',
|
46 |
+
sameElse: 'L',
|
47 |
},
|
48 |
+
relativeTime: {
|
49 |
+
future: '%s barru',
|
50 |
+
past: 'duela %s',
|
51 |
+
s: 'segundo batzuk',
|
52 |
+
ss: '%d segundo',
|
53 |
+
m: 'minutu bat',
|
54 |
+
mm: '%d minutu',
|
55 |
+
h: 'ordu bat',
|
56 |
+
hh: '%d ordu',
|
57 |
+
d: 'egun bat',
|
58 |
+
dd: '%d egun',
|
59 |
+
M: 'hilabete bat',
|
60 |
+
MM: '%d hilabete',
|
61 |
+
y: 'urte bat',
|
62 |
+
yy: '%d urte',
|
63 |
+
},
|
64 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
65 |
+
ordinal: '%d.',
|
66 |
+
week: {
|
67 |
+
dow: 1, // Monday is the first day of the week.
|
68 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
69 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
});
|
71 |
|
72 |
return eu;
|
73 |
|
74 |
+
})));
|
assets/js/moment/locale/fa.js
CHANGED
@@ -1,105 +1,121 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Persian
|
3 |
//! author : Ebrahim Byagowi : https://github.com/ebraminio
|
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 |
|
13 |
var symbolMap = {
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
36 |
|
37 |
var fa = moment.defineLocale('fa', {
|
38 |
-
months
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
},
|
51 |
meridiemParse: /قبل از ظهر|بعد از ظهر/,
|
52 |
isPM: function (input) {
|
53 |
return /بعد از ظهر/.test(input);
|
54 |
},
|
55 |
-
meridiem
|
56 |
if (hour < 12) {
|
57 |
return 'قبل از ظهر';
|
58 |
} else {
|
59 |
return 'بعد از ظهر';
|
60 |
}
|
61 |
},
|
62 |
-
calendar
|
63 |
-
sameDay
|
64 |
-
nextDay
|
65 |
-
nextWeek
|
66 |
-
lastDay
|
67 |
-
lastWeek
|
68 |
-
sameElse
|
69 |
},
|
70 |
-
relativeTime
|
71 |
-
future
|
72 |
-
past
|
73 |
-
s
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
|
|
84 |
},
|
85 |
preparse: function (string) {
|
86 |
-
return string
|
87 |
-
|
88 |
-
|
|
|
|
|
89 |
},
|
90 |
postformat: function (string) {
|
91 |
-
return string
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
},
|
95 |
-
ordinalParse: /\d{1,2}م/,
|
96 |
-
ordinal : '%dم',
|
97 |
-
week : {
|
98 |
-
dow : 6, // Saturday is the first day of the week.
|
99 |
-
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
100 |
-
}
|
101 |
});
|
102 |
|
103 |
return fa;
|
104 |
|
105 |
-
}));
|
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'
|
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 |
|
39 |
var fa = moment.defineLocale('fa', {
|
40 |
+
months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
|
41 |
+
'_'
|
42 |
+
),
|
43 |
+
monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
|
44 |
+
'_'
|
45 |
+
),
|
46 |
+
weekdays: 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
|
47 |
+
'_'
|
48 |
+
),
|
49 |
+
weekdaysShort: 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
|
50 |
+
'_'
|
51 |
+
),
|
52 |
+
weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),
|
53 |
+
weekdaysParseExact: true,
|
54 |
+
longDateFormat: {
|
55 |
+
LT: 'HH:mm',
|
56 |
+
LTS: 'HH:mm:ss',
|
57 |
+
L: 'DD/MM/YYYY',
|
58 |
+
LL: 'D MMMM YYYY',
|
59 |
+
LLL: 'D MMMM YYYY HH:mm',
|
60 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
61 |
},
|
62 |
meridiemParse: /قبل از ظهر|بعد از ظهر/,
|
63 |
isPM: function (input) {
|
64 |
return /بعد از ظهر/.test(input);
|
65 |
},
|
66 |
+
meridiem: function (hour, minute, isLower) {
|
67 |
if (hour < 12) {
|
68 |
return 'قبل از ظهر';
|
69 |
} else {
|
70 |
return 'بعد از ظهر';
|
71 |
}
|
72 |
},
|
73 |
+
calendar: {
|
74 |
+
sameDay: '[امروز ساعت] LT',
|
75 |
+
nextDay: '[فردا ساعت] LT',
|
76 |
+
nextWeek: 'dddd [ساعت] LT',
|
77 |
+
lastDay: '[دیروز ساعت] LT',
|
78 |
+
lastWeek: 'dddd [پیش] [ساعت] LT',
|
79 |
+
sameElse: 'L',
|
80 |
},
|
81 |
+
relativeTime: {
|
82 |
+
future: 'در %s',
|
83 |
+
past: '%s پیش',
|
84 |
+
s: 'چند ثانیه',
|
85 |
+
ss: '%d ثانیه',
|
86 |
+
m: 'یک دقیقه',
|
87 |
+
mm: '%d دقیقه',
|
88 |
+
h: 'یک ساعت',
|
89 |
+
hh: '%d ساعت',
|
90 |
+
d: 'یک روز',
|
91 |
+
dd: '%d روز',
|
92 |
+
M: 'یک ماه',
|
93 |
+
MM: '%d ماه',
|
94 |
+
y: 'یک سال',
|
95 |
+
yy: '%d سال',
|
96 |
},
|
97 |
preparse: function (string) {
|
98 |
+
return string
|
99 |
+
.replace(/[۰-۹]/g, function (match) {
|
100 |
+
return numberMap[match];
|
101 |
+
})
|
102 |
+
.replace(/،/g, ',');
|
103 |
},
|
104 |
postformat: function (string) {
|
105 |
+
return string
|
106 |
+
.replace(/\d/g, function (match) {
|
107 |
+
return symbolMap[match];
|
108 |
+
})
|
109 |
+
.replace(/,/g, '،');
|
110 |
+
},
|
111 |
+
dayOfMonthOrdinalParse: /\d{1,2}م/,
|
112 |
+
ordinal: '%dم',
|
113 |
+
week: {
|
114 |
+
dow: 6, // Saturday is the first day of the week.
|
115 |
+
doy: 12, // The week that contains Jan 12th is the first week of the year.
|
116 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
});
|
118 |
|
119 |
return fa;
|
120 |
|
121 |
+
})));
|
assets/js/moment/locale/fi.js
CHANGED
@@ -1,107 +1,132 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Tarmo Aidantausta : https://github.com/bleadof
|
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 |
|
13 |
-
var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(
|
|
|
|
|
14 |
numbersFuture = [
|
15 |
-
'nolla',
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
];
|
18 |
function translate(number, withoutSuffix, key, isFuture) {
|
19 |
var result = '';
|
20 |
switch (key) {
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
|
|
|
|
|
|
48 |
}
|
49 |
result = verbalNumber(number, isFuture) + ' ' + result;
|
50 |
return result;
|
51 |
}
|
52 |
function verbalNumber(number, isFuture) {
|
53 |
-
return number < 10
|
|
|
|
|
|
|
|
|
54 |
}
|
55 |
|
56 |
var fi = moment.defineLocale('fi', {
|
57 |
-
months
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
},
|
74 |
-
calendar
|
75 |
-
sameDay
|
76 |
-
nextDay
|
77 |
-
nextWeek
|
78 |
-
lastDay
|
79 |
-
lastWeek
|
80 |
-
sameElse
|
81 |
},
|
82 |
-
relativeTime
|
83 |
-
future
|
84 |
-
past
|
85 |
-
s
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
},
|
97 |
-
ordinalParse: /\d{1,2}\./,
|
98 |
-
ordinal : '%d.',
|
99 |
-
week : {
|
100 |
-
dow : 1, // Monday is the first day of the week.
|
101 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
102 |
-
}
|
103 |
});
|
104 |
|
105 |
return fi;
|
106 |
|
107 |
-
}));
|
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'
|
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 numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(
|
15 |
+
' '
|
16 |
+
),
|
17 |
numbersFuture = [
|
18 |
+
'nolla',
|
19 |
+
'yhden',
|
20 |
+
'kahden',
|
21 |
+
'kolmen',
|
22 |
+
'neljän',
|
23 |
+
'viiden',
|
24 |
+
'kuuden',
|
25 |
+
numbersPast[7],
|
26 |
+
numbersPast[8],
|
27 |
+
numbersPast[9],
|
28 |
];
|
29 |
function translate(number, withoutSuffix, key, isFuture) {
|
30 |
var result = '';
|
31 |
switch (key) {
|
32 |
+
case 's':
|
33 |
+
return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
|
34 |
+
case 'ss':
|
35 |
+
result = isFuture ? 'sekunnin' : 'sekuntia';
|
36 |
+
break;
|
37 |
+
case 'm':
|
38 |
+
return isFuture ? 'minuutin' : 'minuutti';
|
39 |
+
case 'mm':
|
40 |
+
result = isFuture ? 'minuutin' : 'minuuttia';
|
41 |
+
break;
|
42 |
+
case 'h':
|
43 |
+
return isFuture ? 'tunnin' : 'tunti';
|
44 |
+
case 'hh':
|
45 |
+
result = isFuture ? 'tunnin' : 'tuntia';
|
46 |
+
break;
|
47 |
+
case 'd':
|
48 |
+
return isFuture ? 'päivän' : 'päivä';
|
49 |
+
case 'dd':
|
50 |
+
result = isFuture ? 'päivän' : 'päivää';
|
51 |
+
break;
|
52 |
+
case 'M':
|
53 |
+
return isFuture ? 'kuukauden' : 'kuukausi';
|
54 |
+
case 'MM':
|
55 |
+
result = isFuture ? 'kuukauden' : 'kuukautta';
|
56 |
+
break;
|
57 |
+
case 'y':
|
58 |
+
return isFuture ? 'vuoden' : 'vuosi';
|
59 |
+
case 'yy':
|
60 |
+
result = isFuture ? 'vuoden' : 'vuotta';
|
61 |
+
break;
|
62 |
}
|
63 |
result = verbalNumber(number, isFuture) + ' ' + result;
|
64 |
return result;
|
65 |
}
|
66 |
function verbalNumber(number, isFuture) {
|
67 |
+
return number < 10
|
68 |
+
? isFuture
|
69 |
+
? numbersFuture[number]
|
70 |
+
: numbersPast[number]
|
71 |
+
: number;
|
72 |
}
|
73 |
|
74 |
var fi = moment.defineLocale('fi', {
|
75 |
+
months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split(
|
76 |
+
'_'
|
77 |
+
),
|
78 |
+
monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split(
|
79 |
+
'_'
|
80 |
+
),
|
81 |
+
weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split(
|
82 |
+
'_'
|
83 |
+
),
|
84 |
+
weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),
|
85 |
+
weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),
|
86 |
+
longDateFormat: {
|
87 |
+
LT: 'HH.mm',
|
88 |
+
LTS: 'HH.mm.ss',
|
89 |
+
L: 'DD.MM.YYYY',
|
90 |
+
LL: 'Do MMMM[ta] YYYY',
|
91 |
+
LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',
|
92 |
+
LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
|
93 |
+
l: 'D.M.YYYY',
|
94 |
+
ll: 'Do MMM YYYY',
|
95 |
+
lll: 'Do MMM YYYY, [klo] HH.mm',
|
96 |
+
llll: 'ddd, Do MMM YYYY, [klo] HH.mm',
|
97 |
},
|
98 |
+
calendar: {
|
99 |
+
sameDay: '[tänään] [klo] LT',
|
100 |
+
nextDay: '[huomenna] [klo] LT',
|
101 |
+
nextWeek: 'dddd [klo] LT',
|
102 |
+
lastDay: '[eilen] [klo] LT',
|
103 |
+
lastWeek: '[viime] dddd[na] [klo] LT',
|
104 |
+
sameElse: 'L',
|
105 |
},
|
106 |
+
relativeTime: {
|
107 |
+
future: '%s päästä',
|
108 |
+
past: '%s sitten',
|
109 |
+
s: translate,
|
110 |
+
ss: translate,
|
111 |
+
m: translate,
|
112 |
+
mm: translate,
|
113 |
+
h: translate,
|
114 |
+
hh: translate,
|
115 |
+
d: translate,
|
116 |
+
dd: translate,
|
117 |
+
M: translate,
|
118 |
+
MM: translate,
|
119 |
+
y: translate,
|
120 |
+
yy: translate,
|
121 |
+
},
|
122 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
123 |
+
ordinal: '%d.',
|
124 |
+
week: {
|
125 |
+
dow: 1, // Monday is the first day of the week.
|
126 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
127 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
});
|
129 |
|
130 |
return fi;
|
131 |
|
132 |
+
})));
|
assets/js/moment/locale/fil.js
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Filipino [fil]
|
3 |
+
//! author : Dan Hagman : https://github.com/hagmandan
|
4 |
+
//! author : Matthew Co : https://github.com/matthewdeeco
|
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 fil = moment.defineLocale('fil', {
|
16 |
+
months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
|
17 |
+
'_'
|
18 |
+
),
|
19 |
+
monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
|
20 |
+
weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
|
21 |
+
'_'
|
22 |
+
),
|
23 |
+
weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
|
24 |
+
weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
|
25 |
+
longDateFormat: {
|
26 |
+
LT: 'HH:mm',
|
27 |
+
LTS: 'HH:mm:ss',
|
28 |
+
L: 'MM/D/YYYY',
|
29 |
+
LL: 'MMMM D, YYYY',
|
30 |
+
LLL: 'MMMM D, YYYY HH:mm',
|
31 |
+
LLLL: 'dddd, MMMM DD, YYYY HH:mm',
|
32 |
+
},
|
33 |
+
calendar: {
|
34 |
+
sameDay: 'LT [ngayong araw]',
|
35 |
+
nextDay: '[Bukas ng] LT',
|
36 |
+
nextWeek: 'LT [sa susunod na] dddd',
|
37 |
+
lastDay: 'LT [kahapon]',
|
38 |
+
lastWeek: 'LT [noong nakaraang] dddd',
|
39 |
+
sameElse: 'L',
|
40 |
+
},
|
41 |
+
relativeTime: {
|
42 |
+
future: 'sa loob ng %s',
|
43 |
+
past: '%s ang nakalipas',
|
44 |
+
s: 'ilang segundo',
|
45 |
+
ss: '%d segundo',
|
46 |
+
m: 'isang minuto',
|
47 |
+
mm: '%d minuto',
|
48 |
+
h: 'isang oras',
|
49 |
+
hh: '%d oras',
|
50 |
+
d: 'isang araw',
|
51 |
+
dd: '%d araw',
|
52 |
+
M: 'isang buwan',
|
53 |
+
MM: '%d buwan',
|
54 |
+
y: 'isang taon',
|
55 |
+
yy: '%d taon',
|
56 |
+
},
|
57 |
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
58 |
+
ordinal: function (number) {
|
59 |
+
return number;
|
60 |
+
},
|
61 |
+
week: {
|
62 |
+
dow: 1, // Monday is the first day of the week.
|
63 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
64 |
+
},
|
65 |
+
});
|
66 |
+
|
67 |
+
return fil;
|
68 |
+
|
69 |
+
})));
|
assets/js/moment/locale/fo.js
CHANGED
@@ -1,60 +1,67 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Ragnar Johannesen : https://github.com/ragnar123
|
|
|
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 |
|
13 |
var fo = moment.defineLocale('fo', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay
|
29 |
-
nextDay
|
30 |
-
nextWeek
|
31 |
-
lastDay
|
32 |
-
lastWeek
|
33 |
-
sameElse
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
},
|
50 |
-
ordinalParse: /\d{1,2}\./,
|
51 |
-
ordinal : '%d.',
|
52 |
-
week : {
|
53 |
-
dow : 1, // Monday is the first day of the week.
|
54 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
55 |
-
}
|
56 |
});
|
57 |
|
58 |
return fo;
|
59 |
|
60 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Faroese [fo]
|
3 |
//! author : Ragnar Johannesen : https://github.com/ragnar123
|
4 |
+
//! author : Kristian Sakarisson : https://github.com/sakarisson
|
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 fo = moment.defineLocale('fo', {
|
16 |
+
months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(
|
17 |
+
'_'
|
18 |
+
),
|
19 |
+
monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
|
20 |
+
weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split(
|
21 |
+
'_'
|
22 |
+
),
|
23 |
+
weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
|
24 |
+
weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),
|
25 |
+
longDateFormat: {
|
26 |
+
LT: 'HH:mm',
|
27 |
+
LTS: 'HH:mm:ss',
|
28 |
+
L: 'DD/MM/YYYY',
|
29 |
+
LL: 'D MMMM YYYY',
|
30 |
+
LLL: 'D MMMM YYYY HH:mm',
|
31 |
+
LLLL: 'dddd D. MMMM, YYYY HH:mm',
|
32 |
},
|
33 |
+
calendar: {
|
34 |
+
sameDay: '[Í dag kl.] LT',
|
35 |
+
nextDay: '[Í morgin kl.] LT',
|
36 |
+
nextWeek: 'dddd [kl.] LT',
|
37 |
+
lastDay: '[Í gjár kl.] LT',
|
38 |
+
lastWeek: '[síðstu] dddd [kl] LT',
|
39 |
+
sameElse: 'L',
|
40 |
},
|
41 |
+
relativeTime: {
|
42 |
+
future: 'um %s',
|
43 |
+
past: '%s síðani',
|
44 |
+
s: 'fá sekund',
|
45 |
+
ss: '%d sekundir',
|
46 |
+
m: 'ein minuttur',
|
47 |
+
mm: '%d minuttir',
|
48 |
+
h: 'ein tími',
|
49 |
+
hh: '%d tímar',
|
50 |
+
d: 'ein dagur',
|
51 |
+
dd: '%d dagar',
|
52 |
+
M: 'ein mánaður',
|
53 |
+
MM: '%d mánaðir',
|
54 |
+
y: 'eitt ár',
|
55 |
+
yy: '%d ár',
|
56 |
+
},
|
57 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
58 |
+
ordinal: '%d.',
|
59 |
+
week: {
|
60 |
+
dow: 1, // Monday is the first day of the week.
|
61 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
62 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
});
|
64 |
|
65 |
return fo;
|
66 |
|
67 |
+
})));
|
assets/js/moment/locale/fr-ca.js
CHANGED
@@ -1,58 +1,80 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Jonathan Abourbih : https://github.com/jonbca
|
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 |
|
13 |
-
var
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay: '[Aujourd
|
29 |
nextDay: '[Demain à] LT',
|
30 |
nextWeek: 'dddd [à] LT',
|
31 |
lastDay: '[Hier à] LT',
|
32 |
lastWeek: 'dddd [dernier à] LT',
|
33 |
-
sameElse: 'L'
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
},
|
50 |
-
ordinalParse: /\d{1,2}(er|e)/,
|
51 |
-
ordinal : function (number) {
|
52 |
-
return number + (number === 1 ? 'er' : 'e');
|
53 |
-
}
|
54 |
});
|
55 |
|
56 |
-
return
|
57 |
|
58 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : French (Canada) [fr-ca]
|
3 |
//! author : Jonathan Abourbih : https://github.com/jonbca
|
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 frCa = moment.defineLocale('fr-ca', {
|
15 |
+
months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsParseExact: true,
|
22 |
+
weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
23 |
+
weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
24 |
+
weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
|
25 |
+
weekdaysParseExact: true,
|
26 |
+
longDateFormat: {
|
27 |
+
LT: 'HH:mm',
|
28 |
+
LTS: 'HH:mm:ss',
|
29 |
+
L: 'YYYY-MM-DD',
|
30 |
+
LL: 'D MMMM YYYY',
|
31 |
+
LLL: 'D MMMM YYYY HH:mm',
|
32 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
33 |
},
|
34 |
+
calendar: {
|
35 |
+
sameDay: '[Aujourd’hui à] LT',
|
36 |
nextDay: '[Demain à] LT',
|
37 |
nextWeek: 'dddd [à] LT',
|
38 |
lastDay: '[Hier à] LT',
|
39 |
lastWeek: 'dddd [dernier à] LT',
|
40 |
+
sameElse: 'L',
|
41 |
},
|
42 |
+
relativeTime: {
|
43 |
+
future: 'dans %s',
|
44 |
+
past: 'il y a %s',
|
45 |
+
s: 'quelques secondes',
|
46 |
+
ss: '%d secondes',
|
47 |
+
m: 'une minute',
|
48 |
+
mm: '%d minutes',
|
49 |
+
h: 'une heure',
|
50 |
+
hh: '%d heures',
|
51 |
+
d: 'un jour',
|
52 |
+
dd: '%d jours',
|
53 |
+
M: 'un mois',
|
54 |
+
MM: '%d mois',
|
55 |
+
y: 'un an',
|
56 |
+
yy: '%d ans',
|
57 |
+
},
|
58 |
+
dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
|
59 |
+
ordinal: function (number, period) {
|
60 |
+
switch (period) {
|
61 |
+
// Words with masculine grammatical gender: mois, trimestre, jour
|
62 |
+
default:
|
63 |
+
case 'M':
|
64 |
+
case 'Q':
|
65 |
+
case 'D':
|
66 |
+
case 'DDD':
|
67 |
+
case 'd':
|
68 |
+
return number + (number === 1 ? 'er' : 'e');
|
69 |
+
|
70 |
+
// Words with feminine grammatical gender: semaine
|
71 |
+
case 'w':
|
72 |
+
case 'W':
|
73 |
+
return number + (number === 1 ? 're' : 'e');
|
74 |
+
}
|
75 |
},
|
|
|
|
|
|
|
|
|
76 |
});
|
77 |
|
78 |
+
return frCa;
|
79 |
|
80 |
+
})));
|
assets/js/moment/locale/fr-ch.js
CHANGED
@@ -1,62 +1,84 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Gaspard Bucher : https://github.com/gaspard
|
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 |
|
13 |
-
var
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay: '[Aujourd
|
29 |
nextDay: '[Demain à] LT',
|
30 |
nextWeek: 'dddd [à] LT',
|
31 |
lastDay: '[Hier à] LT',
|
32 |
lastWeek: 'dddd [dernier à] LT',
|
33 |
-
sameElse: 'L'
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
49 |
},
|
50 |
-
|
51 |
-
ordinal
|
52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
},
|
54 |
-
week : {
|
55 |
-
dow : 1, // Monday is the first day of the week.
|
56 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
57 |
-
}
|
58 |
});
|
59 |
|
60 |
-
return
|
61 |
|
62 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : French (Switzerland) [fr-ch]
|
3 |
//! author : Gaspard Bucher : https://github.com/gaspard
|
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 frCh = moment.defineLocale('fr-ch', {
|
15 |
+
months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsParseExact: true,
|
22 |
+
weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
23 |
+
weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
24 |
+
weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
|
25 |
+
weekdaysParseExact: true,
|
26 |
+
longDateFormat: {
|
27 |
+
LT: 'HH:mm',
|
28 |
+
LTS: 'HH:mm:ss',
|
29 |
+
L: 'DD.MM.YYYY',
|
30 |
+
LL: 'D MMMM YYYY',
|
31 |
+
LLL: 'D MMMM YYYY HH:mm',
|
32 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
33 |
},
|
34 |
+
calendar: {
|
35 |
+
sameDay: '[Aujourd’hui à] LT',
|
36 |
nextDay: '[Demain à] LT',
|
37 |
nextWeek: 'dddd [à] LT',
|
38 |
lastDay: '[Hier à] LT',
|
39 |
lastWeek: 'dddd [dernier à] LT',
|
40 |
+
sameElse: 'L',
|
41 |
},
|
42 |
+
relativeTime: {
|
43 |
+
future: 'dans %s',
|
44 |
+
past: 'il y a %s',
|
45 |
+
s: 'quelques secondes',
|
46 |
+
ss: '%d secondes',
|
47 |
+
m: 'une minute',
|
48 |
+
mm: '%d minutes',
|
49 |
+
h: 'une heure',
|
50 |
+
hh: '%d heures',
|
51 |
+
d: 'un jour',
|
52 |
+
dd: '%d jours',
|
53 |
+
M: 'un mois',
|
54 |
+
MM: '%d mois',
|
55 |
+
y: 'un an',
|
56 |
+
yy: '%d ans',
|
57 |
},
|
58 |
+
dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
|
59 |
+
ordinal: function (number, period) {
|
60 |
+
switch (period) {
|
61 |
+
// Words with masculine grammatical gender: mois, trimestre, jour
|
62 |
+
default:
|
63 |
+
case 'M':
|
64 |
+
case 'Q':
|
65 |
+
case 'D':
|
66 |
+
case 'DDD':
|
67 |
+
case 'd':
|
68 |
+
return number + (number === 1 ? 'er' : 'e');
|
69 |
+
|
70 |
+
// Words with feminine grammatical gender: semaine
|
71 |
+
case 'w':
|
72 |
+
case 'W':
|
73 |
+
return number + (number === 1 ? 're' : 'e');
|
74 |
+
}
|
75 |
+
},
|
76 |
+
week: {
|
77 |
+
dow: 1, // Monday is the first day of the week.
|
78 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
79 |
},
|
|
|
|
|
|
|
|
|
80 |
});
|
81 |
|
82 |
+
return frCh;
|
83 |
|
84 |
+
})));
|
assets/js/moment/locale/fr.js
CHANGED
@@ -1,62 +1,115 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : John Fischer : https://github.com/jfroffice
|
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 |
|
13 |
var fr = moment.defineLocale('fr', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay: '[Aujourd
|
29 |
nextDay: '[Demain à] LT',
|
30 |
nextWeek: 'dddd [à] LT',
|
31 |
lastDay: '[Hier à] LT',
|
32 |
lastWeek: 'dddd [dernier à] LT',
|
33 |
-
sameElse: 'L'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
},
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
},
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
},
|
54 |
-
week : {
|
55 |
-
dow : 1, // Monday is the first day of the week.
|
56 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
57 |
-
}
|
58 |
});
|
59 |
|
60 |
return fr;
|
61 |
|
62 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : French [fr]
|
3 |
//! author : John Fischer : https://github.com/jfroffice
|
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 monthsStrictRegex = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
|
15 |
+
monthsShortStrictRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
|
16 |
+
monthsRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
|
17 |
+
monthsParse = [
|
18 |
+
/^janv/i,
|
19 |
+
/^févr/i,
|
20 |
+
/^mars/i,
|
21 |
+
/^avr/i,
|
22 |
+
/^mai/i,
|
23 |
+
/^juin/i,
|
24 |
+
/^juil/i,
|
25 |
+
/^août/i,
|
26 |
+
/^sept/i,
|
27 |
+
/^oct/i,
|
28 |
+
/^nov/i,
|
29 |
+
/^déc/i,
|
30 |
+
];
|
31 |
|
32 |
var fr = moment.defineLocale('fr', {
|
33 |
+
months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
|
34 |
+
'_'
|
35 |
+
),
|
36 |
+
monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
|
37 |
+
'_'
|
38 |
+
),
|
39 |
+
monthsRegex: monthsRegex,
|
40 |
+
monthsShortRegex: monthsRegex,
|
41 |
+
monthsStrictRegex: monthsStrictRegex,
|
42 |
+
monthsShortStrictRegex: monthsShortStrictRegex,
|
43 |
+
monthsParse: monthsParse,
|
44 |
+
longMonthsParse: monthsParse,
|
45 |
+
shortMonthsParse: monthsParse,
|
46 |
+
weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
47 |
+
weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
48 |
+
weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
|
49 |
+
weekdaysParseExact: true,
|
50 |
+
longDateFormat: {
|
51 |
+
LT: 'HH:mm',
|
52 |
+
LTS: 'HH:mm:ss',
|
53 |
+
L: 'DD/MM/YYYY',
|
54 |
+
LL: 'D MMMM YYYY',
|
55 |
+
LLL: 'D MMMM YYYY HH:mm',
|
56 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
57 |
},
|
58 |
+
calendar: {
|
59 |
+
sameDay: '[Aujourd’hui à] LT',
|
60 |
nextDay: '[Demain à] LT',
|
61 |
nextWeek: 'dddd [à] LT',
|
62 |
lastDay: '[Hier à] LT',
|
63 |
lastWeek: 'dddd [dernier à] LT',
|
64 |
+
sameElse: 'L',
|
65 |
+
},
|
66 |
+
relativeTime: {
|
67 |
+
future: 'dans %s',
|
68 |
+
past: 'il y a %s',
|
69 |
+
s: 'quelques secondes',
|
70 |
+
ss: '%d secondes',
|
71 |
+
m: 'une minute',
|
72 |
+
mm: '%d minutes',
|
73 |
+
h: 'une heure',
|
74 |
+
hh: '%d heures',
|
75 |
+
d: 'un jour',
|
76 |
+
dd: '%d jours',
|
77 |
+
w: 'une semaine',
|
78 |
+
ww: '%d semaines',
|
79 |
+
M: 'un mois',
|
80 |
+
MM: '%d mois',
|
81 |
+
y: 'un an',
|
82 |
+
yy: '%d ans',
|
83 |
},
|
84 |
+
dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
|
85 |
+
ordinal: function (number, period) {
|
86 |
+
switch (period) {
|
87 |
+
// TODO: Return 'e' when day of month > 1. Move this case inside
|
88 |
+
// block for masculine words below.
|
89 |
+
// See https://github.com/moment/moment/issues/3375
|
90 |
+
case 'D':
|
91 |
+
return number + (number === 1 ? 'er' : '');
|
92 |
+
|
93 |
+
// Words with masculine grammatical gender: mois, trimestre, jour
|
94 |
+
default:
|
95 |
+
case 'M':
|
96 |
+
case 'Q':
|
97 |
+
case 'DDD':
|
98 |
+
case 'd':
|
99 |
+
return number + (number === 1 ? 'er' : 'e');
|
100 |
+
|
101 |
+
// Words with feminine grammatical gender: semaine
|
102 |
+
case 'w':
|
103 |
+
case 'W':
|
104 |
+
return number + (number === 1 ? 're' : 'e');
|
105 |
+
}
|
106 |
},
|
107 |
+
week: {
|
108 |
+
dow: 1, // Monday is the first day of the week.
|
109 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
110 |
},
|
|
|
|
|
|
|
|
|
111 |
});
|
112 |
|
113 |
return fr;
|
114 |
|
115 |
+
})));
|
assets/js/moment/locale/fy.js
CHANGED
@@ -1,71 +1,88 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
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 |
|
13 |
-
var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split(
|
14 |
-
|
|
|
|
|
|
|
|
|
15 |
|
16 |
var fy = moment.defineLocale('fy', {
|
17 |
-
months
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
20 |
return monthsShortWithoutDots[m.month()];
|
21 |
} else {
|
22 |
return monthsShortWithDots[m.month()];
|
23 |
}
|
24 |
},
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
35 |
},
|
36 |
-
calendar
|
37 |
sameDay: '[hjoed om] LT',
|
38 |
nextDay: '[moarn om] LT',
|
39 |
nextWeek: 'dddd [om] LT',
|
40 |
lastDay: '[juster om] LT',
|
41 |
lastWeek: '[ôfrûne] dddd [om] LT',
|
42 |
-
sameElse: 'L'
|
43 |
},
|
44 |
-
relativeTime
|
45 |
-
future
|
46 |
-
past
|
47 |
-
s
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
58 |
},
|
59 |
-
|
60 |
-
ordinal
|
61 |
-
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
},
|
63 |
-
week : {
|
64 |
-
dow : 1, // Monday is the first day of the week.
|
65 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
66 |
-
}
|
67 |
});
|
68 |
|
69 |
return fy;
|
70 |
|
71 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Frisian [fy]
|
3 |
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
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 monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split(
|
15 |
+
'_'
|
16 |
+
),
|
17 |
+
monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split(
|
18 |
+
'_'
|
19 |
+
);
|
20 |
|
21 |
var fy = moment.defineLocale('fy', {
|
22 |
+
months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(
|
23 |
+
'_'
|
24 |
+
),
|
25 |
+
monthsShort: function (m, format) {
|
26 |
+
if (!m) {
|
27 |
+
return monthsShortWithDots;
|
28 |
+
} else if (/-MMM-/.test(format)) {
|
29 |
return monthsShortWithoutDots[m.month()];
|
30 |
} else {
|
31 |
return monthsShortWithDots[m.month()];
|
32 |
}
|
33 |
},
|
34 |
+
monthsParseExact: true,
|
35 |
+
weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(
|
36 |
+
'_'
|
37 |
+
),
|
38 |
+
weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),
|
39 |
+
weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
|
40 |
+
weekdaysParseExact: true,
|
41 |
+
longDateFormat: {
|
42 |
+
LT: 'HH:mm',
|
43 |
+
LTS: 'HH:mm:ss',
|
44 |
+
L: 'DD-MM-YYYY',
|
45 |
+
LL: 'D MMMM YYYY',
|
46 |
+
LLL: 'D MMMM YYYY HH:mm',
|
47 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
48 |
},
|
49 |
+
calendar: {
|
50 |
sameDay: '[hjoed om] LT',
|
51 |
nextDay: '[moarn om] LT',
|
52 |
nextWeek: 'dddd [om] LT',
|
53 |
lastDay: '[juster om] LT',
|
54 |
lastWeek: '[ôfrûne] dddd [om] LT',
|
55 |
+
sameElse: 'L',
|
56 |
},
|
57 |
+
relativeTime: {
|
58 |
+
future: 'oer %s',
|
59 |
+
past: '%s lyn',
|
60 |
+
s: 'in pear sekonden',
|
61 |
+
ss: '%d sekonden',
|
62 |
+
m: 'ien minút',
|
63 |
+
mm: '%d minuten',
|
64 |
+
h: 'ien oere',
|
65 |
+
hh: '%d oeren',
|
66 |
+
d: 'ien dei',
|
67 |
+
dd: '%d dagen',
|
68 |
+
M: 'ien moanne',
|
69 |
+
MM: '%d moannen',
|
70 |
+
y: 'ien jier',
|
71 |
+
yy: '%d jierren',
|
72 |
},
|
73 |
+
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
74 |
+
ordinal: function (number) {
|
75 |
+
return (
|
76 |
+
number +
|
77 |
+
(number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
|
78 |
+
);
|
79 |
+
},
|
80 |
+
week: {
|
81 |
+
dow: 1, // Monday is the first day of the week.
|
82 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
83 |
},
|
|
|
|
|
|
|
|
|
84 |
});
|
85 |
|
86 |
return fy;
|
87 |
|
88 |
+
})));
|
assets/js/moment/locale/ga.js
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Irish or Irish Gaelic [ga]
|
3 |
+
//! author : André Silva : https://github.com/askpt
|
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 months = [
|
15 |
+
'Eanáir',
|
16 |
+
'Feabhra',
|
17 |
+
'Márta',
|
18 |
+
'Aibreán',
|
19 |
+
'Bealtaine',
|
20 |
+
'Meitheamh',
|
21 |
+
'Iúil',
|
22 |
+
'Lúnasa',
|
23 |
+
'Meán Fómhair',
|
24 |
+
'Deireadh Fómhair',
|
25 |
+
'Samhain',
|
26 |
+
'Nollaig',
|
27 |
+
],
|
28 |
+
monthsShort = [
|
29 |
+
'Ean',
|
30 |
+
'Feabh',
|
31 |
+
'Márt',
|
32 |
+
'Aib',
|
33 |
+
'Beal',
|
34 |
+
'Meith',
|
35 |
+
'Iúil',
|
36 |
+
'Lún',
|
37 |
+
'M.F.',
|
38 |
+
'D.F.',
|
39 |
+
'Samh',
|
40 |
+
'Noll',
|
41 |
+
],
|
42 |
+
weekdays = [
|
43 |
+
'Dé Domhnaigh',
|
44 |
+
'Dé Luain',
|
45 |
+
'Dé Máirt',
|
46 |
+
'Dé Céadaoin',
|
47 |
+
'Déardaoin',
|
48 |
+
'Dé hAoine',
|
49 |
+
'Dé Sathairn',
|
50 |
+
],
|
51 |
+
weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
|
52 |
+
weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];
|
53 |
+
|
54 |
+
var ga = moment.defineLocale('ga', {
|
55 |
+
months: months,
|
56 |
+
monthsShort: monthsShort,
|
57 |
+
monthsParseExact: true,
|
58 |
+
weekdays: weekdays,
|
59 |
+
weekdaysShort: weekdaysShort,
|
60 |
+
weekdaysMin: weekdaysMin,
|
61 |
+
longDateFormat: {
|
62 |
+
LT: 'HH:mm',
|
63 |
+
LTS: 'HH:mm:ss',
|
64 |
+
L: 'DD/MM/YYYY',
|
65 |
+
LL: 'D MMMM YYYY',
|
66 |
+
LLL: 'D MMMM YYYY HH:mm',
|
67 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
68 |
+
},
|
69 |
+
calendar: {
|
70 |
+
sameDay: '[Inniu ag] LT',
|
71 |
+
nextDay: '[Amárach ag] LT',
|
72 |
+
nextWeek: 'dddd [ag] LT',
|
73 |
+
lastDay: '[Inné ag] LT',
|
74 |
+
lastWeek: 'dddd [seo caite] [ag] LT',
|
75 |
+
sameElse: 'L',
|
76 |
+
},
|
77 |
+
relativeTime: {
|
78 |
+
future: 'i %s',
|
79 |
+
past: '%s ó shin',
|
80 |
+
s: 'cúpla soicind',
|
81 |
+
ss: '%d soicind',
|
82 |
+
m: 'nóiméad',
|
83 |
+
mm: '%d nóiméad',
|
84 |
+
h: 'uair an chloig',
|
85 |
+
hh: '%d uair an chloig',
|
86 |
+
d: 'lá',
|
87 |
+
dd: '%d lá',
|
88 |
+
M: 'mí',
|
89 |
+
MM: '%d míonna',
|
90 |
+
y: 'bliain',
|
91 |
+
yy: '%d bliain',
|
92 |
+
},
|
93 |
+
dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
|
94 |
+
ordinal: function (number) {
|
95 |
+
var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
|
96 |
+
return number + output;
|
97 |
+
},
|
98 |
+
week: {
|
99 |
+
dow: 1, // Monday is the first day of the week.
|
100 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
101 |
+
},
|
102 |
+
});
|
103 |
+
|
104 |
+
return ga;
|
105 |
+
|
106 |
+
})));
|
assets/js/moment/locale/gd.js
CHANGED
@@ -1,76 +1,106 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Jon Ashdown : https://github.com/jonashdown
|
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 |
|
13 |
var months = [
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
var gd = moment.defineLocale('gd', {
|
26 |
-
months
|
27 |
-
monthsShort
|
28 |
-
monthsParseExact
|
29 |
-
weekdays
|
30 |
-
weekdaysShort
|
31 |
-
weekdaysMin
|
32 |
-
longDateFormat
|
33 |
-
LT
|
34 |
-
LTS
|
35 |
-
L
|
36 |
-
LL
|
37 |
-
LLL
|
38 |
-
LLLL
|
39 |
},
|
40 |
-
calendar
|
41 |
-
sameDay
|
42 |
-
nextDay
|
43 |
-
nextWeek
|
44 |
-
lastDay
|
45 |
-
lastWeek
|
46 |
-
sameElse
|
47 |
},
|
48 |
-
relativeTime
|
49 |
-
future
|
50 |
-
past
|
51 |
-
s
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
|
|
62 |
},
|
63 |
-
|
64 |
-
ordinal
|
65 |
var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
|
66 |
return number + output;
|
67 |
},
|
68 |
-
week
|
69 |
-
dow
|
70 |
-
doy
|
71 |
-
}
|
72 |
});
|
73 |
|
74 |
return gd;
|
75 |
|
76 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Scottish Gaelic [gd]
|
3 |
//! author : Jon Ashdown : https://github.com/jonashdown
|
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 months = [
|
15 |
+
'Am Faoilleach',
|
16 |
+
'An Gearran',
|
17 |
+
'Am Màrt',
|
18 |
+
'An Giblean',
|
19 |
+
'An Cèitean',
|
20 |
+
'An t-Ògmhios',
|
21 |
+
'An t-Iuchar',
|
22 |
+
'An Lùnastal',
|
23 |
+
'An t-Sultain',
|
24 |
+
'An Dàmhair',
|
25 |
+
'An t-Samhain',
|
26 |
+
'An Dùbhlachd',
|
27 |
+
],
|
28 |
+
monthsShort = [
|
29 |
+
'Faoi',
|
30 |
+
'Gear',
|
31 |
+
'Màrt',
|
32 |
+
'Gibl',
|
33 |
+
'Cèit',
|
34 |
+
'Ògmh',
|
35 |
+
'Iuch',
|
36 |
+
'Lùn',
|
37 |
+
'Sult',
|
38 |
+
'Dàmh',
|
39 |
+
'Samh',
|
40 |
+
'Dùbh',
|
41 |
+
],
|
42 |
+
weekdays = [
|
43 |
+
'Didòmhnaich',
|
44 |
+
'Diluain',
|
45 |
+
'Dimàirt',
|
46 |
+
'Diciadain',
|
47 |
+
'Diardaoin',
|
48 |
+
'Dihaoine',
|
49 |
+
'Disathairne',
|
50 |
+
],
|
51 |
+
weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
|
52 |
+
weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
|
53 |
|
54 |
var gd = moment.defineLocale('gd', {
|
55 |
+
months: months,
|
56 |
+
monthsShort: monthsShort,
|
57 |
+
monthsParseExact: true,
|
58 |
+
weekdays: weekdays,
|
59 |
+
weekdaysShort: weekdaysShort,
|
60 |
+
weekdaysMin: weekdaysMin,
|
61 |
+
longDateFormat: {
|
62 |
+
LT: 'HH:mm',
|
63 |
+
LTS: 'HH:mm:ss',
|
64 |
+
L: 'DD/MM/YYYY',
|
65 |
+
LL: 'D MMMM YYYY',
|
66 |
+
LLL: 'D MMMM YYYY HH:mm',
|
67 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
68 |
},
|
69 |
+
calendar: {
|
70 |
+
sameDay: '[An-diugh aig] LT',
|
71 |
+
nextDay: '[A-màireach aig] LT',
|
72 |
+
nextWeek: 'dddd [aig] LT',
|
73 |
+
lastDay: '[An-dè aig] LT',
|
74 |
+
lastWeek: 'dddd [seo chaidh] [aig] LT',
|
75 |
+
sameElse: 'L',
|
76 |
},
|
77 |
+
relativeTime: {
|
78 |
+
future: 'ann an %s',
|
79 |
+
past: 'bho chionn %s',
|
80 |
+
s: 'beagan diogan',
|
81 |
+
ss: '%d diogan',
|
82 |
+
m: 'mionaid',
|
83 |
+
mm: '%d mionaidean',
|
84 |
+
h: 'uair',
|
85 |
+
hh: '%d uairean',
|
86 |
+
d: 'latha',
|
87 |
+
dd: '%d latha',
|
88 |
+
M: 'mìos',
|
89 |
+
MM: '%d mìosan',
|
90 |
+
y: 'bliadhna',
|
91 |
+
yy: '%d bliadhna',
|
92 |
},
|
93 |
+
dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
|
94 |
+
ordinal: function (number) {
|
95 |
var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
|
96 |
return number + output;
|
97 |
},
|
98 |
+
week: {
|
99 |
+
dow: 1, // Monday is the first day of the week.
|
100 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
101 |
+
},
|
102 |
});
|
103 |
|
104 |
return gd;
|
105 |
|
106 |
+
})));
|
assets/js/moment/locale/gl.js
CHANGED
@@ -1,75 +1,85 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Juan G. Hurtado : https://github.com/juanghurtado
|
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 |
|
13 |
var gl = moment.defineLocale('gl', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay
|
29 |
-
return '[hoxe ' + (
|
30 |
},
|
31 |
-
nextDay
|
32 |
-
return '[mañá ' + (
|
33 |
},
|
34 |
-
nextWeek
|
35 |
-
return 'dddd [' + (
|
36 |
},
|
37 |
-
lastDay
|
38 |
-
return '[onte ' + (
|
39 |
},
|
40 |
-
lastWeek
|
41 |
-
return
|
|
|
|
|
42 |
},
|
43 |
-
sameElse
|
44 |
},
|
45 |
-
relativeTime
|
46 |
-
future
|
47 |
-
if (str ===
|
48 |
-
return '
|
49 |
}
|
50 |
return 'en ' + str;
|
51 |
},
|
52 |
-
past
|
53 |
-
s
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
},
|
65 |
-
ordinalParse : /\d{1,2}º/,
|
66 |
-
ordinal : '%dº',
|
67 |
-
week : {
|
68 |
-
dow : 1, // Monday is the first day of the week.
|
69 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
70 |
-
}
|
71 |
});
|
72 |
|
73 |
return gl;
|
74 |
|
75 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Galician [gl]
|
3 |
//! author : Juan G. Hurtado : https://github.com/juanghurtado
|
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 gl = moment.defineLocale('gl', {
|
15 |
+
months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsParseExact: true,
|
22 |
+
weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
|
23 |
+
weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
|
24 |
+
weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
|
25 |
+
weekdaysParseExact: true,
|
26 |
+
longDateFormat: {
|
27 |
+
LT: 'H:mm',
|
28 |
+
LTS: 'H:mm:ss',
|
29 |
+
L: 'DD/MM/YYYY',
|
30 |
+
LL: 'D [de] MMMM [de] YYYY',
|
31 |
+
LLL: 'D [de] MMMM [de] YYYY H:mm',
|
32 |
+
LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
|
33 |
},
|
34 |
+
calendar: {
|
35 |
+
sameDay: function () {
|
36 |
+
return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
|
37 |
},
|
38 |
+
nextDay: function () {
|
39 |
+
return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
|
40 |
},
|
41 |
+
nextWeek: function () {
|
42 |
+
return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';
|
43 |
},
|
44 |
+
lastDay: function () {
|
45 |
+
return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';
|
46 |
},
|
47 |
+
lastWeek: function () {
|
48 |
+
return (
|
49 |
+
'[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'
|
50 |
+
);
|
51 |
},
|
52 |
+
sameElse: 'L',
|
53 |
},
|
54 |
+
relativeTime: {
|
55 |
+
future: function (str) {
|
56 |
+
if (str.indexOf('un') === 0) {
|
57 |
+
return 'n' + str;
|
58 |
}
|
59 |
return 'en ' + str;
|
60 |
},
|
61 |
+
past: 'hai %s',
|
62 |
+
s: 'uns segundos',
|
63 |
+
ss: '%d segundos',
|
64 |
+
m: 'un minuto',
|
65 |
+
mm: '%d minutos',
|
66 |
+
h: 'unha hora',
|
67 |
+
hh: '%d horas',
|
68 |
+
d: 'un día',
|
69 |
+
dd: '%d días',
|
70 |
+
M: 'un mes',
|
71 |
+
MM: '%d meses',
|
72 |
+
y: 'un ano',
|
73 |
+
yy: '%d anos',
|
74 |
+
},
|
75 |
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
76 |
+
ordinal: '%dº',
|
77 |
+
week: {
|
78 |
+
dow: 1, // Monday is the first day of the week.
|
79 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
80 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
});
|
82 |
|
83 |
return gl;
|
84 |
|
85 |
+
})));
|
assets/js/moment/locale/gom-deva.js
ADDED
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Konkani Devanagari script [gom-deva]
|
3 |
+
//! author : The Discoverer : https://github.com/WikiDiscoverer
|
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 processRelativeTime(number, withoutSuffix, key, isFuture) {
|
15 |
+
var format = {
|
16 |
+
s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'],
|
17 |
+
ss: [number + ' सॅकंडांनी', number + ' सॅकंड'],
|
18 |
+
m: ['एका मिणटान', 'एक मिनूट'],
|
19 |
+
mm: [number + ' मिणटांनी', number + ' मिणटां'],
|
20 |
+
h: ['एका वरान', 'एक वर'],
|
21 |
+
hh: [number + ' वरांनी', number + ' वरां'],
|
22 |
+
d: ['एका दिसान', 'एक दीस'],
|
23 |
+
dd: [number + ' दिसांनी', number + ' दीस'],
|
24 |
+
M: ['एका म्हयन्यान', 'एक म्हयनो'],
|
25 |
+
MM: [number + ' म्हयन्यानी', number + ' म्हयने'],
|
26 |
+
y: ['एका वर्सान', 'एक वर्स'],
|
27 |
+
yy: [number + ' वर्सांनी', number + ' वर्सां'],
|
28 |
+
};
|
29 |
+
return isFuture ? format[key][0] : format[key][1];
|
30 |
+
}
|
31 |
+
|
32 |
+
var gomDeva = moment.defineLocale('gom-deva', {
|
33 |
+
months: {
|
34 |
+
standalone: 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
|
35 |
+
'_'
|
36 |
+
),
|
37 |
+
format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split(
|
38 |
+
'_'
|
39 |
+
),
|
40 |
+
isFormat: /MMMM(\s)+D[oD]?/,
|
41 |
+
},
|
42 |
+
monthsShort: 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
|
43 |
+
'_'
|
44 |
+
),
|
45 |
+
monthsParseExact: true,
|
46 |
+
weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'),
|
47 |
+
weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'),
|
48 |
+
weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'),
|
49 |
+
weekdaysParseExact: true,
|
50 |
+
longDateFormat: {
|
51 |
+
LT: 'A h:mm [वाजतां]',
|
52 |
+
LTS: 'A h:mm:ss [वाजतां]',
|
53 |
+
L: 'DD-MM-YYYY',
|
54 |
+
LL: 'D MMMM YYYY',
|
55 |
+
LLL: 'D MMMM YYYY A h:mm [वाजतां]',
|
56 |
+
LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]',
|
57 |
+
llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]',
|
58 |
+
},
|
59 |
+
calendar: {
|
60 |
+
sameDay: '[आयज] LT',
|
61 |
+
nextDay: '[फाल्यां] LT',
|
62 |
+
nextWeek: '[फुडलो] dddd[,] LT',
|
63 |
+
lastDay: '[काल] LT',
|
64 |
+
lastWeek: '[फाटलो] dddd[,] LT',
|
65 |
+
sameElse: 'L',
|
66 |
+
},
|
67 |
+
relativeTime: {
|
68 |
+
future: '%s',
|
69 |
+
past: '%s आदीं',
|
70 |
+
s: processRelativeTime,
|
71 |
+
ss: processRelativeTime,
|
72 |
+
m: processRelativeTime,
|
73 |
+
mm: processRelativeTime,
|
74 |
+
h: processRelativeTime,
|
75 |
+
hh: processRelativeTime,
|
76 |
+
d: processRelativeTime,
|
77 |
+
dd: processRelativeTime,
|
78 |
+
M: processRelativeTime,
|
79 |
+
MM: processRelativeTime,
|
80 |
+
y: processRelativeTime,
|
81 |
+
yy: processRelativeTime,
|
82 |
+
},
|
83 |
+
dayOfMonthOrdinalParse: /\d{1,2}(वेर)/,
|
84 |
+
ordinal: function (number, period) {
|
85 |
+
switch (period) {
|
86 |
+
// the ordinal 'वेर' only applies to day of the month
|
87 |
+
case 'D':
|
88 |
+
return number + 'वेर';
|
89 |
+
default:
|
90 |
+
case 'M':
|
91 |
+
case 'Q':
|
92 |
+
case 'DDD':
|
93 |
+
case 'd':
|
94 |
+
case 'w':
|
95 |
+
case 'W':
|
96 |
+
return number;
|
97 |
+
}
|
98 |
+
},
|
99 |
+
week: {
|
100 |
+
dow: 0, // Sunday is the first day of the week
|
101 |
+
doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
|
102 |
+
},
|
103 |
+
meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,
|
104 |
+
meridiemHour: function (hour, meridiem) {
|
105 |
+
if (hour === 12) {
|
106 |
+
hour = 0;
|
107 |
+
}
|
108 |
+
if (meridiem === 'राती') {
|
109 |
+
return hour < 4 ? hour : hour + 12;
|
110 |
+
} else if (meridiem === 'सकाळीं') {
|
111 |
+
return hour;
|
112 |
+
} else if (meridiem === 'दनपारां') {
|
113 |
+
return hour > 12 ? hour : hour + 12;
|
114 |
+
} else if (meridiem === 'सांजे') {
|
115 |
+
return hour + 12;
|
116 |
+
}
|
117 |
+
},
|
118 |
+
meridiem: function (hour, minute, isLower) {
|
119 |
+
if (hour < 4) {
|
120 |
+
return 'राती';
|
121 |
+
} else if (hour < 12) {
|
122 |
+
return 'सकाळीं';
|
123 |
+
} else if (hour < 16) {
|
124 |
+
return 'दनपारां';
|
125 |
+
} else if (hour < 20) {
|
126 |
+
return 'सांजे';
|
127 |
+
} else {
|
128 |
+
return 'राती';
|
129 |
+
}
|
130 |
+
},
|
131 |
+
});
|
132 |
+
|
133 |
+
return gomDeva;
|
134 |
+
|
135 |
+
})));
|
assets/js/moment/locale/gom-latn.js
ADDED
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Konkani Latin script [gom-latn]
|
3 |
+
//! author : The Discoverer : https://github.com/WikiDiscoverer
|
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 processRelativeTime(number, withoutSuffix, key, isFuture) {
|
15 |
+
var format = {
|
16 |
+
s: ['thoddea sekondamni', 'thodde sekond'],
|
17 |
+
ss: [number + ' sekondamni', number + ' sekond'],
|
18 |
+
m: ['eka mintan', 'ek minut'],
|
19 |
+
mm: [number + ' mintamni', number + ' mintam'],
|
20 |
+
h: ['eka voran', 'ek vor'],
|
21 |
+
hh: [number + ' voramni', number + ' voram'],
|
22 |
+
d: ['eka disan', 'ek dis'],
|
23 |
+
dd: [number + ' disamni', number + ' dis'],
|
24 |
+
M: ['eka mhoinean', 'ek mhoino'],
|
25 |
+
MM: [number + ' mhoineamni', number + ' mhoine'],
|
26 |
+
y: ['eka vorsan', 'ek voros'],
|
27 |
+
yy: [number + ' vorsamni', number + ' vorsam'],
|
28 |
+
};
|
29 |
+
return isFuture ? format[key][0] : format[key][1];
|
30 |
+
}
|
31 |
+
|
32 |
+
var gomLatn = moment.defineLocale('gom-latn', {
|
33 |
+
months: {
|
34 |
+
standalone: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split(
|
35 |
+
'_'
|
36 |
+
),
|
37 |
+
format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split(
|
38 |
+
'_'
|
39 |
+
),
|
40 |
+
isFormat: /MMMM(\s)+D[oD]?/,
|
41 |
+
},
|
42 |
+
monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split(
|
43 |
+
'_'
|
44 |
+
),
|
45 |
+
monthsParseExact: true,
|
46 |
+
weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'),
|
47 |
+
weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),
|
48 |
+
weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),
|
49 |
+
weekdaysParseExact: true,
|
50 |
+
longDateFormat: {
|
51 |
+
LT: 'A h:mm [vazta]',
|
52 |
+
LTS: 'A h:mm:ss [vazta]',
|
53 |
+
L: 'DD-MM-YYYY',
|
54 |
+
LL: 'D MMMM YYYY',
|
55 |
+
LLL: 'D MMMM YYYY A h:mm [vazta]',
|
56 |
+
LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]',
|
57 |
+
llll: 'ddd, D MMM YYYY, A h:mm [vazta]',
|
58 |
+
},
|
59 |
+
calendar: {
|
60 |
+
sameDay: '[Aiz] LT',
|
61 |
+
nextDay: '[Faleam] LT',
|
62 |
+
nextWeek: '[Fuddlo] dddd[,] LT',
|
63 |
+
lastDay: '[Kal] LT',
|
64 |
+
lastWeek: '[Fattlo] dddd[,] LT',
|
65 |
+
sameElse: 'L',
|
66 |
+
},
|
67 |
+
relativeTime: {
|
68 |
+
future: '%s',
|
69 |
+
past: '%s adim',
|
70 |
+
s: processRelativeTime,
|
71 |
+
ss: processRelativeTime,
|
72 |
+
m: processRelativeTime,
|
73 |
+
mm: processRelativeTime,
|
74 |
+
h: processRelativeTime,
|
75 |
+
hh: processRelativeTime,
|
76 |
+
d: processRelativeTime,
|
77 |
+
dd: processRelativeTime,
|
78 |
+
M: processRelativeTime,
|
79 |
+
MM: processRelativeTime,
|
80 |
+
y: processRelativeTime,
|
81 |
+
yy: processRelativeTime,
|
82 |
+
},
|
83 |
+
dayOfMonthOrdinalParse: /\d{1,2}(er)/,
|
84 |
+
ordinal: function (number, period) {
|
85 |
+
switch (period) {
|
86 |
+
// the ordinal 'er' only applies to day of the month
|
87 |
+
case 'D':
|
88 |
+
return number + 'er';
|
89 |
+
default:
|
90 |
+
case 'M':
|
91 |
+
case 'Q':
|
92 |
+
case 'DDD':
|
93 |
+
case 'd':
|
94 |
+
case 'w':
|
95 |
+
case 'W':
|
96 |
+
return number;
|
97 |
+
}
|
98 |
+
},
|
99 |
+
week: {
|
100 |
+
dow: 0, // Sunday is the first day of the week
|
101 |
+
doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
|
102 |
+
},
|
103 |
+
meridiemParse: /rati|sokallim|donparam|sanje/,
|
104 |
+
meridiemHour: function (hour, meridiem) {
|
105 |
+
if (hour === 12) {
|
106 |
+
hour = 0;
|
107 |
+
}
|
108 |
+
if (meridiem === 'rati') {
|
109 |
+
return hour < 4 ? hour : hour + 12;
|
110 |
+
} else if (meridiem === 'sokallim') {
|
111 |
+
return hour;
|
112 |
+
} else if (meridiem === 'donparam') {
|
113 |
+
return hour > 12 ? hour : hour + 12;
|
114 |
+
} else if (meridiem === 'sanje') {
|
115 |
+
return hour + 12;
|
116 |
+
}
|
117 |
+
},
|
118 |
+
meridiem: function (hour, minute, isLower) {
|
119 |
+
if (hour < 4) {
|
120 |
+
return 'rati';
|
121 |
+
} else if (hour < 12) {
|
122 |
+
return 'sokallim';
|
123 |
+
} else if (hour < 16) {
|
124 |
+
return 'donparam';
|
125 |
+
} else if (hour < 20) {
|
126 |
+
return 'sanje';
|
127 |
+
} else {
|
128 |
+
return 'rati';
|
129 |
+
}
|
130 |
+
},
|
131 |
+
});
|
132 |
+
|
133 |
+
return gomLatn;
|
134 |
+
|
135 |
+
})));
|
assets/js/moment/locale/gu.js
ADDED
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Gujarati [gu]
|
3 |
+
//! author : Kaushik Thanki : https://github.com/Kaushik1987
|
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 |
+
|
39 |
+
var gu = moment.defineLocale('gu', {
|
40 |
+
months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split(
|
41 |
+
'_'
|
42 |
+
),
|
43 |
+
monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split(
|
44 |
+
'_'
|
45 |
+
),
|
46 |
+
monthsParseExact: true,
|
47 |
+
weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split(
|
48 |
+
'_'
|
49 |
+
),
|
50 |
+
weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),
|
51 |
+
weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),
|
52 |
+
longDateFormat: {
|
53 |
+
LT: 'A h:mm વાગ્યે',
|
54 |
+
LTS: 'A h:mm:ss વાગ્યે',
|
55 |
+
L: 'DD/MM/YYYY',
|
56 |
+
LL: 'D MMMM YYYY',
|
57 |
+
LLL: 'D MMMM YYYY, A h:mm વાગ્યે',
|
58 |
+
LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે',
|
59 |
+
},
|
60 |
+
calendar: {
|
61 |
+
sameDay: '[આજ] LT',
|
62 |
+
nextDay: '[કાલે] LT',
|
63 |
+
nextWeek: 'dddd, LT',
|
64 |
+
lastDay: '[ગઇકાલે] LT',
|
65 |
+
lastWeek: '[પાછલા] dddd, LT',
|
66 |
+
sameElse: 'L',
|
67 |
+
},
|
68 |
+
relativeTime: {
|
69 |
+
future: '%s મા',
|
70 |
+
past: '%s પહેલા',
|
71 |
+
s: 'અમુક પળો',
|
72 |
+
ss: '%d સેકંડ',
|
73 |
+
m: 'એક મિનિટ',
|
74 |
+
mm: '%d મિનિટ',
|
75 |
+
h: 'એક કલાક',
|
76 |
+
hh: '%d કલાક',
|
77 |
+
d: 'એક દિવસ',
|
78 |
+
dd: '%d દિવસ',
|
79 |
+
M: 'એક મહિનો',
|
80 |
+
MM: '%d મહિનો',
|
81 |
+
y: 'એક વર્ષ',
|
82 |
+
yy: '%d વર્ષ',
|
83 |
+
},
|
84 |
+
preparse: function (string) {
|
85 |
+
return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {
|
86 |
+
return numberMap[match];
|
87 |
+
});
|
88 |
+
},
|
89 |
+
postformat: function (string) {
|
90 |
+
return string.replace(/\d/g, function (match) {
|
91 |
+
return symbolMap[match];
|
92 |
+
});
|
93 |
+
},
|
94 |
+
// Gujarati notation for meridiems are quite fuzzy in practice. While there exists
|
95 |
+
// a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.
|
96 |
+
meridiemParse: /રાત|બપોર|સવાર|સાંજ/,
|
97 |
+
meridiemHour: function (hour, meridiem) {
|
98 |
+
if (hour === 12) {
|
99 |
+
hour = 0;
|
100 |
+
}
|
101 |
+
if (meridiem === 'રાત') {
|
102 |
+
return hour < 4 ? hour : hour + 12;
|
103 |
+
} else if (meridiem === 'સવાર') {
|
104 |
+
return hour;
|
105 |
+
} else if (meridiem === 'બપોર') {
|
106 |
+
return hour >= 10 ? hour : hour + 12;
|
107 |
+
} else if (meridiem === 'સાંજ') {
|
108 |
+
return hour + 12;
|
109 |
+
}
|
110 |
+
},
|
111 |
+
meridiem: function (hour, minute, isLower) {
|
112 |
+
if (hour < 4) {
|
113 |
+
return 'રાત';
|
114 |
+
} else if (hour < 10) {
|
115 |
+
return 'સવાર';
|
116 |
+
} else if (hour < 17) {
|
117 |
+
return 'બપોર';
|
118 |
+
} else if (hour < 20) {
|
119 |
+
return 'સાંજ';
|
120 |
+
} else {
|
121 |
+
return 'રાત';
|
122 |
+
}
|
123 |
+
},
|
124 |
+
week: {
|
125 |
+
dow: 0, // Sunday is the first day of the week.
|
126 |
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
127 |
+
},
|
128 |
+
});
|
129 |
+
|
130 |
+
return gu;
|
131 |
+
|
132 |
+
})));
|
assets/js/moment/locale/he.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Hebrew
|
3 |
//! author : Tomer Cohen : https://github.com/tomer
|
4 |
//! author : Moshe Simantov : https://github.com/DevelopmentIL
|
5 |
//! author : Tal Ater : https://github.com/TalAter
|
@@ -7,76 +7,99 @@
|
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
-
}(this, function (moment) { 'use strict';
|
13 |
|
|
|
14 |
|
15 |
var he = moment.defineLocale('he', {
|
16 |
-
months
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
|
|
|
|
32 |
},
|
33 |
-
calendar
|
34 |
-
sameDay
|
35 |
-
nextDay
|
36 |
-
nextWeek
|
37 |
-
lastDay
|
38 |
-
lastWeek
|
39 |
-
sameElse
|
40 |
},
|
41 |
-
relativeTime
|
42 |
-
future
|
43 |
-
past
|
44 |
-
s
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
49 |
if (number === 2) {
|
50 |
return 'שעתיים';
|
51 |
}
|
52 |
return number + ' שעות';
|
53 |
},
|
54 |
-
d
|
55 |
-
dd
|
56 |
if (number === 2) {
|
57 |
return 'יומיים';
|
58 |
}
|
59 |
return number + ' ימים';
|
60 |
},
|
61 |
-
M
|
62 |
-
MM
|
63 |
if (number === 2) {
|
64 |
return 'חודשיים';
|
65 |
}
|
66 |
return number + ' חודשים';
|
67 |
},
|
68 |
-
y
|
69 |
-
yy
|
70 |
if (number === 2) {
|
71 |
return 'שנתיים';
|
72 |
} else if (number % 10 === 0 && number !== 10) {
|
73 |
return number + ' שנה';
|
74 |
}
|
75 |
return number + ' שנים';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
}
|
77 |
-
}
|
78 |
});
|
79 |
|
80 |
return he;
|
81 |
|
82 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Hebrew [he]
|
3 |
//! author : Tomer Cohen : https://github.com/tomer
|
4 |
//! author : Moshe Simantov : https://github.com/DevelopmentIL
|
5 |
//! author : Tal Ater : https://github.com/TalAter
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
+
}(this, (function (moment) { 'use strict';
|
13 |
|
14 |
+
//! moment.js locale configuration
|
15 |
|
16 |
var he = moment.defineLocale('he', {
|
17 |
+
months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(
|
18 |
+
'_'
|
19 |
+
),
|
20 |
+
monthsShort: 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split(
|
21 |
+
'_'
|
22 |
+
),
|
23 |
+
weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
|
24 |
+
weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
|
25 |
+
weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),
|
26 |
+
longDateFormat: {
|
27 |
+
LT: 'HH:mm',
|
28 |
+
LTS: 'HH:mm:ss',
|
29 |
+
L: 'DD/MM/YYYY',
|
30 |
+
LL: 'D [ב]MMMM YYYY',
|
31 |
+
LLL: 'D [ב]MMMM YYYY HH:mm',
|
32 |
+
LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
|
33 |
+
l: 'D/M/YYYY',
|
34 |
+
ll: 'D MMM YYYY',
|
35 |
+
lll: 'D MMM YYYY HH:mm',
|
36 |
+
llll: 'ddd, D MMM YYYY HH:mm',
|
37 |
},
|
38 |
+
calendar: {
|
39 |
+
sameDay: '[היום ב־]LT',
|
40 |
+
nextDay: '[מחר ב־]LT',
|
41 |
+
nextWeek: 'dddd [בשעה] LT',
|
42 |
+
lastDay: '[אתמול ב־]LT',
|
43 |
+
lastWeek: '[ביום] dddd [האחרון בשעה] LT',
|
44 |
+
sameElse: 'L',
|
45 |
},
|
46 |
+
relativeTime: {
|
47 |
+
future: 'בעוד %s',
|
48 |
+
past: 'לפני %s',
|
49 |
+
s: 'מספר שניות',
|
50 |
+
ss: '%d שניות',
|
51 |
+
m: 'דקה',
|
52 |
+
mm: '%d דקות',
|
53 |
+
h: 'שעה',
|
54 |
+
hh: function (number) {
|
55 |
if (number === 2) {
|
56 |
return 'שעתיים';
|
57 |
}
|
58 |
return number + ' שעות';
|
59 |
},
|
60 |
+
d: 'יום',
|
61 |
+
dd: function (number) {
|
62 |
if (number === 2) {
|
63 |
return 'יומיים';
|
64 |
}
|
65 |
return number + ' ימים';
|
66 |
},
|
67 |
+
M: 'חודש',
|
68 |
+
MM: function (number) {
|
69 |
if (number === 2) {
|
70 |
return 'חודשיים';
|
71 |
}
|
72 |
return number + ' חודשים';
|
73 |
},
|
74 |
+
y: 'שנה',
|
75 |
+
yy: function (number) {
|
76 |
if (number === 2) {
|
77 |
return 'שנתיים';
|
78 |
} else if (number % 10 === 0 && number !== 10) {
|
79 |
return number + ' שנה';
|
80 |
}
|
81 |
return number + ' שנים';
|
82 |
+
},
|
83 |
+
},
|
84 |
+
meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
|
85 |
+
isPM: function (input) {
|
86 |
+
return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
|
87 |
+
},
|
88 |
+
meridiem: function (hour, minute, isLower) {
|
89 |
+
if (hour < 5) {
|
90 |
+
return 'לפנות בוקר';
|
91 |
+
} else if (hour < 10) {
|
92 |
+
return 'בבוקר';
|
93 |
+
} else if (hour < 12) {
|
94 |
+
return isLower ? 'לפנה"צ' : 'לפני הצהריים';
|
95 |
+
} else if (hour < 18) {
|
96 |
+
return isLower ? 'אחה"צ' : 'אחרי הצהריים';
|
97 |
+
} else {
|
98 |
+
return 'בערב';
|
99 |
}
|
100 |
+
},
|
101 |
});
|
102 |
|
103 |
return he;
|
104 |
|
105 |
+
})));
|
assets/js/moment/locale/hi.js
CHANGED
@@ -1,76 +1,128 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
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 |
|
13 |
var symbolMap = {
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
var hi = moment.defineLocale('hi', {
|
39 |
-
months
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
},
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
},
|
60 |
-
relativeTime
|
61 |
-
future
|
62 |
-
past
|
63 |
-
s
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
|
|
74 |
},
|
75 |
preparse: function (string) {
|
76 |
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
@@ -85,7 +137,7 @@
|
|
85 |
// Hindi notation for meridiems are quite fuzzy in practice. While there exists
|
86 |
// a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
|
87 |
meridiemParse: /रात|सुबह|दोपहर|शाम/,
|
88 |
-
meridiemHour
|
89 |
if (hour === 12) {
|
90 |
hour = 0;
|
91 |
}
|
@@ -99,7 +151,7 @@
|
|
99 |
return hour + 12;
|
100 |
}
|
101 |
},
|
102 |
-
meridiem
|
103 |
if (hour < 4) {
|
104 |
return 'रात';
|
105 |
} else if (hour < 10) {
|
@@ -112,12 +164,12 @@
|
|
112 |
return 'रात';
|
113 |
}
|
114 |
},
|
115 |
-
week
|
116 |
-
dow
|
117 |
-
doy
|
118 |
-
}
|
119 |
});
|
120 |
|
121 |
return hi;
|
122 |
|
123 |
-
}));
|
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: 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split(
|
73 |
+
'_'
|
74 |
+
),
|
75 |
+
},
|
76 |
+
monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split(
|
77 |
+
'_'
|
78 |
+
),
|
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: /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
|
96 |
+
|
97 |
+
monthsShortRegex: /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
|
98 |
+
|
99 |
+
monthsStrictRegex: /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,
|
100 |
+
|
101 |
+
monthsShortStrictRegex: /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,
|
102 |
+
|
103 |
+
calendar: {
|
104 |
+
sameDay: '[आज] LT',
|
105 |
+
nextDay: '[कल] LT',
|
106 |
+
nextWeek: 'dddd, LT',
|
107 |
+
lastDay: '[कल] LT',
|
108 |
+
lastWeek: '[पिछले] dddd, LT',
|
109 |
+
sameElse: 'L',
|
110 |
},
|
111 |
+
relativeTime: {
|
112 |
+
future: '%s में',
|
113 |
+
past: '%s पहले',
|
114 |
+
s: 'कुछ ही क्षण',
|
115 |
+
ss: '%d सेकंड',
|
116 |
+
m: 'एक मिनट',
|
117 |
+
mm: '%d मिनट',
|
118 |
+
h: 'एक घंटा',
|
119 |
+
hh: '%d घंटे',
|
120 |
+
d: 'एक दिन',
|
121 |
+
dd: '%d दिन',
|
122 |
+
M: 'एक महीने',
|
123 |
+
MM: '%d महीने',
|
124 |
+
y: 'एक वर्ष',
|
125 |
+
yy: '%d वर्ष',
|
126 |
},
|
127 |
preparse: function (string) {
|
128 |
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
137 |
// Hindi notation for meridiems are quite fuzzy in practice. While there exists
|
138 |
// a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
|
139 |
meridiemParse: /रात|सुबह|दोपहर|शाम/,
|
140 |
+
meridiemHour: function (hour, meridiem) {
|
141 |
if (hour === 12) {
|
142 |
hour = 0;
|
143 |
}
|
151 |
return hour + 12;
|
152 |
}
|
153 |
},
|
154 |
+
meridiem: function (hour, minute, isLower) {
|
155 |
if (hour < 4) {
|
156 |
return 'रात';
|
157 |
} else if (hour < 10) {
|
164 |
return 'रात';
|
165 |
}
|
166 |
},
|
167 |
+
week: {
|
168 |
+
dow: 0, // Sunday is the first day of the week.
|
169 |
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
170 |
+
},
|
171 |
});
|
172 |
|
173 |
return hi;
|
174 |
|
175 |
+
})));
|
assets/js/moment/locale/hr.js
CHANGED
@@ -1,143 +1,165 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
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 |
|
13 |
function translate(number, withoutSuffix, key) {
|
14 |
var result = number + ' ';
|
15 |
switch (key) {
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
result
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
result
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
}
|
64 |
}
|
65 |
|
66 |
var hr = moment.defineLocale('hr', {
|
67 |
-
months
|
68 |
-
format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split(
|
69 |
-
|
|
|
|
|
|
|
|
|
70 |
},
|
71 |
-
monthsShort
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
},
|
83 |
-
calendar
|
84 |
-
sameDay
|
85 |
-
nextDay
|
86 |
-
nextWeek
|
87 |
switch (this.day()) {
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
}
|
100 |
},
|
101 |
-
lastDay
|
102 |
-
lastWeek
|
103 |
switch (this.day()) {
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
|
|
114 |
}
|
115 |
},
|
116 |
-
sameElse
|
117 |
},
|
118 |
-
relativeTime
|
119 |
-
future
|
120 |
-
past
|
121 |
-
s
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
},
|
133 |
-
ordinalParse: /\d{1,2}\./,
|
134 |
-
ordinal : '%d.',
|
135 |
-
week : {
|
136 |
-
dow : 1, // Monday is the first day of the week.
|
137 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
138 |
-
}
|
139 |
});
|
140 |
|
141 |
return hr;
|
142 |
|
143 |
-
}));
|
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: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split(
|
82 |
+
'_'
|
83 |
+
),
|
84 |
},
|
85 |
+
monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split(
|
86 |
+
'_'
|
87 |
+
),
|
88 |
+
monthsParseExact: true,
|
89 |
+
weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
|
90 |
+
'_'
|
91 |
+
),
|
92 |
+
weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
|
93 |
+
weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
|
94 |
+
weekdaysParseExact: true,
|
95 |
+
longDateFormat: {
|
96 |
+
LT: 'H:mm',
|
97 |
+
LTS: 'H:mm:ss',
|
98 |
+
L: 'DD.MM.YYYY',
|
99 |
+
LL: 'Do MMMM YYYY',
|
100 |
+
LLL: 'Do MMMM YYYY H:mm',
|
101 |
+
LLLL: 'dddd, Do MMMM YYYY H:mm',
|
102 |
},
|
103 |
+
calendar: {
|
104 |
+
sameDay: '[danas u] LT',
|
105 |
+
nextDay: '[sutra u] LT',
|
106 |
+
nextWeek: function () {
|
107 |
switch (this.day()) {
|
108 |
+
case 0:
|
109 |
+
return '[u] [nedjelju] [u] LT';
|
110 |
+
case 3:
|
111 |
+
return '[u] [srijedu] [u] LT';
|
112 |
+
case 6:
|
113 |
+
return '[u] [subotu] [u] LT';
|
114 |
+
case 1:
|
115 |
+
case 2:
|
116 |
+
case 4:
|
117 |
+
case 5:
|
118 |
+
return '[u] dddd [u] LT';
|
119 |
}
|
120 |
},
|
121 |
+
lastDay: '[jučer u] LT',
|
122 |
+
lastWeek: function () {
|
123 |
switch (this.day()) {
|
124 |
+
case 0:
|
125 |
+
return '[prošlu] [nedjelju] [u] LT';
|
126 |
+
case 3:
|
127 |
+
return '[prošlu] [srijedu] [u] LT';
|
128 |
+
case 6:
|
129 |
+
return '[prošle] [subote] [u] LT';
|
130 |
+
case 1:
|
131 |
+
case 2:
|
132 |
+
case 4:
|
133 |
+
case 5:
|
134 |
+
return '[prošli] dddd [u] LT';
|
135 |
}
|
136 |
},
|
137 |
+
sameElse: 'L',
|
138 |
},
|
139 |
+
relativeTime: {
|
140 |
+
future: 'za %s',
|
141 |
+
past: 'prije %s',
|
142 |
+
s: 'par sekundi',
|
143 |
+
ss: translate,
|
144 |
+
m: translate,
|
145 |
+
mm: translate,
|
146 |
+
h: translate,
|
147 |
+
hh: translate,
|
148 |
+
d: 'dan',
|
149 |
+
dd: translate,
|
150 |
+
M: 'mjesec',
|
151 |
+
MM: translate,
|
152 |
+
y: 'godinu',
|
153 |
+
yy: translate,
|
154 |
+
},
|
155 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
156 |
+
ordinal: '%d.',
|
157 |
+
week: {
|
158 |
+
dow: 1, // Monday is the first day of the week.
|
159 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
160 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
});
|
162 |
|
163 |
return hr;
|
164 |
|
165 |
+
})));
|
assets/js/moment/locale/hu.js
CHANGED
@@ -1,109 +1,129 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Adam Brunner : https://github.com/adambrunner
|
|
|
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 |
|
13 |
-
var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(
|
|
|
|
|
14 |
function translate(number, withoutSuffix, key, isFuture) {
|
15 |
-
var num = number
|
16 |
-
suffix;
|
17 |
switch (key) {
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
}
|
41 |
return '';
|
42 |
}
|
43 |
function week(isFuture) {
|
44 |
-
return (
|
|
|
|
|
|
|
|
|
|
|
45 |
}
|
46 |
|
47 |
var hu = moment.defineLocale('hu', {
|
48 |
-
months
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
|
|
|
|
|
|
|
|
|
|
60 |
},
|
61 |
meridiemParse: /de|du/i,
|
62 |
isPM: function (input) {
|
63 |
return input.charAt(1).toLowerCase() === 'u';
|
64 |
},
|
65 |
-
meridiem
|
66 |
if (hours < 12) {
|
67 |
return isLower === true ? 'de' : 'DE';
|
68 |
} else {
|
69 |
return isLower === true ? 'du' : 'DU';
|
70 |
}
|
71 |
},
|
72 |
-
calendar
|
73 |
-
sameDay
|
74 |
-
nextDay
|
75 |
-
nextWeek
|
76 |
return week.call(this, true);
|
77 |
},
|
78 |
-
lastDay
|
79 |
-
lastWeek
|
80 |
return week.call(this, false);
|
81 |
},
|
82 |
-
sameElse
|
83 |
},
|
84 |
-
relativeTime
|
85 |
-
future
|
86 |
-
past
|
87 |
-
s
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
},
|
99 |
-
ordinalParse: /\d{1,2}\./,
|
100 |
-
ordinal : '%d.',
|
101 |
-
week : {
|
102 |
-
dow : 1, // Monday is the first day of the week.
|
103 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
104 |
-
}
|
105 |
});
|
106 |
|
107 |
return hu;
|
108 |
|
109 |
-
}));
|
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 = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(
|
16 |
+
' '
|
17 |
+
);
|
18 |
function translate(number, withoutSuffix, key, isFuture) {
|
19 |
+
var num = number;
|
|
|
20 |
switch (key) {
|
21 |
+
case 's':
|
22 |
+
return isFuture || withoutSuffix
|
23 |
+
? 'néhány másodperc'
|
24 |
+
: 'néhány másodperce';
|
25 |
+
case 'ss':
|
26 |
+
return num + (isFuture || withoutSuffix)
|
27 |
+
? ' másodperc'
|
28 |
+
: ' másodperce';
|
29 |
+
case 'm':
|
30 |
+
return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
|
31 |
+
case 'mm':
|
32 |
+
return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
|
33 |
+
case 'h':
|
34 |
+
return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
|
35 |
+
case 'hh':
|
36 |
+
return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
|
37 |
+
case 'd':
|
38 |
+
return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
|
39 |
+
case 'dd':
|
40 |
+
return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
|
41 |
+
case 'M':
|
42 |
+
return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
|
43 |
+
case 'MM':
|
44 |
+
return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
|
45 |
+
case 'y':
|
46 |
+
return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
|
47 |
+
case 'yy':
|
48 |
+
return num + (isFuture || withoutSuffix ? ' év' : ' éve');
|
49 |
}
|
50 |
return '';
|
51 |
}
|
52 |
function week(isFuture) {
|
53 |
+
return (
|
54 |
+
(isFuture ? '' : '[múlt] ') +
|
55 |
+
'[' +
|
56 |
+
weekEndings[this.day()] +
|
57 |
+
'] LT[-kor]'
|
58 |
+
);
|
59 |
}
|
60 |
|
61 |
var hu = moment.defineLocale('hu', {
|
62 |
+
months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split(
|
63 |
+
'_'
|
64 |
+
),
|
65 |
+
monthsShort: '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 |
+
})));
|
assets/js/moment/locale/hy-am.js
CHANGED
@@ -1,33 +1,40 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Armenian
|
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 |
|
13 |
-
var
|
14 |
-
months
|
15 |
-
format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split(
|
16 |
-
|
|
|
|
|
|
|
|
|
17 |
},
|
18 |
-
monthsShort
|
19 |
-
weekdays
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
29 |
},
|
30 |
-
calendar
|
31 |
sameDay: '[այսօր] LT',
|
32 |
nextDay: '[վաղը] LT',
|
33 |
lastDay: '[երեկ] LT',
|
@@ -37,28 +44,29 @@
|
|
37 |
lastWeek: function () {
|
38 |
return '[անցած] dddd [օրը ժամը] LT';
|
39 |
},
|
40 |
-
sameElse: 'L'
|
41 |
},
|
42 |
-
relativeTime
|
43 |
-
future
|
44 |
-
past
|
45 |
-
s
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
56 |
},
|
57 |
meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
|
58 |
isPM: function (input) {
|
59 |
return /^(ցերեկվա|երեկոյան)$/.test(input);
|
60 |
},
|
61 |
-
meridiem
|
62 |
if (hour < 4) {
|
63 |
return 'գիշերվա';
|
64 |
} else if (hour < 12) {
|
@@ -69,27 +77,27 @@
|
|
69 |
return 'երեկոյան';
|
70 |
}
|
71 |
},
|
72 |
-
|
73 |
ordinal: function (number, period) {
|
74 |
switch (period) {
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
}
|
86 |
},
|
87 |
-
week
|
88 |
-
dow
|
89 |
-
doy
|
90 |
-
}
|
91 |
});
|
92 |
|
93 |
-
return
|
94 |
|
95 |
-
}));
|
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: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
},
|
23 |
+
monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
|
24 |
+
weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split(
|
25 |
+
'_'
|
26 |
+
),
|
27 |
+
weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
|
28 |
+
weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
|
29 |
+
longDateFormat: {
|
30 |
+
LT: 'HH:mm',
|
31 |
+
LTS: 'HH:mm:ss',
|
32 |
+
L: 'DD.MM.YYYY',
|
33 |
+
LL: 'D MMMM YYYY թ.',
|
34 |
+
LLL: 'D MMMM YYYY թ., HH:mm',
|
35 |
+
LLLL: 'dddd, D MMMM YYYY թ., HH:mm',
|
36 |
},
|
37 |
+
calendar: {
|
38 |
sameDay: '[այսօր] LT',
|
39 |
nextDay: '[վաղը] LT',
|
40 |
lastDay: '[երեկ] LT',
|
44 |
lastWeek: function () {
|
45 |
return '[անցած] dddd [օրը ժամը] LT';
|
46 |
},
|
47 |
+
sameElse: 'L',
|
48 |
},
|
49 |
+
relativeTime: {
|
50 |
+
future: '%s հետո',
|
51 |
+
past: '%s առաջ',
|
52 |
+
s: 'մի քանի վայրկյան',
|
53 |
+
ss: '%d վայրկյան',
|
54 |
+
m: 'րոպե',
|
55 |
+
mm: '%d րոպե',
|
56 |
+
h: 'ժամ',
|
57 |
+
hh: '%d ժամ',
|
58 |
+
d: 'օր',
|
59 |
+
dd: '%d օր',
|
60 |
+
M: 'ամիս',
|
61 |
+
MM: '%d ամիս',
|
62 |
+
y: 'տարի',
|
63 |
+
yy: '%d տարի',
|
64 |
},
|
65 |
meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
|
66 |
isPM: function (input) {
|
67 |
return /^(ցերեկվա|երեկոյան)$/.test(input);
|
68 |
},
|
69 |
+
meridiem: function (hour) {
|
70 |
if (hour < 4) {
|
71 |
return 'գիշերվա';
|
72 |
} else if (hour < 12) {
|
77 |
return 'երեկոյան';
|
78 |
}
|
79 |
},
|
80 |
+
dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
|
81 |
ordinal: function (number, period) {
|
82 |
switch (period) {
|
83 |
+
case 'DDD':
|
84 |
+
case 'w':
|
85 |
+
case 'W':
|
86 |
+
case 'DDDo':
|
87 |
+
if (number === 1) {
|
88 |
+
return number + '-ին';
|
89 |
+
}
|
90 |
+
return number + '-րդ';
|
91 |
+
default:
|
92 |
+
return number;
|
93 |
}
|
94 |
},
|
95 |
+
week: {
|
96 |
+
dow: 1, // Monday is the first day of the week.
|
97 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
98 |
+
},
|
99 |
});
|
100 |
|
101 |
+
return hyAm;
|
102 |
|
103 |
+
})));
|
assets/js/moment/locale/id.js
CHANGED
@@ -1,32 +1,35 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
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 |
|
14 |
var id = moment.defineLocale('id', {
|
15 |
-
months
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
27 |
},
|
28 |
meridiemParse: /pagi|siang|sore|malam/,
|
29 |
-
meridiemHour
|
30 |
if (hour === 12) {
|
31 |
hour = 0;
|
32 |
}
|
@@ -38,7 +41,7 @@
|
|
38 |
return hour + 12;
|
39 |
}
|
40 |
},
|
41 |
-
meridiem
|
42 |
if (hours < 11) {
|
43 |
return 'pagi';
|
44 |
} else if (hours < 15) {
|
@@ -49,35 +52,36 @@
|
|
49 |
return 'malam';
|
50 |
}
|
51 |
},
|
52 |
-
calendar
|
53 |
-
sameDay
|
54 |
-
nextDay
|
55 |
-
nextWeek
|
56 |
-
lastDay
|
57 |
-
lastWeek
|
58 |
-
sameElse
|
59 |
},
|
60 |
-
relativeTime
|
61 |
-
future
|
62 |
-
past
|
63 |
-
s
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
|
|
|
|
|
|
|
|
|
|
74 |
},
|
75 |
-
week : {
|
76 |
-
dow : 1, // Monday is the first day of the week.
|
77 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
78 |
-
}
|
79 |
});
|
80 |
|
81 |
return id;
|
82 |
|
83 |
-
}));
|
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 |
}
|
41 |
return hour + 12;
|
42 |
}
|
43 |
},
|
44 |
+
meridiem: function (hours, minutes, isLower) {
|
45 |
if (hours < 11) {
|
46 |
return 'pagi';
|
47 |
} else if (hours < 15) {
|
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 |
+
})));
|
assets/js/moment/locale/is.js
CHANGED
@@ -1,14 +1,15 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
|
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 |
|
13 |
function plural(n) {
|
14 |
if (n % 100 === 11) {
|
@@ -21,107 +22,129 @@
|
|
21 |
function translate(number, withoutSuffix, key, isFuture) {
|
22 |
var result = number + ' ';
|
23 |
switch (key) {
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
return
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
if (withoutSuffix) {
|
48 |
-
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
}
|
50 |
-
return result + (isFuture ? '
|
51 |
-
|
52 |
-
return result + 'dagur';
|
53 |
-
}
|
54 |
-
return result + (isFuture ? 'dag' : 'degi');
|
55 |
-
case 'M':
|
56 |
-
if (withoutSuffix) {
|
57 |
-
return 'mánuður';
|
58 |
-
}
|
59 |
-
return isFuture ? 'mánuð' : 'mánuði';
|
60 |
-
case 'MM':
|
61 |
-
if (plural(number)) {
|
62 |
if (withoutSuffix) {
|
63 |
-
return
|
64 |
}
|
65 |
-
return
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
}
|
78 |
}
|
79 |
|
80 |
var is = moment.defineLocale('is', {
|
81 |
-
months
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
|
|
|
|
|
|
|
|
93 |
},
|
94 |
-
calendar
|
95 |
-
sameDay
|
96 |
-
nextDay
|
97 |
-
nextWeek
|
98 |
-
lastDay
|
99 |
-
lastWeek
|
100 |
-
sameElse
|
101 |
},
|
102 |
-
relativeTime
|
103 |
-
future
|
104 |
-
past
|
105 |
-
s
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
},
|
117 |
-
ordinalParse: /\d{1,2}\./,
|
118 |
-
ordinal : '%d.',
|
119 |
-
week : {
|
120 |
-
dow : 1, // Monday is the first day of the week.
|
121 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
122 |
-
}
|
123 |
});
|
124 |
|
125 |
return is;
|
126 |
|
127 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Icelandic [is]
|
3 |
//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
|
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 plural(n) {
|
15 |
if (n % 100 === 11) {
|
22 |
function translate(number, withoutSuffix, key, isFuture) {
|
23 |
var result = number + ' ';
|
24 |
switch (key) {
|
25 |
+
case 's':
|
26 |
+
return withoutSuffix || isFuture
|
27 |
+
? 'nokkrar sekúndur'
|
28 |
+
: 'nokkrum sekúndum';
|
29 |
+
case 'ss':
|
30 |
+
if (plural(number)) {
|
31 |
+
return (
|
32 |
+
result +
|
33 |
+
(withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum')
|
34 |
+
);
|
35 |
+
}
|
36 |
+
return result + 'sekúnda';
|
37 |
+
case 'm':
|
38 |
+
return withoutSuffix ? 'mínúta' : 'mínútu';
|
39 |
+
case 'mm':
|
40 |
+
if (plural(number)) {
|
41 |
+
return (
|
42 |
+
result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum')
|
43 |
+
);
|
44 |
+
} else if (withoutSuffix) {
|
45 |
+
return result + 'mínúta';
|
46 |
+
}
|
47 |
+
return result + 'mínútu';
|
48 |
+
case 'hh':
|
49 |
+
if (plural(number)) {
|
50 |
+
return (
|
51 |
+
result +
|
52 |
+
(withoutSuffix || isFuture
|
53 |
+
? 'klukkustundir'
|
54 |
+
: 'klukkustundum')
|
55 |
+
);
|
56 |
+
}
|
57 |
+
return result + 'klukkustund';
|
58 |
+
case 'd':
|
59 |
if (withoutSuffix) {
|
60 |
+
return 'dagur';
|
61 |
+
}
|
62 |
+
return isFuture ? 'dag' : 'degi';
|
63 |
+
case 'dd':
|
64 |
+
if (plural(number)) {
|
65 |
+
if (withoutSuffix) {
|
66 |
+
return result + 'dagar';
|
67 |
+
}
|
68 |
+
return result + (isFuture ? 'daga' : 'dögum');
|
69 |
+
} else if (withoutSuffix) {
|
70 |
+
return result + 'dagur';
|
71 |
}
|
72 |
+
return result + (isFuture ? 'dag' : 'degi');
|
73 |
+
case 'M':
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
if (withoutSuffix) {
|
75 |
+
return 'mánuður';
|
76 |
}
|
77 |
+
return isFuture ? 'mánuð' : 'mánuði';
|
78 |
+
case 'MM':
|
79 |
+
if (plural(number)) {
|
80 |
+
if (withoutSuffix) {
|
81 |
+
return result + 'mánuðir';
|
82 |
+
}
|
83 |
+
return result + (isFuture ? 'mánuði' : 'mánuðum');
|
84 |
+
} else if (withoutSuffix) {
|
85 |
+
return result + 'mánuður';
|
86 |
+
}
|
87 |
+
return result + (isFuture ? 'mánuð' : 'mánuði');
|
88 |
+
case 'y':
|
89 |
+
return withoutSuffix || isFuture ? 'ár' : 'ári';
|
90 |
+
case 'yy':
|
91 |
+
if (plural(number)) {
|
92 |
+
return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
|
93 |
+
}
|
94 |
+
return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
|
95 |
}
|
96 |
}
|
97 |
|
98 |
var is = moment.defineLocale('is', {
|
99 |
+
months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split(
|
100 |
+
'_'
|
101 |
+
),
|
102 |
+
monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
|
103 |
+
weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split(
|
104 |
+
'_'
|
105 |
+
),
|
106 |
+
weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
|
107 |
+
weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
|
108 |
+
longDateFormat: {
|
109 |
+
LT: 'H:mm',
|
110 |
+
LTS: 'H:mm:ss',
|
111 |
+
L: 'DD.MM.YYYY',
|
112 |
+
LL: 'D. MMMM YYYY',
|
113 |
+
LLL: 'D. MMMM YYYY [kl.] H:mm',
|
114 |
+
LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm',
|
115 |
},
|
116 |
+
calendar: {
|
117 |
+
sameDay: '[í dag kl.] LT',
|
118 |
+
nextDay: '[á morgun kl.] LT',
|
119 |
+
nextWeek: 'dddd [kl.] LT',
|
120 |
+
lastDay: '[í gær kl.] LT',
|
121 |
+
lastWeek: '[síðasta] dddd [kl.] LT',
|
122 |
+
sameElse: 'L',
|
123 |
},
|
124 |
+
relativeTime: {
|
125 |
+
future: 'eftir %s',
|
126 |
+
past: 'fyrir %s síðan',
|
127 |
+
s: translate,
|
128 |
+
ss: translate,
|
129 |
+
m: translate,
|
130 |
+
mm: translate,
|
131 |
+
h: 'klukkustund',
|
132 |
+
hh: translate,
|
133 |
+
d: translate,
|
134 |
+
dd: translate,
|
135 |
+
M: translate,
|
136 |
+
MM: translate,
|
137 |
+
y: translate,
|
138 |
+
yy: translate,
|
139 |
+
},
|
140 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
141 |
+
ordinal: '%d.',
|
142 |
+
week: {
|
143 |
+
dow: 1, // Monday is the first day of the week.
|
144 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
145 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
});
|
147 |
|
148 |
return is;
|
149 |
|
150 |
+
})));
|
assets/js/moment/locale/it-ch.js
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Italian (Switzerland) [it-ch]
|
3 |
+
//! author : xfh : https://github.com/xfh
|
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 itCh = moment.defineLocale('it-ch', {
|
15 |
+
months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
|
19 |
+
weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
|
23 |
+
weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'HH:mm',
|
26 |
+
LTS: 'HH:mm:ss',
|
27 |
+
L: 'DD.MM.YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY HH:mm',
|
30 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
31 |
+
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: '[Oggi alle] LT',
|
34 |
+
nextDay: '[Domani alle] LT',
|
35 |
+
nextWeek: 'dddd [alle] LT',
|
36 |
+
lastDay: '[Ieri alle] LT',
|
37 |
+
lastWeek: function () {
|
38 |
+
switch (this.day()) {
|
39 |
+
case 0:
|
40 |
+
return '[la scorsa] dddd [alle] LT';
|
41 |
+
default:
|
42 |
+
return '[lo scorso] dddd [alle] LT';
|
43 |
+
}
|
44 |
+
},
|
45 |
+
sameElse: 'L',
|
46 |
+
},
|
47 |
+
relativeTime: {
|
48 |
+
future: function (s) {
|
49 |
+
return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;
|
50 |
+
},
|
51 |
+
past: '%s fa',
|
52 |
+
s: 'alcuni secondi',
|
53 |
+
ss: '%d secondi',
|
54 |
+
m: 'un minuto',
|
55 |
+
mm: '%d minuti',
|
56 |
+
h: "un'ora",
|
57 |
+
hh: '%d ore',
|
58 |
+
d: 'un giorno',
|
59 |
+
dd: '%d giorni',
|
60 |
+
M: 'un mese',
|
61 |
+
MM: '%d mesi',
|
62 |
+
y: 'un anno',
|
63 |
+
yy: '%d anni',
|
64 |
+
},
|
65 |
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
66 |
+
ordinal: '%dº',
|
67 |
+
week: {
|
68 |
+
dow: 1, // Monday is the first day of the week.
|
69 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
70 |
+
},
|
71 |
+
});
|
72 |
+
|
73 |
+
return itCh;
|
74 |
+
|
75 |
+
})));
|
assets/js/moment/locale/it.js
CHANGED
@@ -1,70 +1,117 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Lorenzo : https://github.com/aliem
|
4 |
//! author: Mattia Larentis: https://github.com/nostalgiaz
|
|
|
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 |
|
14 |
var it = moment.defineLocale('it', {
|
15 |
-
months
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
27 |
},
|
28 |
-
calendar
|
29 |
-
sameDay:
|
30 |
-
|
31 |
-
|
32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
lastWeek: function () {
|
34 |
switch (this.day()) {
|
35 |
case 0:
|
36 |
-
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
default:
|
38 |
-
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
}
|
40 |
},
|
41 |
-
sameElse: 'L'
|
42 |
},
|
43 |
-
relativeTime
|
44 |
-
future
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
|
|
59 |
},
|
60 |
-
|
61 |
ordinal: '%dº',
|
62 |
-
week
|
63 |
-
dow
|
64 |
-
doy
|
65 |
-
}
|
66 |
});
|
67 |
|
68 |
return it;
|
69 |
|
70 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Italian [it]
|
3 |
//! author : Lorenzo : https://github.com/aliem
|
4 |
//! author: Mattia Larentis: https://github.com/nostalgiaz
|
5 |
+
//! author: Marco : https://github.com/Manfre98
|
6 |
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
+
}(this, (function (moment) { 'use strict';
|
13 |
|
14 |
+
//! moment.js locale configuration
|
15 |
|
16 |
var it = moment.defineLocale('it', {
|
17 |
+
months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
|
18 |
+
'_'
|
19 |
+
),
|
20 |
+
monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
|
21 |
+
weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
|
22 |
+
'_'
|
23 |
+
),
|
24 |
+
weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
|
25 |
+
weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
|
26 |
+
longDateFormat: {
|
27 |
+
LT: 'HH:mm',
|
28 |
+
LTS: 'HH:mm:ss',
|
29 |
+
L: 'DD/MM/YYYY',
|
30 |
+
LL: 'D MMMM YYYY',
|
31 |
+
LLL: 'D MMMM YYYY HH:mm',
|
32 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
33 |
},
|
34 |
+
calendar: {
|
35 |
+
sameDay: function () {
|
36 |
+
return (
|
37 |
+
'[Oggi a' +
|
38 |
+
(this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
|
39 |
+
']LT'
|
40 |
+
);
|
41 |
+
},
|
42 |
+
nextDay: function () {
|
43 |
+
return (
|
44 |
+
'[Domani a' +
|
45 |
+
(this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
|
46 |
+
']LT'
|
47 |
+
);
|
48 |
+
},
|
49 |
+
nextWeek: function () {
|
50 |
+
return (
|
51 |
+
'dddd [a' +
|
52 |
+
(this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
|
53 |
+
']LT'
|
54 |
+
);
|
55 |
+
},
|
56 |
+
lastDay: function () {
|
57 |
+
return (
|
58 |
+
'[Ieri a' +
|
59 |
+
(this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
|
60 |
+
']LT'
|
61 |
+
);
|
62 |
+
},
|
63 |
lastWeek: function () {
|
64 |
switch (this.day()) {
|
65 |
case 0:
|
66 |
+
return (
|
67 |
+
'[La scorsa] dddd [a' +
|
68 |
+
(this.hours() > 1
|
69 |
+
? 'lle '
|
70 |
+
: this.hours() === 0
|
71 |
+
? ' '
|
72 |
+
: "ll'") +
|
73 |
+
']LT'
|
74 |
+
);
|
75 |
default:
|
76 |
+
return (
|
77 |
+
'[Lo scorso] dddd [a' +
|
78 |
+
(this.hours() > 1
|
79 |
+
? 'lle '
|
80 |
+
: this.hours() === 0
|
81 |
+
? ' '
|
82 |
+
: "ll'") +
|
83 |
+
']LT'
|
84 |
+
);
|
85 |
}
|
86 |
},
|
87 |
+
sameElse: 'L',
|
88 |
},
|
89 |
+
relativeTime: {
|
90 |
+
future: 'tra %s',
|
91 |
+
past: '%s fa',
|
92 |
+
s: 'alcuni secondi',
|
93 |
+
ss: '%d secondi',
|
94 |
+
m: 'un minuto',
|
95 |
+
mm: '%d minuti',
|
96 |
+
h: "un'ora",
|
97 |
+
hh: '%d ore',
|
98 |
+
d: 'un giorno',
|
99 |
+
dd: '%d giorni',
|
100 |
+
w: 'una settimana',
|
101 |
+
ww: '%d settimane',
|
102 |
+
M: 'un mese',
|
103 |
+
MM: '%d mesi',
|
104 |
+
y: 'un anno',
|
105 |
+
yy: '%d anni',
|
106 |
},
|
107 |
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
108 |
ordinal: '%dº',
|
109 |
+
week: {
|
110 |
+
dow: 1, // Monday is the first day of the week.
|
111 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
112 |
+
},
|
113 |
});
|
114 |
|
115 |
return it;
|
116 |
|
117 |
+
})));
|
assets/js/moment/locale/ja.js
CHANGED
@@ -1,65 +1,159 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : LI Long : https://github.com/baryon
|
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 |
|
13 |
var ja = moment.defineLocale('ja', {
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
meridiemParse: /午前|午後/i,
|
28 |
-
isPM
|
29 |
return input === '午後';
|
30 |
},
|
31 |
-
meridiem
|
32 |
if (hour < 12) {
|
33 |
return '午前';
|
34 |
} else {
|
35 |
return '午後';
|
36 |
}
|
37 |
},
|
38 |
-
calendar
|
39 |
-
sameDay
|
40 |
-
nextDay
|
41 |
-
nextWeek
|
42 |
-
|
43 |
-
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
},
|
46 |
-
relativeTime : {
|
47 |
-
future : '%s後',
|
48 |
-
past : '%s前',
|
49 |
-
s : '数秒',
|
50 |
-
m : '1分',
|
51 |
-
mm : '%d分',
|
52 |
-
h : '1時間',
|
53 |
-
hh : '%d時間',
|
54 |
-
d : '1日',
|
55 |
-
dd : '%d日',
|
56 |
-
M : '1ヶ月',
|
57 |
-
MM : '%dヶ月',
|
58 |
-
y : '1年',
|
59 |
-
yy : '%d年'
|
60 |
-
}
|
61 |
});
|
62 |
|
63 |
return ja;
|
64 |
|
65 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Japanese [ja]
|
3 |
//! author : LI Long : https://github.com/baryon
|
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 ja = moment.defineLocale('ja', {
|
15 |
+
eras: [
|
16 |
+
{
|
17 |
+
since: '2019-05-01',
|
18 |
+
offset: 1,
|
19 |
+
name: '令和',
|
20 |
+
narrow: '㋿',
|
21 |
+
abbr: 'R',
|
22 |
+
},
|
23 |
+
{
|
24 |
+
since: '1989-01-08',
|
25 |
+
until: '2019-04-30',
|
26 |
+
offset: 1,
|
27 |
+
name: '平成',
|
28 |
+
narrow: '㍻',
|
29 |
+
abbr: 'H',
|
30 |
+
},
|
31 |
+
{
|
32 |
+
since: '1926-12-25',
|
33 |
+
until: '1989-01-07',
|
34 |
+
offset: 1,
|
35 |
+
name: '昭和',
|
36 |
+
narrow: '㍼',
|
37 |
+
abbr: 'S',
|
38 |
+
},
|
39 |
+
{
|
40 |
+
since: '1912-07-30',
|
41 |
+
until: '1926-12-24',
|
42 |
+
offset: 1,
|
43 |
+
name: '大正',
|
44 |
+
narrow: '㍽',
|
45 |
+
abbr: 'T',
|
46 |
+
},
|
47 |
+
{
|
48 |
+
since: '1873-01-01',
|
49 |
+
until: '1912-07-29',
|
50 |
+
offset: 6,
|
51 |
+
name: '明治',
|
52 |
+
narrow: '㍾',
|
53 |
+
abbr: 'M',
|
54 |
+
},
|
55 |
+
{
|
56 |
+
since: '0001-01-01',
|
57 |
+
until: '1873-12-31',
|
58 |
+
offset: 1,
|
59 |
+
name: '西暦',
|
60 |
+
narrow: 'AD',
|
61 |
+
abbr: 'AD',
|
62 |
+
},
|
63 |
+
{
|
64 |
+
since: '0000-12-31',
|
65 |
+
until: -Infinity,
|
66 |
+
offset: 1,
|
67 |
+
name: '紀元前',
|
68 |
+
narrow: 'BC',
|
69 |
+
abbr: 'BC',
|
70 |
+
},
|
71 |
+
],
|
72 |
+
eraYearOrdinalRegex: /(元|\d+)年/,
|
73 |
+
eraYearOrdinalParse: function (input, match) {
|
74 |
+
return match[1] === '元' ? 1 : parseInt(match[1] || input, 10);
|
75 |
+
},
|
76 |
+
months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
|
77 |
+
monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
|
78 |
+
'_'
|
79 |
+
),
|
80 |
+
weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
|
81 |
+
weekdaysShort: '日_月_火_水_木_金_土'.split('_'),
|
82 |
+
weekdaysMin: '日_月_火_水_木_金_土'.split('_'),
|
83 |
+
longDateFormat: {
|
84 |
+
LT: 'HH:mm',
|
85 |
+
LTS: 'HH:mm:ss',
|
86 |
+
L: 'YYYY/MM/DD',
|
87 |
+
LL: 'YYYY年M月D日',
|
88 |
+
LLL: 'YYYY年M月D日 HH:mm',
|
89 |
+
LLLL: 'YYYY年M月D日 dddd HH:mm',
|
90 |
+
l: 'YYYY/MM/DD',
|
91 |
+
ll: 'YYYY年M月D日',
|
92 |
+
lll: 'YYYY年M月D日 HH:mm',
|
93 |
+
llll: 'YYYY年M月D日(ddd) HH:mm',
|
94 |
},
|
95 |
meridiemParse: /午前|午後/i,
|
96 |
+
isPM: function (input) {
|
97 |
return input === '午後';
|
98 |
},
|
99 |
+
meridiem: function (hour, minute, isLower) {
|
100 |
if (hour < 12) {
|
101 |
return '午前';
|
102 |
} else {
|
103 |
return '午後';
|
104 |
}
|
105 |
},
|
106 |
+
calendar: {
|
107 |
+
sameDay: '[今日] LT',
|
108 |
+
nextDay: '[明日] LT',
|
109 |
+
nextWeek: function (now) {
|
110 |
+
if (now.week() !== this.week()) {
|
111 |
+
return '[来週]dddd LT';
|
112 |
+
} else {
|
113 |
+
return 'dddd LT';
|
114 |
+
}
|
115 |
+
},
|
116 |
+
lastDay: '[昨日] LT',
|
117 |
+
lastWeek: function (now) {
|
118 |
+
if (this.week() !== now.week()) {
|
119 |
+
return '[先週]dddd LT';
|
120 |
+
} else {
|
121 |
+
return 'dddd LT';
|
122 |
+
}
|
123 |
+
},
|
124 |
+
sameElse: 'L',
|
125 |
+
},
|
126 |
+
dayOfMonthOrdinalParse: /\d{1,2}日/,
|
127 |
+
ordinal: function (number, period) {
|
128 |
+
switch (period) {
|
129 |
+
case 'y':
|
130 |
+
return number === 1 ? '元年' : number + '年';
|
131 |
+
case 'd':
|
132 |
+
case 'D':
|
133 |
+
case 'DDD':
|
134 |
+
return number + '日';
|
135 |
+
default:
|
136 |
+
return number;
|
137 |
+
}
|
138 |
+
},
|
139 |
+
relativeTime: {
|
140 |
+
future: '%s後',
|
141 |
+
past: '%s前',
|
142 |
+
s: '数秒',
|
143 |
+
ss: '%d秒',
|
144 |
+
m: '1分',
|
145 |
+
mm: '%d分',
|
146 |
+
h: '1時間',
|
147 |
+
hh: '%d時間',
|
148 |
+
d: '1日',
|
149 |
+
dd: '%d日',
|
150 |
+
M: '1ヶ月',
|
151 |
+
MM: '%dヶ月',
|
152 |
+
y: '1年',
|
153 |
+
yy: '%d年',
|
154 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
});
|
156 |
|
157 |
return ja;
|
158 |
|
159 |
+
})));
|
assets/js/moment/locale/jv.js
CHANGED
@@ -1,32 +1,35 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Rony Lantip : https://github.com/lantip
|
4 |
//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
|
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 |
|
14 |
var jv = moment.defineLocale('jv', {
|
15 |
-
months
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
27 |
},
|
28 |
meridiemParse: /enjing|siyang|sonten|ndalu/,
|
29 |
-
meridiemHour
|
30 |
if (hour === 12) {
|
31 |
hour = 0;
|
32 |
}
|
@@ -38,7 +41,7 @@
|
|
38 |
return hour + 12;
|
39 |
}
|
40 |
},
|
41 |
-
meridiem
|
42 |
if (hours < 11) {
|
43 |
return 'enjing';
|
44 |
} else if (hours < 15) {
|
@@ -49,35 +52,36 @@
|
|
49 |
return 'ndalu';
|
50 |
}
|
51 |
},
|
52 |
-
calendar
|
53 |
-
sameDay
|
54 |
-
nextDay
|
55 |
-
nextWeek
|
56 |
-
lastDay
|
57 |
-
lastWeek
|
58 |
-
sameElse
|
59 |
},
|
60 |
-
relativeTime
|
61 |
-
future
|
62 |
-
past
|
63 |
-
s
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
|
|
|
|
|
|
|
|
|
|
74 |
},
|
75 |
-
week : {
|
76 |
-
dow : 1, // Monday is the first day of the week.
|
77 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
78 |
-
}
|
79 |
});
|
80 |
|
81 |
return jv;
|
82 |
|
83 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Javanese [jv]
|
3 |
//! author : Rony Lantip : https://github.com/lantip
|
4 |
//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
|
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 jv = moment.defineLocale('jv', {
|
16 |
+
months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split(
|
17 |
+
'_'
|
18 |
+
),
|
19 |
+
monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
|
20 |
+
weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
|
21 |
+
weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
|
22 |
+
weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.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: /enjing|siyang|sonten|ndalu/,
|
32 |
+
meridiemHour: function (hour, meridiem) {
|
33 |
if (hour === 12) {
|
34 |
hour = 0;
|
35 |
}
|
41 |
return hour + 12;
|
42 |
}
|
43 |
},
|
44 |
+
meridiem: function (hours, minutes, isLower) {
|
45 |
if (hours < 11) {
|
46 |
return 'enjing';
|
47 |
} else if (hours < 15) {
|
52 |
return 'ndalu';
|
53 |
}
|
54 |
},
|
55 |
+
calendar: {
|
56 |
+
sameDay: '[Dinten puniko pukul] LT',
|
57 |
+
nextDay: '[Mbenjang pukul] LT',
|
58 |
+
nextWeek: 'dddd [pukul] LT',
|
59 |
+
lastDay: '[Kala wingi pukul] LT',
|
60 |
+
lastWeek: 'dddd [kepengker pukul] LT',
|
61 |
+
sameElse: 'L',
|
62 |
},
|
63 |
+
relativeTime: {
|
64 |
+
future: 'wonten ing %s',
|
65 |
+
past: '%s ingkang kepengker',
|
66 |
+
s: 'sawetawis detik',
|
67 |
+
ss: '%d detik',
|
68 |
+
m: 'setunggal menit',
|
69 |
+
mm: '%d menit',
|
70 |
+
h: 'setunggal jam',
|
71 |
+
hh: '%d jam',
|
72 |
+
d: 'sedinten',
|
73 |
+
dd: '%d dinten',
|
74 |
+
M: 'sewulan',
|
75 |
+
MM: '%d wulan',
|
76 |
+
y: 'setaun',
|
77 |
+
yy: '%d taun',
|
78 |
+
},
|
79 |
+
week: {
|
80 |
+
dow: 1, // Monday is the first day of the week.
|
81 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
82 |
},
|
|
|
|
|
|
|
|
|
83 |
});
|
84 |
|
85 |
return jv;
|
86 |
|
87 |
+
})));
|
assets/js/moment/locale/ka.js
CHANGED
@@ -1,89 +1,103 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Georgian
|
3 |
-
//! author : Irakli Janiashvili : https://github.com/
|
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 |
|
13 |
var ka = moment.defineLocale('ka', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
},
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
|
|
|
|
23 |
},
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
LLL : 'D MMMM YYYY h:mm A',
|
32 |
-
LLLL : 'dddd, D MMMM YYYY h:mm A'
|
33 |
},
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
future : function (s) {
|
44 |
-
return (/(წამი|წუთი|საათი|წელი)/).test(s) ?
|
45 |
-
s.replace(/ი$/, 'ში') :
|
46 |
-
s + 'ში';
|
47 |
},
|
48 |
-
past
|
49 |
-
if (
|
50 |
return s.replace(/(ი|ე)$/, 'ის წინ');
|
51 |
}
|
52 |
-
if (
|
53 |
return s.replace(/წელი$/, 'წლის წინ');
|
54 |
}
|
|
|
55 |
},
|
56 |
-
s
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
|
|
67 |
},
|
68 |
-
|
69 |
-
ordinal
|
70 |
if (number === 0) {
|
71 |
return number;
|
72 |
}
|
73 |
if (number === 1) {
|
74 |
return number + '-ლი';
|
75 |
}
|
76 |
-
if (
|
|
|
|
|
|
|
|
|
77 |
return 'მე-' + number;
|
78 |
}
|
79 |
return number + '-ე';
|
80 |
},
|
81 |
-
week
|
82 |
-
dow
|
83 |
-
doy
|
84 |
-
}
|
85 |
});
|
86 |
|
87 |
return ka;
|
88 |
|
89 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Georgian [ka]
|
3 |
+
//! author : Irakli Janiashvili : https://github.com/IrakliJani
|
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 ka = moment.defineLocale('ka', {
|
15 |
+
months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
|
19 |
+
weekdays: {
|
20 |
+
standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split(
|
21 |
+
'_'
|
22 |
+
),
|
23 |
+
format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split(
|
24 |
+
'_'
|
25 |
+
),
|
26 |
+
isFormat: /(წინა|შემდეგ)/,
|
27 |
},
|
28 |
+
weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
|
29 |
+
weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
|
30 |
+
longDateFormat: {
|
31 |
+
LT: 'HH:mm',
|
32 |
+
LTS: 'HH:mm:ss',
|
33 |
+
L: 'DD/MM/YYYY',
|
34 |
+
LL: 'D MMMM YYYY',
|
35 |
+
LLL: 'D MMMM YYYY HH:mm',
|
36 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
37 |
},
|
38 |
+
calendar: {
|
39 |
+
sameDay: '[დღეს] LT[-ზე]',
|
40 |
+
nextDay: '[ხვალ] LT[-ზე]',
|
41 |
+
lastDay: '[გუშინ] LT[-ზე]',
|
42 |
+
nextWeek: '[შემდეგ] dddd LT[-ზე]',
|
43 |
+
lastWeek: '[წინა] dddd LT-ზე',
|
44 |
+
sameElse: 'L',
|
|
|
|
|
45 |
},
|
46 |
+
relativeTime: {
|
47 |
+
future: function (s) {
|
48 |
+
return s.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/, function (
|
49 |
+
$0,
|
50 |
+
$1,
|
51 |
+
$2
|
52 |
+
) {
|
53 |
+
return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში';
|
54 |
+
});
|
|
|
|
|
|
|
|
|
55 |
},
|
56 |
+
past: function (s) {
|
57 |
+
if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) {
|
58 |
return s.replace(/(ი|ე)$/, 'ის წინ');
|
59 |
}
|
60 |
+
if (/წელი/.test(s)) {
|
61 |
return s.replace(/წელი$/, 'წლის წინ');
|
62 |
}
|
63 |
+
return s;
|
64 |
},
|
65 |
+
s: 'რამდენიმე წამი',
|
66 |
+
ss: '%d წამი',
|
67 |
+
m: 'წუთი',
|
68 |
+
mm: '%d წუთი',
|
69 |
+
h: 'საათი',
|
70 |
+
hh: '%d საათი',
|
71 |
+
d: 'დღე',
|
72 |
+
dd: '%d დღე',
|
73 |
+
M: 'თვე',
|
74 |
+
MM: '%d თვე',
|
75 |
+
y: 'წელი',
|
76 |
+
yy: '%d წელი',
|
77 |
},
|
78 |
+
dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
|
79 |
+
ordinal: function (number) {
|
80 |
if (number === 0) {
|
81 |
return number;
|
82 |
}
|
83 |
if (number === 1) {
|
84 |
return number + '-ლი';
|
85 |
}
|
86 |
+
if (
|
87 |
+
number < 20 ||
|
88 |
+
(number <= 100 && number % 20 === 0) ||
|
89 |
+
number % 100 === 0
|
90 |
+
) {
|
91 |
return 'მე-' + number;
|
92 |
}
|
93 |
return number + '-ე';
|
94 |
},
|
95 |
+
week: {
|
96 |
+
dow: 1,
|
97 |
+
doy: 7,
|
98 |
+
},
|
99 |
});
|
100 |
|
101 |
return ka;
|
102 |
|
103 |
+
})));
|
assets/js/moment/locale/kk.js
CHANGED
@@ -1,14 +1,15 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
|
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 |
|
13 |
var suffixes = {
|
14 |
0: '-ші',
|
@@ -30,58 +31,63 @@
|
|
30 |
70: '-ші',
|
31 |
80: '-ші',
|
32 |
90: '-шы',
|
33 |
-
100: '-ші'
|
34 |
};
|
35 |
|
36 |
var kk = moment.defineLocale('kk', {
|
37 |
-
months
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
49 |
},
|
50 |
-
calendar
|
51 |
-
sameDay
|
52 |
-
nextDay
|
53 |
-
nextWeek
|
54 |
-
lastDay
|
55 |
-
lastWeek
|
56 |
-
sameElse
|
57 |
},
|
58 |
-
relativeTime
|
59 |
-
future
|
60 |
-
past
|
61 |
-
s
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
|
|
72 |
},
|
73 |
-
|
74 |
-
ordinal
|
75 |
var a = number % 10,
|
76 |
b = number >= 100 ? 100 : null;
|
77 |
return number + (suffixes[number] || suffixes[a] || suffixes[b]);
|
78 |
},
|
79 |
-
week
|
80 |
-
dow
|
81 |
-
doy
|
82 |
-
}
|
83 |
});
|
84 |
|
85 |
return kk;
|
86 |
|
87 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Kazakh [kk]
|
3 |
//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
|
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 suffixes = {
|
15 |
0: '-ші',
|
31 |
70: '-ші',
|
32 |
80: '-ші',
|
33 |
90: '-шы',
|
34 |
+
100: '-ші',
|
35 |
};
|
36 |
|
37 |
var kk = moment.defineLocale('kk', {
|
38 |
+
months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split(
|
39 |
+
'_'
|
40 |
+
),
|
41 |
+
monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
|
42 |
+
weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split(
|
43 |
+
'_'
|
44 |
+
),
|
45 |
+
weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
|
46 |
+
weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
|
47 |
+
longDateFormat: {
|
48 |
+
LT: 'HH:mm',
|
49 |
+
LTS: 'HH:mm:ss',
|
50 |
+
L: 'DD.MM.YYYY',
|
51 |
+
LL: 'D MMMM YYYY',
|
52 |
+
LLL: 'D MMMM YYYY HH:mm',
|
53 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
54 |
},
|
55 |
+
calendar: {
|
56 |
+
sameDay: '[Бүгін сағат] LT',
|
57 |
+
nextDay: '[Ертең сағат] LT',
|
58 |
+
nextWeek: 'dddd [сағат] LT',
|
59 |
+
lastDay: '[Кеше сағат] LT',
|
60 |
+
lastWeek: '[Өткен аптаның] dddd [сағат] LT',
|
61 |
+
sameElse: 'L',
|
62 |
},
|
63 |
+
relativeTime: {
|
64 |
+
future: '%s ішінде',
|
65 |
+
past: '%s бұрын',
|
66 |
+
s: 'бірнеше секунд',
|
67 |
+
ss: '%d секунд',
|
68 |
+
m: 'бір минут',
|
69 |
+
mm: '%d минут',
|
70 |
+
h: 'бір сағат',
|
71 |
+
hh: '%d сағат',
|
72 |
+
d: 'бір күн',
|
73 |
+
dd: '%d күн',
|
74 |
+
M: 'бір ай',
|
75 |
+
MM: '%d ай',
|
76 |
+
y: 'бір жыл',
|
77 |
+
yy: '%d жыл',
|
78 |
},
|
79 |
+
dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
|
80 |
+
ordinal: function (number) {
|
81 |
var a = number % 10,
|
82 |
b = number >= 100 ? 100 : null;
|
83 |
return number + (suffixes[number] || suffixes[a] || suffixes[b]);
|
84 |
},
|
85 |
+
week: {
|
86 |
+
dow: 1, // Monday is the first day of the week.
|
87 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
88 |
+
},
|
89 |
});
|
90 |
|
91 |
return kk;
|
92 |
|
93 |
+
})));
|
assets/js/moment/locale/km.js
CHANGED
@@ -1,28 +1,70 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Kruy Vanna : https://github.com/kruyvanna
|
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 |
|
13 |
var km = moment.defineLocale('km', {
|
14 |
-
months: 'មករា_កុម្ភៈ_
|
15 |
-
|
|
|
|
|
|
|
|
|
16 |
weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
|
17 |
-
weekdaysShort: '
|
18 |
-
weekdaysMin: '
|
|
|
19 |
longDateFormat: {
|
20 |
LT: 'HH:mm',
|
21 |
-
LTS
|
22 |
L: 'DD/MM/YYYY',
|
23 |
LL: 'D MMMM YYYY',
|
24 |
LLL: 'D MMMM YYYY HH:mm',
|
25 |
-
LLLL: 'dddd, D MMMM YYYY HH:mm'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
calendar: {
|
28 |
sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
|
@@ -30,12 +72,13 @@
|
|
30 |
nextWeek: 'dddd [ម៉ោង] LT',
|
31 |
lastDay: '[ម្សិលមិញ ម៉ោង] LT',
|
32 |
lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
|
33 |
-
sameElse: 'L'
|
34 |
},
|
35 |
relativeTime: {
|
36 |
future: '%sទៀត',
|
37 |
past: '%sមុន',
|
38 |
s: 'ប៉ុន្មានវិនាទី',
|
|
|
39 |
m: 'មួយនាទី',
|
40 |
mm: '%d នាទី',
|
41 |
h: 'មួយម៉ោង',
|
@@ -45,14 +88,26 @@
|
|
45 |
M: 'មួយខែ',
|
46 |
MM: '%d ខែ',
|
47 |
y: 'មួយឆ្នាំ',
|
48 |
-
yy: '%d ឆ្នាំ'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
},
|
50 |
week: {
|
51 |
dow: 1, // Monday is the first day of the week.
|
52 |
-
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
53 |
-
}
|
54 |
});
|
55 |
|
56 |
return km;
|
57 |
|
58 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Cambodian [km]
|
3 |
//! author : Kruy Vanna : https://github.com/kruyvanna
|
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 |
|
39 |
var km = moment.defineLocale('km', {
|
40 |
+
months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
|
41 |
+
'_'
|
42 |
+
),
|
43 |
+
monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
|
44 |
+
'_'
|
45 |
+
),
|
46 |
weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
|
47 |
+
weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
|
48 |
+
weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
|
49 |
+
weekdaysParseExact: true,
|
50 |
longDateFormat: {
|
51 |
LT: 'HH:mm',
|
52 |
+
LTS: 'HH:mm:ss',
|
53 |
L: 'DD/MM/YYYY',
|
54 |
LL: 'D MMMM YYYY',
|
55 |
LLL: 'D MMMM YYYY HH:mm',
|
56 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
57 |
+
},
|
58 |
+
meridiemParse: /ព្រឹក|ល្ងាច/,
|
59 |
+
isPM: function (input) {
|
60 |
+
return input === 'ល្ងាច';
|
61 |
+
},
|
62 |
+
meridiem: function (hour, minute, isLower) {
|
63 |
+
if (hour < 12) {
|
64 |
+
return 'ព្រឹក';
|
65 |
+
} else {
|
66 |
+
return 'ល្ងាច';
|
67 |
+
}
|
68 |
},
|
69 |
calendar: {
|
70 |
sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
|
72 |
nextWeek: 'dddd [ម៉ោង] LT',
|
73 |
lastDay: '[ម្សិលមិញ ម៉ោង] LT',
|
74 |
lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
|
75 |
+
sameElse: 'L',
|
76 |
},
|
77 |
relativeTime: {
|
78 |
future: '%sទៀត',
|
79 |
past: '%sមុន',
|
80 |
s: 'ប៉ុន្មានវិនាទី',
|
81 |
+
ss: '%d វិនាទី',
|
82 |
m: 'មួយនាទី',
|
83 |
mm: '%d នាទី',
|
84 |
h: 'មួយម៉ោង',
|
88 |
M: 'មួយខែ',
|
89 |
MM: '%d ខែ',
|
90 |
y: 'មួយឆ្នាំ',
|
91 |
+
yy: '%d ឆ្នាំ',
|
92 |
+
},
|
93 |
+
dayOfMonthOrdinalParse: /ទី\d{1,2}/,
|
94 |
+
ordinal: 'ទី%d',
|
95 |
+
preparse: function (string) {
|
96 |
+
return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {
|
97 |
+
return numberMap[match];
|
98 |
+
});
|
99 |
+
},
|
100 |
+
postformat: function (string) {
|
101 |
+
return string.replace(/\d/g, function (match) {
|
102 |
+
return symbolMap[match];
|
103 |
+
});
|
104 |
},
|
105 |
week: {
|
106 |
dow: 1, // Monday is the first day of the week.
|
107 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
108 |
+
},
|
109 |
});
|
110 |
|
111 |
return km;
|
112 |
|
113 |
+
})));
|
assets/js/moment/locale/kn.js
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Kannada [kn]
|
3 |
+
//! author : Rajeev Naik : https://github.com/rajeevnaikte
|
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 |
+
|
39 |
+
var kn = moment.defineLocale('kn', {
|
40 |
+
months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split(
|
41 |
+
'_'
|
42 |
+
),
|
43 |
+
monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split(
|
44 |
+
'_'
|
45 |
+
),
|
46 |
+
monthsParseExact: true,
|
47 |
+
weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split(
|
48 |
+
'_'
|
49 |
+
),
|
50 |
+
weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),
|
51 |
+
weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),
|
52 |
+
longDateFormat: {
|
53 |
+
LT: 'A h:mm',
|
54 |
+
LTS: 'A h:mm:ss',
|
55 |
+
L: 'DD/MM/YYYY',
|
56 |
+
LL: 'D MMMM YYYY',
|
57 |
+
LLL: 'D MMMM YYYY, A h:mm',
|
58 |
+
LLLL: 'dddd, D MMMM YYYY, A h:mm',
|
59 |
+
},
|
60 |
+
calendar: {
|
61 |
+
sameDay: '[ಇಂದು] LT',
|
62 |
+
nextDay: '[ನಾಳೆ] LT',
|
63 |
+
nextWeek: 'dddd, LT',
|
64 |
+
lastDay: '[ನಿನ್ನೆ] LT',
|
65 |
+
lastWeek: '[ಕೊನೆಯ] dddd, LT',
|
66 |
+
sameElse: 'L',
|
67 |
+
},
|
68 |
+
relativeTime: {
|
69 |
+
future: '%s ನಂತರ',
|
70 |
+
past: '%s ಹಿಂದೆ',
|
71 |
+
s: 'ಕೆಲವು ಕ್ಷಣಗಳು',
|
72 |
+
ss: '%d ಸೆಕೆಂಡುಗಳು',
|
73 |
+
m: 'ಒಂದು ನಿಮಿಷ',
|
74 |
+
mm: '%d ನಿಮಿಷ',
|
75 |
+
h: 'ಒಂದು ಗಂಟೆ',
|
76 |
+
hh: '%d ಗಂಟೆ',
|
77 |
+
d: 'ಒಂದು ದಿನ',
|
78 |
+
dd: '%d ದಿನ',
|
79 |
+
M: 'ಒಂದು ತಿಂಗಳು',
|
80 |
+
MM: '%d ತಿಂಗಳು',
|
81 |
+
y: 'ಒಂದು ವರ್ಷ',
|
82 |
+
yy: '%d ವರ್ಷ',
|
83 |
+
},
|
84 |
+
preparse: function (string) {
|
85 |
+
return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
|
86 |
+
return numberMap[match];
|
87 |
+
});
|
88 |
+
},
|
89 |
+
postformat: function (string) {
|
90 |
+
return string.replace(/\d/g, function (match) {
|
91 |
+
return symbolMap[match];
|
92 |
+
});
|
93 |
+
},
|
94 |
+
meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,
|
95 |
+
meridiemHour: function (hour, meridiem) {
|
96 |
+
if (hour === 12) {
|
97 |
+
hour = 0;
|
98 |
+
}
|
99 |
+
if (meridiem === 'ರಾತ್ರಿ') {
|
100 |
+
return hour < 4 ? hour : hour + 12;
|
101 |
+
} else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {
|
102 |
+
return hour;
|
103 |
+
} else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {
|
104 |
+
return hour >= 10 ? hour : hour + 12;
|
105 |
+
} else if (meridiem === 'ಸಂಜೆ') {
|
106 |
+
return hour + 12;
|
107 |
+
}
|
108 |
+
},
|
109 |
+
meridiem: function (hour, minute, isLower) {
|
110 |
+
if (hour < 4) {
|
111 |
+
return 'ರಾತ್ರಿ';
|
112 |
+
} else if (hour < 10) {
|
113 |
+
return 'ಬೆಳಿಗ್ಗೆ';
|
114 |
+
} else if (hour < 17) {
|
115 |
+
return 'ಮಧ್ಯಾಹ್ನ';
|
116 |
+
} else if (hour < 20) {
|
117 |
+
return 'ಸಂಜೆ';
|
118 |
+
} else {
|
119 |
+
return 'ರಾತ್ರಿ';
|
120 |
+
}
|
121 |
+
},
|
122 |
+
dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/,
|
123 |
+
ordinal: function (number) {
|
124 |
+
return number + 'ನೇ';
|
125 |
+
},
|
126 |
+
week: {
|
127 |
+
dow: 0, // Sunday is the first day of the week.
|
128 |
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
129 |
+
},
|
130 |
+
});
|
131 |
+
|
132 |
+
return kn;
|
133 |
+
|
134 |
+
})));
|
assets/js/moment/locale/ko.js
CHANGED
@@ -1,68 +1,86 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
-
//!
|
4 |
-
//!
|
5 |
-
//!
|
6 |
-
//! - Kyungwook, Park : https://github.com/kyungw00k
|
7 |
-
//! - Jeeeyul Lee <jeeeyul@gmail.com>
|
8 |
|
9 |
;(function (global, factory) {
|
10 |
typeof exports === 'object' && typeof module !== 'undefined'
|
11 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
12 |
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
13 |
factory(global.moment)
|
14 |
-
}(this, function (moment) { 'use strict';
|
15 |
|
|
|
16 |
|
17 |
var ko = moment.defineLocale('ko', {
|
18 |
-
months
|
19 |
-
monthsShort
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
},
|
31 |
-
calendar
|
32 |
-
sameDay
|
33 |
-
nextDay
|
34 |
-
nextWeek
|
35 |
-
lastDay
|
36 |
-
lastWeek
|
37 |
-
sameElse
|
38 |
},
|
39 |
-
relativeTime
|
40 |
-
future
|
41 |
-
past
|
42 |
-
s
|
43 |
-
ss
|
44 |
-
m
|
45 |
-
mm
|
46 |
-
h
|
47 |
-
hh
|
48 |
-
d
|
49 |
-
dd
|
50 |
-
M
|
51 |
-
MM
|
52 |
-
y
|
53 |
-
yy
|
54 |
},
|
55 |
-
|
56 |
-
ordinal
|
57 |
-
|
58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
return token === '오후';
|
60 |
},
|
61 |
-
meridiem
|
62 |
return hour < 12 ? '오전' : '오후';
|
63 |
-
}
|
64 |
});
|
65 |
|
66 |
return ko;
|
67 |
|
68 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Korean [ko]
|
3 |
+
//! author : Kyungwook, Park : https://github.com/kyungw00k
|
4 |
+
//! author : Jeeeyul Lee <jeeeyul@gmail.com>
|
|
|
|
|
|
|
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 ko = moment.defineLocale('ko', {
|
16 |
+
months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
|
17 |
+
monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(
|
18 |
+
'_'
|
19 |
+
),
|
20 |
+
weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
|
21 |
+
weekdaysShort: '일_월_화_수_목_금_토'.split('_'),
|
22 |
+
weekdaysMin: '일_월_화_수_목_금_토'.split('_'),
|
23 |
+
longDateFormat: {
|
24 |
+
LT: 'A h:mm',
|
25 |
+
LTS: 'A h:mm:ss',
|
26 |
+
L: 'YYYY.MM.DD.',
|
27 |
+
LL: 'YYYY년 MMMM D일',
|
28 |
+
LLL: 'YYYY년 MMMM D일 A h:mm',
|
29 |
+
LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
|
30 |
+
l: 'YYYY.MM.DD.',
|
31 |
+
ll: 'YYYY년 MMMM D일',
|
32 |
+
lll: 'YYYY년 MMMM D일 A h:mm',
|
33 |
+
llll: 'YYYY년 MMMM D일 dddd A h:mm',
|
34 |
},
|
35 |
+
calendar: {
|
36 |
+
sameDay: '오늘 LT',
|
37 |
+
nextDay: '내일 LT',
|
38 |
+
nextWeek: 'dddd LT',
|
39 |
+
lastDay: '어제 LT',
|
40 |
+
lastWeek: '지난주 dddd LT',
|
41 |
+
sameElse: 'L',
|
42 |
},
|
43 |
+
relativeTime: {
|
44 |
+
future: '%s 후',
|
45 |
+
past: '%s 전',
|
46 |
+
s: '몇 초',
|
47 |
+
ss: '%d초',
|
48 |
+
m: '1분',
|
49 |
+
mm: '%d분',
|
50 |
+
h: '한 시간',
|
51 |
+
hh: '%d시간',
|
52 |
+
d: '하루',
|
53 |
+
dd: '%d일',
|
54 |
+
M: '한 달',
|
55 |
+
MM: '%d달',
|
56 |
+
y: '일 년',
|
57 |
+
yy: '%d년',
|
58 |
},
|
59 |
+
dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
|
60 |
+
ordinal: function (number, period) {
|
61 |
+
switch (period) {
|
62 |
+
case 'd':
|
63 |
+
case 'D':
|
64 |
+
case 'DDD':
|
65 |
+
return number + '일';
|
66 |
+
case 'M':
|
67 |
+
return number + '월';
|
68 |
+
case 'w':
|
69 |
+
case 'W':
|
70 |
+
return number + '주';
|
71 |
+
default:
|
72 |
+
return number;
|
73 |
+
}
|
74 |
+
},
|
75 |
+
meridiemParse: /오전|오후/,
|
76 |
+
isPM: function (token) {
|
77 |
return token === '오후';
|
78 |
},
|
79 |
+
meridiem: function (hour, minute, isUpper) {
|
80 |
return hour < 12 ? '오전' : '오후';
|
81 |
+
},
|
82 |
});
|
83 |
|
84 |
return ko;
|
85 |
|
86 |
+
})));
|
assets/js/moment/locale/ku.js
ADDED
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Kurdish [ku]
|
3 |
+
//! author : Shahram Mebashar : https://github.com/ShahramMebashar
|
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 |
+
months = [
|
39 |
+
'کانونی دووەم',
|
40 |
+
'شوبات',
|
41 |
+
'ئازار',
|
42 |
+
'نیسان',
|
43 |
+
'ئایار',
|
44 |
+
'حوزەیران',
|
45 |
+
'تەمموز',
|
46 |
+
'ئاب',
|
47 |
+
'ئەیلوول',
|
48 |
+
'تشرینی یەكەم',
|
49 |
+
'تشرینی دووەم',
|
50 |
+
'كانونی یەکەم',
|
51 |
+
];
|
52 |
+
|
53 |
+
var ku = moment.defineLocale('ku', {
|
54 |
+
months: months,
|
55 |
+
monthsShort: months,
|
56 |
+
weekdays: 'یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه'.split(
|
57 |
+
'_'
|
58 |
+
),
|
59 |
+
weekdaysShort: 'یهكشهم_دووشهم_سێشهم_چوارشهم_پێنجشهم_ههینی_شهممه'.split(
|
60 |
+
'_'
|
61 |
+
),
|
62 |
+
weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),
|
63 |
+
weekdaysParseExact: true,
|
64 |
+
longDateFormat: {
|
65 |
+
LT: 'HH:mm',
|
66 |
+
LTS: 'HH:mm:ss',
|
67 |
+
L: 'DD/MM/YYYY',
|
68 |
+
LL: 'D MMMM YYYY',
|
69 |
+
LLL: 'D MMMM YYYY HH:mm',
|
70 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
71 |
+
},
|
72 |
+
meridiemParse: /ئێواره|بهیانی/,
|
73 |
+
isPM: function (input) {
|
74 |
+
return /ئێواره/.test(input);
|
75 |
+
},
|
76 |
+
meridiem: function (hour, minute, isLower) {
|
77 |
+
if (hour < 12) {
|
78 |
+
return 'بهیانی';
|
79 |
+
} else {
|
80 |
+
return 'ئێواره';
|
81 |
+
}
|
82 |
+
},
|
83 |
+
calendar: {
|
84 |
+
sameDay: '[ئهمرۆ كاتژمێر] LT',
|
85 |
+
nextDay: '[بهیانی كاتژمێر] LT',
|
86 |
+
nextWeek: 'dddd [كاتژمێر] LT',
|
87 |
+
lastDay: '[دوێنێ كاتژمێر] LT',
|
88 |
+
lastWeek: 'dddd [كاتژمێر] LT',
|
89 |
+
sameElse: 'L',
|
90 |
+
},
|
91 |
+
relativeTime: {
|
92 |
+
future: 'له %s',
|
93 |
+
past: '%s',
|
94 |
+
s: 'چهند چركهیهك',
|
95 |
+
ss: 'چركه %d',
|
96 |
+
m: 'یهك خولهك',
|
97 |
+
mm: '%d خولهك',
|
98 |
+
h: 'یهك كاتژمێر',
|
99 |
+
hh: '%d كاتژمێر',
|
100 |
+
d: 'یهك ڕۆژ',
|
101 |
+
dd: '%d ڕۆژ',
|
102 |
+
M: 'یهك مانگ',
|
103 |
+
MM: '%d مانگ',
|
104 |
+
y: 'یهك ساڵ',
|
105 |
+
yy: '%d ساڵ',
|
106 |
+
},
|
107 |
+
preparse: function (string) {
|
108 |
+
return string
|
109 |
+
.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
|
110 |
+
return numberMap[match];
|
111 |
+
})
|
112 |
+
.replace(/،/g, ',');
|
113 |
+
},
|
114 |
+
postformat: function (string) {
|
115 |
+
return string
|
116 |
+
.replace(/\d/g, function (match) {
|
117 |
+
return symbolMap[match];
|
118 |
+
})
|
119 |
+
.replace(/,/g, '،');
|
120 |
+
},
|
121 |
+
week: {
|
122 |
+
dow: 6, // Saturday is the first day of the week.
|
123 |
+
doy: 12, // The week that contains Jan 12th is the first week of the year.
|
124 |
+
},
|
125 |
+
});
|
126 |
+
|
127 |
+
return ku;
|
128 |
+
|
129 |
+
})));
|
assets/js/moment/locale/ky.js
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Kyrgyz [ky]
|
3 |
+
//! author : Chyngyz Arystan uulu : https://github.com/chyngyz
|
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 suffixes = {
|
15 |
+
0: '-чү',
|
16 |
+
1: '-чи',
|
17 |
+
2: '-чи',
|
18 |
+
3: '-чү',
|
19 |
+
4: '-чү',
|
20 |
+
5: '-чи',
|
21 |
+
6: '-чы',
|
22 |
+
7: '-чи',
|
23 |
+
8: '-чи',
|
24 |
+
9: '-чу',
|
25 |
+
10: '-чу',
|
26 |
+
20: '-чы',
|
27 |
+
30: '-чу',
|
28 |
+
40: '-чы',
|
29 |
+
50: '-чү',
|
30 |
+
60: '-чы',
|
31 |
+
70: '-чи',
|
32 |
+
80: '-чи',
|
33 |
+
90: '-чу',
|
34 |
+
100: '-чү',
|
35 |
+
};
|
36 |
+
|
37 |
+
var ky = moment.defineLocale('ky', {
|
38 |
+
months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(
|
39 |
+
'_'
|
40 |
+
),
|
41 |
+
monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split(
|
42 |
+
'_'
|
43 |
+
),
|
44 |
+
weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split(
|
45 |
+
'_'
|
46 |
+
),
|
47 |
+
weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
|
48 |
+
weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
|
49 |
+
longDateFormat: {
|
50 |
+
LT: 'HH:mm',
|
51 |
+
LTS: 'HH:mm:ss',
|
52 |
+
L: 'DD.MM.YYYY',
|
53 |
+
LL: 'D MMMM YYYY',
|
54 |
+
LLL: 'D MMMM YYYY HH:mm',
|
55 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
56 |
+
},
|
57 |
+
calendar: {
|
58 |
+
sameDay: '[Бүгүн саат] LT',
|
59 |
+
nextDay: '[Эртең саат] LT',
|
60 |
+
nextWeek: 'dddd [саат] LT',
|
61 |
+
lastDay: '[Кечээ саат] LT',
|
62 |
+
lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',
|
63 |
+
sameElse: 'L',
|
64 |
+
},
|
65 |
+
relativeTime: {
|
66 |
+
future: '%s ичинде',
|
67 |
+
past: '%s мурун',
|
68 |
+
s: 'бирнече секунд',
|
69 |
+
ss: '%d секунд',
|
70 |
+
m: 'бир мүнөт',
|
71 |
+
mm: '%d мүнөт',
|
72 |
+
h: 'бир саат',
|
73 |
+
hh: '%d саат',
|
74 |
+
d: 'бир күн',
|
75 |
+
dd: '%d күн',
|
76 |
+
M: 'бир ай',
|
77 |
+
MM: '%d ай',
|
78 |
+
y: 'бир жыл',
|
79 |
+
yy: '%d жыл',
|
80 |
+
},
|
81 |
+
dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
|
82 |
+
ordinal: function (number) {
|
83 |
+
var a = number % 10,
|
84 |
+
b = number >= 100 ? 100 : null;
|
85 |
+
return number + (suffixes[number] || suffixes[a] || suffixes[b]);
|
86 |
+
},
|
87 |
+
week: {
|
88 |
+
dow: 1, // Monday is the first day of the week.
|
89 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
90 |
+
},
|
91 |
+
});
|
92 |
+
|
93 |
+
return ky;
|
94 |
+
|
95 |
+
})));
|
assets/js/moment/locale/lb.js
CHANGED
@@ -1,22 +1,24 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Luxembourgish
|
3 |
-
//! author : mweimerskirch : https://github.com/mweimerskirch
|
|
|
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 |
|
13 |
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
14 |
var format = {
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
};
|
21 |
return withoutSuffix ? format[key][0] : format[key][1];
|
22 |
}
|
@@ -57,7 +59,8 @@
|
|
57 |
return false;
|
58 |
} else if (number < 100) {
|
59 |
// 2 digits
|
60 |
-
var lastDigit = number % 10,
|
|
|
61 |
if (lastDigit === 0) {
|
62 |
return eifelerRegelAppliesToNumber(firstDigit);
|
63 |
}
|
@@ -76,18 +79,26 @@
|
|
76 |
}
|
77 |
|
78 |
var lb = moment.defineLocale('lb', {
|
79 |
-
months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split(
|
80 |
-
|
81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
|
83 |
weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
|
|
|
84 |
longDateFormat: {
|
85 |
LT: 'H:mm [Auer]',
|
86 |
LTS: 'H:mm:ss [Auer]',
|
87 |
L: 'DD.MM.YYYY',
|
88 |
LL: 'D. MMMM YYYY',
|
89 |
LLL: 'D. MMMM YYYY H:mm [Auer]',
|
90 |
-
LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]'
|
91 |
},
|
92 |
calendar: {
|
93 |
sameDay: '[Haut um] LT',
|
@@ -104,31 +115,32 @@
|
|
104 |
default:
|
105 |
return '[Leschte] dddd [um] LT';
|
106 |
}
|
107 |
-
}
|
108 |
},
|
109 |
-
relativeTime
|
110 |
-
future
|
111 |
-
past
|
112 |
-
s
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
d
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
|
|
123 |
},
|
124 |
-
|
125 |
ordinal: '%d.',
|
126 |
week: {
|
127 |
dow: 1, // Monday is the first day of the week.
|
128 |
-
doy: 4
|
129 |
-
}
|
130 |
});
|
131 |
|
132 |
return lb;
|
133 |
|
134 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Luxembourgish [lb]
|
3 |
+
//! author : mweimerskirch : https://github.com/mweimerskirch
|
4 |
+
//! author : David Raison : https://github.com/kwisatz
|
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 |
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
16 |
var format = {
|
17 |
+
m: ['eng Minutt', 'enger Minutt'],
|
18 |
+
h: ['eng Stonn', 'enger Stonn'],
|
19 |
+
d: ['een Dag', 'engem Dag'],
|
20 |
+
M: ['ee Mount', 'engem Mount'],
|
21 |
+
y: ['ee Joer', 'engem Joer'],
|
22 |
};
|
23 |
return withoutSuffix ? format[key][0] : format[key][1];
|
24 |
}
|
59 |
return false;
|
60 |
} else if (number < 100) {
|
61 |
// 2 digits
|
62 |
+
var lastDigit = number % 10,
|
63 |
+
firstDigit = number / 10;
|
64 |
if (lastDigit === 0) {
|
65 |
return eifelerRegelAppliesToNumber(firstDigit);
|
66 |
}
|
79 |
}
|
80 |
|
81 |
var lb = moment.defineLocale('lb', {
|
82 |
+
months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split(
|
83 |
+
'_'
|
84 |
+
),
|
85 |
+
monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split(
|
86 |
+
'_'
|
87 |
+
),
|
88 |
+
monthsParseExact: true,
|
89 |
+
weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split(
|
90 |
+
'_'
|
91 |
+
),
|
92 |
weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
|
93 |
weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
|
94 |
+
weekdaysParseExact: true,
|
95 |
longDateFormat: {
|
96 |
LT: 'H:mm [Auer]',
|
97 |
LTS: 'H:mm:ss [Auer]',
|
98 |
L: 'DD.MM.YYYY',
|
99 |
LL: 'D. MMMM YYYY',
|
100 |
LLL: 'D. MMMM YYYY H:mm [Auer]',
|
101 |
+
LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]',
|
102 |
},
|
103 |
calendar: {
|
104 |
sameDay: '[Haut um] LT',
|
115 |
default:
|
116 |
return '[Leschte] dddd [um] LT';
|
117 |
}
|
118 |
+
},
|
119 |
},
|
120 |
+
relativeTime: {
|
121 |
+
future: processFutureTime,
|
122 |
+
past: processPastTime,
|
123 |
+
s: 'e puer Sekonnen',
|
124 |
+
ss: '%d Sekonnen',
|
125 |
+
m: processRelativeTime,
|
126 |
+
mm: '%d Minutten',
|
127 |
+
h: processRelativeTime,
|
128 |
+
hh: '%d Stonnen',
|
129 |
+
d: processRelativeTime,
|
130 |
+
dd: '%d Deeg',
|
131 |
+
M: processRelativeTime,
|
132 |
+
MM: '%d Méint',
|
133 |
+
y: processRelativeTime,
|
134 |
+
yy: '%d Joer',
|
135 |
},
|
136 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
137 |
ordinal: '%d.',
|
138 |
week: {
|
139 |
dow: 1, // Monday is the first day of the week.
|
140 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
141 |
+
},
|
142 |
});
|
143 |
|
144 |
return lb;
|
145 |
|
146 |
+
})));
|
assets/js/moment/locale/lo.js
CHANGED
@@ -1,69 +1,76 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Ryan Hart : https://github.com/ryanhart2
|
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 |
|
13 |
var lo = moment.defineLocale('lo', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
|
28 |
isPM: function (input) {
|
29 |
return input === 'ຕອນແລງ';
|
30 |
},
|
31 |
-
meridiem
|
32 |
if (hour < 12) {
|
33 |
return 'ຕອນເຊົ້າ';
|
34 |
} else {
|
35 |
return 'ຕອນແລງ';
|
36 |
}
|
37 |
},
|
38 |
-
calendar
|
39 |
-
sameDay
|
40 |
-
nextDay
|
41 |
-
nextWeek
|
42 |
-
lastDay
|
43 |
-
lastWeek
|
44 |
-
sameElse
|
45 |
},
|
46 |
-
relativeTime
|
47 |
-
future
|
48 |
-
past
|
49 |
-
s
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
|
|
60 |
},
|
61 |
-
|
62 |
-
ordinal
|
63 |
return 'ທີ່' + number;
|
64 |
-
}
|
65 |
});
|
66 |
|
67 |
return lo;
|
68 |
|
69 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Lao [lo]
|
3 |
//! author : Ryan Hart : https://github.com/ryanhart2
|
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 lo = moment.defineLocale('lo', {
|
15 |
+
months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
|
22 |
+
weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
|
23 |
+
weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
|
24 |
+
weekdaysParseExact: true,
|
25 |
+
longDateFormat: {
|
26 |
+
LT: 'HH:mm',
|
27 |
+
LTS: 'HH:mm:ss',
|
28 |
+
L: 'DD/MM/YYYY',
|
29 |
+
LL: 'D MMMM YYYY',
|
30 |
+
LLL: 'D MMMM YYYY HH:mm',
|
31 |
+
LLLL: 'ວັນdddd D MMMM YYYY HH:mm',
|
32 |
},
|
33 |
meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
|
34 |
isPM: function (input) {
|
35 |
return input === 'ຕອນແລງ';
|
36 |
},
|
37 |
+
meridiem: function (hour, minute, isLower) {
|
38 |
if (hour < 12) {
|
39 |
return 'ຕອນເຊົ້າ';
|
40 |
} else {
|
41 |
return 'ຕອນແລງ';
|
42 |
}
|
43 |
},
|
44 |
+
calendar: {
|
45 |
+
sameDay: '[ມື້ນີ້ເວລາ] LT',
|
46 |
+
nextDay: '[ມື້ອື່ນເວລາ] LT',
|
47 |
+
nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',
|
48 |
+
lastDay: '[ມື້ວານນີ້ເວລາ] LT',
|
49 |
+
lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
|
50 |
+
sameElse: 'L',
|
51 |
},
|
52 |
+
relativeTime: {
|
53 |
+
future: 'ອີກ %s',
|
54 |
+
past: '%sຜ່ານມາ',
|
55 |
+
s: 'ບໍ່ເທົ່າໃດວິນາທີ',
|
56 |
+
ss: '%d ວິນາທີ',
|
57 |
+
m: '1 ນາທີ',
|
58 |
+
mm: '%d ນາທີ',
|
59 |
+
h: '1 ຊົ່ວໂມງ',
|
60 |
+
hh: '%d ຊົ່ວໂມງ',
|
61 |
+
d: '1 ມື້',
|
62 |
+
dd: '%d ມື້',
|
63 |
+
M: '1 ເດືອນ',
|
64 |
+
MM: '%d ເດືອນ',
|
65 |
+
y: '1 ປີ',
|
66 |
+
yy: '%d ປີ',
|
67 |
},
|
68 |
+
dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/,
|
69 |
+
ordinal: function (number) {
|
70 |
return 'ທີ່' + number;
|
71 |
+
},
|
72 |
});
|
73 |
|
74 |
return lo;
|
75 |
|
76 |
+
})));
|
assets/js/moment/locale/lt.js
CHANGED
@@ -1,26 +1,28 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Lithuanian
|
3 |
//! author : Mindaugas Mozūras : https://github.com/mmozuras
|
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 |
|
13 |
var units = {
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
24 |
};
|
25 |
function translateSeconds(number, withoutSuffix, key, isFuture) {
|
26 |
if (withoutSuffix) {
|
@@ -30,7 +32,11 @@
|
|
30 |
}
|
31 |
}
|
32 |
function translateSingular(number, withoutSuffix, key, isFuture) {
|
33 |
-
return withoutSuffix
|
|
|
|
|
|
|
|
|
34 |
}
|
35 |
function special(number) {
|
36 |
return number % 10 === 0 || (number > 10 && number < 20);
|
@@ -41,7 +47,9 @@
|
|
41 |
function translate(number, withoutSuffix, key, isFuture) {
|
42 |
var result = number + ' ';
|
43 |
if (number === 1) {
|
44 |
-
return
|
|
|
|
|
45 |
} else if (withoutSuffix) {
|
46 |
return result + (special(number) ? forms(key)[1] : forms(key)[0]);
|
47 |
} else {
|
@@ -53,63 +61,74 @@
|
|
53 |
}
|
54 |
}
|
55 |
var lt = moment.defineLocale('lt', {
|
56 |
-
months
|
57 |
-
format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split(
|
58 |
-
|
|
|
|
|
|
|
|
|
|
|
59 |
},
|
60 |
-
monthsShort
|
61 |
-
weekdays
|
62 |
-
format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split(
|
63 |
-
|
64 |
-
|
|
|
|
|
|
|
|
|
65 |
},
|
66 |
-
weekdaysShort
|
67 |
-
weekdaysMin
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
|
|
79 |
},
|
80 |
-
calendar
|
81 |
-
sameDay
|
82 |
-
nextDay
|
83 |
-
nextWeek
|
84 |
-
lastDay
|
85 |
-
lastWeek
|
86 |
-
sameElse
|
87 |
},
|
88 |
-
relativeTime
|
89 |
-
future
|
90 |
-
past
|
91 |
-
s
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
|
|
102 |
},
|
103 |
-
|
104 |
-
ordinal
|
105 |
return number + '-oji';
|
106 |
},
|
107 |
-
week
|
108 |
-
dow
|
109 |
-
doy
|
110 |
-
}
|
111 |
});
|
112 |
|
113 |
return lt;
|
114 |
|
115 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Lithuanian [lt]
|
3 |
//! author : Mindaugas Mozūras : https://github.com/mmozuras
|
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 units = {
|
15 |
+
ss: 'sekundė_sekundžių_sekundes',
|
16 |
+
m: 'minutė_minutės_minutę',
|
17 |
+
mm: 'minutės_minučių_minutes',
|
18 |
+
h: 'valanda_valandos_valandą',
|
19 |
+
hh: 'valandos_valandų_valandas',
|
20 |
+
d: 'diena_dienos_dieną',
|
21 |
+
dd: 'dienos_dienų_dienas',
|
22 |
+
M: 'mėnuo_mėnesio_mėnesį',
|
23 |
+
MM: 'mėnesiai_mėnesių_mėnesius',
|
24 |
+
y: 'metai_metų_metus',
|
25 |
+
yy: 'metai_metų_metus',
|
26 |
};
|
27 |
function translateSeconds(number, withoutSuffix, key, isFuture) {
|
28 |
if (withoutSuffix) {
|
32 |
}
|
33 |
}
|
34 |
function translateSingular(number, withoutSuffix, key, isFuture) {
|
35 |
+
return withoutSuffix
|
36 |
+
? forms(key)[0]
|
37 |
+
: isFuture
|
38 |
+
? forms(key)[1]
|
39 |
+
: forms(key)[2];
|
40 |
}
|
41 |
function special(number) {
|
42 |
return number % 10 === 0 || (number > 10 && number < 20);
|
47 |
function translate(number, withoutSuffix, key, isFuture) {
|
48 |
var result = number + ' ';
|
49 |
if (number === 1) {
|
50 |
+
return (
|
51 |
+
result + translateSingular(number, withoutSuffix, key[0], isFuture)
|
52 |
+
);
|
53 |
} else if (withoutSuffix) {
|
54 |
return result + (special(number) ? forms(key)[1] : forms(key)[0]);
|
55 |
} else {
|
61 |
}
|
62 |
}
|
63 |
var lt = moment.defineLocale('lt', {
|
64 |
+
months: {
|
65 |
+
format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split(
|
66 |
+
'_'
|
67 |
+
),
|
68 |
+
standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split(
|
69 |
+
'_'
|
70 |
+
),
|
71 |
+
isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,
|
72 |
},
|
73 |
+
monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
|
74 |
+
weekdays: {
|
75 |
+
format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split(
|
76 |
+
'_'
|
77 |
+
),
|
78 |
+
standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split(
|
79 |
+
'_'
|
80 |
+
),
|
81 |
+
isFormat: /dddd HH:mm/,
|
82 |
},
|
83 |
+
weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
|
84 |
+
weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'),
|
85 |
+
weekdaysParseExact: true,
|
86 |
+
longDateFormat: {
|
87 |
+
LT: 'HH:mm',
|
88 |
+
LTS: 'HH:mm:ss',
|
89 |
+
L: 'YYYY-MM-DD',
|
90 |
+
LL: 'YYYY [m.] MMMM D [d.]',
|
91 |
+
LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
|
92 |
+
LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',
|
93 |
+
l: 'YYYY-MM-DD',
|
94 |
+
ll: 'YYYY [m.] MMMM D [d.]',
|
95 |
+
lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
|
96 |
+
llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]',
|
97 |
},
|
98 |
+
calendar: {
|
99 |
+
sameDay: '[Šiandien] LT',
|
100 |
+
nextDay: '[Rytoj] LT',
|
101 |
+
nextWeek: 'dddd LT',
|
102 |
+
lastDay: '[Vakar] LT',
|
103 |
+
lastWeek: '[Praėjusį] dddd LT',
|
104 |
+
sameElse: 'L',
|
105 |
},
|
106 |
+
relativeTime: {
|
107 |
+
future: 'po %s',
|
108 |
+
past: 'prieš %s',
|
109 |
+
s: translateSeconds,
|
110 |
+
ss: translate,
|
111 |
+
m: translateSingular,
|
112 |
+
mm: translate,
|
113 |
+
h: translateSingular,
|
114 |
+
hh: translate,
|
115 |
+
d: translateSingular,
|
116 |
+
dd: translate,
|
117 |
+
M: translateSingular,
|
118 |
+
MM: translate,
|
119 |
+
y: translateSingular,
|
120 |
+
yy: translate,
|
121 |
},
|
122 |
+
dayOfMonthOrdinalParse: /\d{1,2}-oji/,
|
123 |
+
ordinal: function (number) {
|
124 |
return number + '-oji';
|
125 |
},
|
126 |
+
week: {
|
127 |
+
dow: 1, // Monday is the first day of the week.
|
128 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
129 |
+
},
|
130 |
});
|
131 |
|
132 |
return lt;
|
133 |
|
134 |
+
})));
|
assets/js/moment/locale/lv.js
CHANGED
@@ -1,27 +1,29 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Kristaps Karlsons : https://github.com/skakri
|
4 |
//! author : Jānis Elmeris : https://github.com/JanisE
|
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 |
|
14 |
var units = {
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
25 |
};
|
26 |
/**
|
27 |
* @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
|
@@ -29,11 +31,11 @@
|
|
29 |
function format(forms, number, withoutSuffix) {
|
30 |
if (withoutSuffix) {
|
31 |
// E.g. "21 minūte", "3 minūtes".
|
32 |
-
return number % 10 === 1 && number !== 11 ? forms[2] : forms[3];
|
33 |
} else {
|
34 |
// E.g. "21 minūtes" as in "pēc 21 minūtes".
|
35 |
// E.g. "3 minūtēm" as in "pēc 3 minūtēm".
|
36 |
-
return number % 10 === 1 && number !== 11 ? forms[0] : forms[1];
|
37 |
}
|
38 |
}
|
39 |
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
@@ -47,50 +49,56 @@
|
|
47 |
}
|
48 |
|
49 |
var lv = moment.defineLocale('lv', {
|
50 |
-
months
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
|
|
|
|
|
|
|
|
|
|
62 |
},
|
63 |
-
calendar
|
64 |
-
sameDay
|
65 |
-
nextDay
|
66 |
-
nextWeek
|
67 |
-
lastDay
|
68 |
-
lastWeek
|
69 |
-
sameElse
|
70 |
},
|
71 |
-
relativeTime
|
72 |
-
future
|
73 |
-
past
|
74 |
-
s
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
},
|
86 |
-
ordinalParse: /\d{1,2}\./,
|
87 |
-
ordinal : '%d.',
|
88 |
-
week : {
|
89 |
-
dow : 1, // Monday is the first day of the week.
|
90 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
91 |
-
}
|
92 |
});
|
93 |
|
94 |
return lv;
|
95 |
|
96 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Latvian [lv]
|
3 |
//! author : Kristaps Karlsons : https://github.com/skakri
|
4 |
//! author : Jānis Elmeris : https://github.com/JanisE
|
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 units = {
|
16 |
+
ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'),
|
17 |
+
m: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
|
18 |
+
mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
|
19 |
+
h: 'stundas_stundām_stunda_stundas'.split('_'),
|
20 |
+
hh: 'stundas_stundām_stunda_stundas'.split('_'),
|
21 |
+
d: 'dienas_dienām_diena_dienas'.split('_'),
|
22 |
+
dd: 'dienas_dienām_diena_dienas'.split('_'),
|
23 |
+
M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
|
24 |
+
MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
|
25 |
+
y: 'gada_gadiem_gads_gadi'.split('_'),
|
26 |
+
yy: 'gada_gadiem_gads_gadi'.split('_'),
|
27 |
};
|
28 |
/**
|
29 |
* @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
|
31 |
function format(forms, number, withoutSuffix) {
|
32 |
if (withoutSuffix) {
|
33 |
// E.g. "21 minūte", "3 minūtes".
|
34 |
+
return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];
|
35 |
} else {
|
36 |
// E.g. "21 minūtes" as in "pēc 21 minūtes".
|
37 |
// E.g. "3 minūtēm" as in "pēc 3 minūtēm".
|
38 |
+
return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];
|
39 |
}
|
40 |
}
|
41 |
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
49 |
}
|
50 |
|
51 |
var lv = moment.defineLocale('lv', {
|
52 |
+
months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split(
|
53 |
+
'_'
|
54 |
+
),
|
55 |
+
monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),
|
56 |
+
weekdays: 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split(
|
57 |
+
'_'
|
58 |
+
),
|
59 |
+
weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),
|
60 |
+
weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),
|
61 |
+
weekdaysParseExact: true,
|
62 |
+
longDateFormat: {
|
63 |
+
LT: 'HH:mm',
|
64 |
+
LTS: 'HH:mm:ss',
|
65 |
+
L: 'DD.MM.YYYY.',
|
66 |
+
LL: 'YYYY. [gada] D. MMMM',
|
67 |
+
LLL: 'YYYY. [gada] D. MMMM, HH:mm',
|
68 |
+
LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm',
|
69 |
},
|
70 |
+
calendar: {
|
71 |
+
sameDay: '[Šodien pulksten] LT',
|
72 |
+
nextDay: '[Rīt pulksten] LT',
|
73 |
+
nextWeek: 'dddd [pulksten] LT',
|
74 |
+
lastDay: '[Vakar pulksten] LT',
|
75 |
+
lastWeek: '[Pagājušā] dddd [pulksten] LT',
|
76 |
+
sameElse: 'L',
|
77 |
},
|
78 |
+
relativeTime: {
|
79 |
+
future: 'pēc %s',
|
80 |
+
past: 'pirms %s',
|
81 |
+
s: relativeSeconds,
|
82 |
+
ss: relativeTimeWithPlural,
|
83 |
+
m: relativeTimeWithSingular,
|
84 |
+
mm: relativeTimeWithPlural,
|
85 |
+
h: relativeTimeWithSingular,
|
86 |
+
hh: relativeTimeWithPlural,
|
87 |
+
d: relativeTimeWithSingular,
|
88 |
+
dd: relativeTimeWithPlural,
|
89 |
+
M: relativeTimeWithSingular,
|
90 |
+
MM: relativeTimeWithPlural,
|
91 |
+
y: relativeTimeWithSingular,
|
92 |
+
yy: relativeTimeWithPlural,
|
93 |
+
},
|
94 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
95 |
+
ordinal: '%d.',
|
96 |
+
week: {
|
97 |
+
dow: 1, // Monday is the first day of the week.
|
98 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
99 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
});
|
101 |
|
102 |
return lv;
|
103 |
|
104 |
+
})));
|
assets/js/moment/locale/me.js
CHANGED
@@ -1,51 +1,70 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Montenegrin
|
3 |
//! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac
|
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 |
|
13 |
var translator = {
|
14 |
-
words: {
|
|
|
|
|
15 |
m: ['jedan minut', 'jednog minuta'],
|
16 |
mm: ['minut', 'minuta', 'minuta'],
|
17 |
h: ['jedan sat', 'jednog sata'],
|
18 |
hh: ['sat', 'sata', 'sati'],
|
19 |
dd: ['dan', 'dana', 'dana'],
|
20 |
MM: ['mjesec', 'mjeseca', 'mjeseci'],
|
21 |
-
yy: ['godina', 'godine', 'godina']
|
22 |
},
|
23 |
correctGrammaticalCase: function (number, wordKey) {
|
24 |
-
return number === 1
|
|
|
|
|
|
|
|
|
25 |
},
|
26 |
translate: function (number, withoutSuffix, key) {
|
27 |
var wordKey = translator.words[key];
|
28 |
if (key.length === 1) {
|
29 |
return withoutSuffix ? wordKey[0] : wordKey[1];
|
30 |
} else {
|
31 |
-
return
|
|
|
|
|
|
|
|
|
32 |
}
|
33 |
-
}
|
34 |
};
|
35 |
|
36 |
var me = moment.defineLocale('me', {
|
37 |
-
months:
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
longDateFormat: {
|
43 |
LT: 'H:mm',
|
44 |
-
LTS
|
45 |
-
L: 'DD.
|
46 |
LL: 'D. MMMM YYYY',
|
47 |
LLL: 'D. MMMM YYYY H:mm',
|
48 |
-
LLLL: 'dddd, D. MMMM YYYY H:mm'
|
49 |
},
|
50 |
calendar: {
|
51 |
sameDay: '[danas u] LT',
|
@@ -53,21 +72,21 @@
|
|
53 |
|
54 |
nextWeek: function () {
|
55 |
switch (this.day()) {
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
}
|
68 |
},
|
69 |
-
lastDay
|
70 |
-
lastWeek
|
71 |
var lastWeekDays = [
|
72 |
'[prošle] [nedjelje] [u] LT',
|
73 |
'[prošlog] [ponedjeljka] [u] LT',
|
@@ -75,35 +94,36 @@
|
|
75 |
'[prošle] [srijede] [u] LT',
|
76 |
'[prošlog] [četvrtka] [u] LT',
|
77 |
'[prošlog] [petka] [u] LT',
|
78 |
-
'[prošle] [subote] [u] LT'
|
79 |
];
|
80 |
return lastWeekDays[this.day()];
|
81 |
},
|
82 |
-
sameElse
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
},
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
mm : translator.translate,
|
90 |
-
h : translator.translate,
|
91 |
-
hh : translator.translate,
|
92 |
-
d : 'dan',
|
93 |
-
dd : translator.translate,
|
94 |
-
M : 'mjesec',
|
95 |
-
MM : translator.translate,
|
96 |
-
y : 'godinu',
|
97 |
-
yy : translator.translate
|
98 |
},
|
99 |
-
ordinalParse: /\d{1,2}\./,
|
100 |
-
ordinal : '%d.',
|
101 |
-
week : {
|
102 |
-
dow : 1, // Monday is the first day of the week.
|
103 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
104 |
-
}
|
105 |
});
|
106 |
|
107 |
return me;
|
108 |
|
109 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Montenegrin [me]
|
3 |
//! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac
|
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 translator = {
|
15 |
+
words: {
|
16 |
+
//Different grammatical cases
|
17 |
+
ss: ['sekund', 'sekunda', 'sekundi'],
|
18 |
m: ['jedan minut', 'jednog minuta'],
|
19 |
mm: ['minut', 'minuta', 'minuta'],
|
20 |
h: ['jedan sat', 'jednog sata'],
|
21 |
hh: ['sat', 'sata', 'sati'],
|
22 |
dd: ['dan', 'dana', 'dana'],
|
23 |
MM: ['mjesec', 'mjeseca', 'mjeseci'],
|
24 |
+
yy: ['godina', 'godine', 'godina'],
|
25 |
},
|
26 |
correctGrammaticalCase: function (number, wordKey) {
|
27 |
+
return number === 1
|
28 |
+
? wordKey[0]
|
29 |
+
: number >= 2 && number <= 4
|
30 |
+
? wordKey[1]
|
31 |
+
: wordKey[2];
|
32 |
},
|
33 |
translate: function (number, withoutSuffix, key) {
|
34 |
var wordKey = translator.words[key];
|
35 |
if (key.length === 1) {
|
36 |
return withoutSuffix ? wordKey[0] : wordKey[1];
|
37 |
} else {
|
38 |
+
return (
|
39 |
+
number +
|
40 |
+
' ' +
|
41 |
+
translator.correctGrammaticalCase(number, wordKey)
|
42 |
+
);
|
43 |
}
|
44 |
+
},
|
45 |
};
|
46 |
|
47 |
var me = moment.defineLocale('me', {
|
48 |
+
months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(
|
49 |
+
'_'
|
50 |
+
),
|
51 |
+
monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split(
|
52 |
+
'_'
|
53 |
+
),
|
54 |
+
monthsParseExact: true,
|
55 |
+
weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
|
56 |
+
'_'
|
57 |
+
),
|
58 |
+
weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
|
59 |
+
weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
|
60 |
+
weekdaysParseExact: true,
|
61 |
longDateFormat: {
|
62 |
LT: 'H:mm',
|
63 |
+
LTS: 'H:mm:ss',
|
64 |
+
L: 'DD.MM.YYYY',
|
65 |
LL: 'D. MMMM YYYY',
|
66 |
LLL: 'D. MMMM YYYY H:mm',
|
67 |
+
LLLL: 'dddd, D. MMMM YYYY H:mm',
|
68 |
},
|
69 |
calendar: {
|
70 |
sameDay: '[danas u] LT',
|
72 |
|
73 |
nextWeek: function () {
|
74 |
switch (this.day()) {
|
75 |
+
case 0:
|
76 |
+
return '[u] [nedjelju] [u] LT';
|
77 |
+
case 3:
|
78 |
+
return '[u] [srijedu] [u] LT';
|
79 |
+
case 6:
|
80 |
+
return '[u] [subotu] [u] LT';
|
81 |
+
case 1:
|
82 |
+
case 2:
|
83 |
+
case 4:
|
84 |
+
case 5:
|
85 |
+
return '[u] dddd [u] LT';
|
86 |
}
|
87 |
},
|
88 |
+
lastDay: '[juče u] LT',
|
89 |
+
lastWeek: function () {
|
90 |
var lastWeekDays = [
|
91 |
'[prošle] [nedjelje] [u] LT',
|
92 |
'[prošlog] [ponedjeljka] [u] LT',
|
94 |
'[prošle] [srijede] [u] LT',
|
95 |
'[prošlog] [četvrtka] [u] LT',
|
96 |
'[prošlog] [petka] [u] LT',
|
97 |
+
'[prošle] [subote] [u] LT',
|
98 |
];
|
99 |
return lastWeekDays[this.day()];
|
100 |
},
|
101 |
+
sameElse: 'L',
|
102 |
+
},
|
103 |
+
relativeTime: {
|
104 |
+
future: 'za %s',
|
105 |
+
past: 'prije %s',
|
106 |
+
s: 'nekoliko sekundi',
|
107 |
+
ss: translator.translate,
|
108 |
+
m: translator.translate,
|
109 |
+
mm: translator.translate,
|
110 |
+
h: translator.translate,
|
111 |
+
hh: translator.translate,
|
112 |
+
d: 'dan',
|
113 |
+
dd: translator.translate,
|
114 |
+
M: 'mjesec',
|
115 |
+
MM: translator.translate,
|
116 |
+
y: 'godinu',
|
117 |
+
yy: translator.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: 7, // The week that contains Jan 7th is the first week of the year.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
});
|
126 |
|
127 |
return me;
|
128 |
|
129 |
+
})));
|
assets/js/moment/locale/mi.js
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Maori [mi]
|
3 |
+
//! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal
|
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 mi = moment.defineLocale('mi', {
|
15 |
+
months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
|
22 |
+
monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
|
23 |
+
monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
|
24 |
+
monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
|
25 |
+
weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
|
26 |
+
weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
|
27 |
+
weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
|
28 |
+
longDateFormat: {
|
29 |
+
LT: 'HH:mm',
|
30 |
+
LTS: 'HH:mm:ss',
|
31 |
+
L: 'DD/MM/YYYY',
|
32 |
+
LL: 'D MMMM YYYY',
|
33 |
+
LLL: 'D MMMM YYYY [i] HH:mm',
|
34 |
+
LLLL: 'dddd, D MMMM YYYY [i] HH:mm',
|
35 |
+
},
|
36 |
+
calendar: {
|
37 |
+
sameDay: '[i teie mahana, i] LT',
|
38 |
+
nextDay: '[apopo i] LT',
|
39 |
+
nextWeek: 'dddd [i] LT',
|
40 |
+
lastDay: '[inanahi i] LT',
|
41 |
+
lastWeek: 'dddd [whakamutunga i] LT',
|
42 |
+
sameElse: 'L',
|
43 |
+
},
|
44 |
+
relativeTime: {
|
45 |
+
future: 'i roto i %s',
|
46 |
+
past: '%s i mua',
|
47 |
+
s: 'te hēkona ruarua',
|
48 |
+
ss: '%d hēkona',
|
49 |
+
m: 'he meneti',
|
50 |
+
mm: '%d meneti',
|
51 |
+
h: 'te haora',
|
52 |
+
hh: '%d haora',
|
53 |
+
d: 'he ra',
|
54 |
+
dd: '%d ra',
|
55 |
+
M: 'he marama',
|
56 |
+
MM: '%d marama',
|
57 |
+
y: 'he tau',
|
58 |
+
yy: '%d tau',
|
59 |
+
},
|
60 |
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
61 |
+
ordinal: '%dº',
|
62 |
+
week: {
|
63 |
+
dow: 1, // Monday is the first day of the week.
|
64 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
65 |
+
},
|
66 |
+
});
|
67 |
+
|
68 |
+
return mi;
|
69 |
+
|
70 |
+
})));
|
assets/js/moment/locale/mk.js
CHANGED
@@ -1,66 +1,73 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Borislav Mickov : https://github.com/B0k0
|
|
|
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 |
|
13 |
var mk = moment.defineLocale('mk', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay
|
29 |
-
nextDay
|
30 |
-
nextWeek
|
31 |
-
lastDay
|
32 |
-
lastWeek
|
33 |
switch (this.day()) {
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
}
|
44 |
},
|
45 |
-
sameElse
|
46 |
},
|
47 |
-
relativeTime
|
48 |
-
future
|
49 |
-
past
|
50 |
-
s
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
|
|
61 |
},
|
62 |
-
|
63 |
-
ordinal
|
64 |
var lastDigit = number % 10,
|
65 |
last2Digits = number % 100;
|
66 |
if (number === 0) {
|
@@ -79,12 +86,12 @@
|
|
79 |
return number + '-ти';
|
80 |
}
|
81 |
},
|
82 |
-
week
|
83 |
-
dow
|
84 |
-
doy
|
85 |
-
}
|
86 |
});
|
87 |
|
88 |
return mk;
|
89 |
|
90 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Macedonian [mk]
|
3 |
//! author : Borislav Mickov : https://github.com/B0k0
|
4 |
+
//! author : Sashko Todorov : https://github.com/bkyceh
|
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 mk = moment.defineLocale('mk', {
|
16 |
+
months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split(
|
17 |
+
'_'
|
18 |
+
),
|
19 |
+
monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
|
20 |
+
weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split(
|
21 |
+
'_'
|
22 |
+
),
|
23 |
+
weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
|
24 |
+
weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'),
|
25 |
+
longDateFormat: {
|
26 |
+
LT: 'H:mm',
|
27 |
+
LTS: 'H:mm:ss',
|
28 |
+
L: 'D.MM.YYYY',
|
29 |
+
LL: 'D MMMM YYYY',
|
30 |
+
LLL: 'D MMMM YYYY H:mm',
|
31 |
+
LLLL: 'dddd, D MMMM YYYY H:mm',
|
32 |
},
|
33 |
+
calendar: {
|
34 |
+
sameDay: '[Денес во] LT',
|
35 |
+
nextDay: '[Утре во] LT',
|
36 |
+
nextWeek: '[Во] dddd [во] LT',
|
37 |
+
lastDay: '[Вчера во] LT',
|
38 |
+
lastWeek: function () {
|
39 |
switch (this.day()) {
|
40 |
+
case 0:
|
41 |
+
case 3:
|
42 |
+
case 6:
|
43 |
+
return '[Изминатата] dddd [во] LT';
|
44 |
+
case 1:
|
45 |
+
case 2:
|
46 |
+
case 4:
|
47 |
+
case 5:
|
48 |
+
return '[Изминатиот] dddd [во] LT';
|
49 |
}
|
50 |
},
|
51 |
+
sameElse: 'L',
|
52 |
},
|
53 |
+
relativeTime: {
|
54 |
+
future: 'за %s',
|
55 |
+
past: 'пред %s',
|
56 |
+
s: 'неколку секунди',
|
57 |
+
ss: '%d секунди',
|
58 |
+
m: 'една минута',
|
59 |
+
mm: '%d минути',
|
60 |
+
h: 'еден час',
|
61 |
+
hh: '%d часа',
|
62 |
+
d: 'еден ден',
|
63 |
+
dd: '%d дена',
|
64 |
+
M: 'еден месец',
|
65 |
+
MM: '%d месеци',
|
66 |
+
y: 'една година',
|
67 |
+
yy: '%d години',
|
68 |
},
|
69 |
+
dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
|
70 |
+
ordinal: function (number) {
|
71 |
var lastDigit = number % 10,
|
72 |
last2Digits = number % 100;
|
73 |
if (number === 0) {
|
86 |
return number + '-ти';
|
87 |
}
|
88 |
},
|
89 |
+
week: {
|
90 |
+
dow: 1, // Monday is the first day of the week.
|
91 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
92 |
+
},
|
93 |
});
|
94 |
|
95 |
return mk;
|
96 |
|
97 |
+
})));
|
assets/js/moment/locale/ml.js
CHANGED
@@ -1,57 +1,77 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Floyd Pink : https://github.com/floydpink
|
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 |
|
13 |
var ml = moment.defineLocale('ml', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay
|
29 |
-
nextDay
|
30 |
-
nextWeek
|
31 |
-
lastDay
|
32 |
-
lastWeek
|
33 |
-
sameElse
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
49 |
},
|
50 |
meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
|
51 |
-
|
52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
},
|
54 |
-
meridiem
|
55 |
if (hour < 4) {
|
56 |
return 'രാത്രി';
|
57 |
} else if (hour < 12) {
|
@@ -63,9 +83,9 @@
|
|
63 |
} else {
|
64 |
return 'രാത്രി';
|
65 |
}
|
66 |
-
}
|
67 |
});
|
68 |
|
69 |
return ml;
|
70 |
|
71 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Malayalam [ml]
|
3 |
//! author : Floyd Pink : https://github.com/floydpink
|
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 ml = moment.defineLocale('ml', {
|
15 |
+
months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsParseExact: true,
|
22 |
+
weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split(
|
23 |
+
'_'
|
24 |
+
),
|
25 |
+
weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
|
26 |
+
weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
|
27 |
+
longDateFormat: {
|
28 |
+
LT: 'A h:mm -നു',
|
29 |
+
LTS: 'A h:mm:ss -നു',
|
30 |
+
L: 'DD/MM/YYYY',
|
31 |
+
LL: 'D MMMM YYYY',
|
32 |
+
LLL: 'D MMMM YYYY, A h:mm -നു',
|
33 |
+
LLLL: 'dddd, D MMMM YYYY, A h:mm -നു',
|
34 |
},
|
35 |
+
calendar: {
|
36 |
+
sameDay: '[ഇന്ന്] LT',
|
37 |
+
nextDay: '[നാളെ] LT',
|
38 |
+
nextWeek: 'dddd, LT',
|
39 |
+
lastDay: '[ഇന്നലെ] LT',
|
40 |
+
lastWeek: '[കഴിഞ്ഞ] dddd, LT',
|
41 |
+
sameElse: 'L',
|
42 |
},
|
43 |
+
relativeTime: {
|
44 |
+
future: '%s കഴിഞ്ഞ്',
|
45 |
+
past: '%s മുൻപ്',
|
46 |
+
s: 'അൽപ നിമിഷങ്ങൾ',
|
47 |
+
ss: '%d സെക്കൻഡ്',
|
48 |
+
m: 'ഒരു മിനിറ്റ്',
|
49 |
+
mm: '%d മിനിറ്റ്',
|
50 |
+
h: 'ഒരു മണിക്കൂർ',
|
51 |
+
hh: '%d മണിക്കൂർ',
|
52 |
+
d: 'ഒരു ദിവസം',
|
53 |
+
dd: '%d ദിവസം',
|
54 |
+
M: 'ഒരു മാസം',
|
55 |
+
MM: '%d മാസം',
|
56 |
+
y: 'ഒരു വർഷം',
|
57 |
+
yy: '%d വർഷം',
|
58 |
},
|
59 |
meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
|
60 |
+
meridiemHour: function (hour, meridiem) {
|
61 |
+
if (hour === 12) {
|
62 |
+
hour = 0;
|
63 |
+
}
|
64 |
+
if (
|
65 |
+
(meridiem === 'രാത്രി' && hour >= 4) ||
|
66 |
+
meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||
|
67 |
+
meridiem === 'വൈകുന്നേരം'
|
68 |
+
) {
|
69 |
+
return hour + 12;
|
70 |
+
} else {
|
71 |
+
return hour;
|
72 |
+
}
|
73 |
},
|
74 |
+
meridiem: function (hour, minute, isLower) {
|
75 |
if (hour < 4) {
|
76 |
return 'രാത്രി';
|
77 |
} else if (hour < 12) {
|
83 |
} else {
|
84 |
return 'രാത്രി';
|
85 |
}
|
86 |
+
},
|
87 |
});
|
88 |
|
89 |
return ml;
|
90 |
|
91 |
+
})));
|
assets/js/moment/locale/mn.js
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Mongolian [mn]
|
3 |
+
//! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7
|
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, isFuture) {
|
15 |
+
switch (key) {
|
16 |
+
case 's':
|
17 |
+
return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';
|
18 |
+
case 'ss':
|
19 |
+
return number + (withoutSuffix ? ' секунд' : ' секундын');
|
20 |
+
case 'm':
|
21 |
+
case 'mm':
|
22 |
+
return number + (withoutSuffix ? ' минут' : ' минутын');
|
23 |
+
case 'h':
|
24 |
+
case 'hh':
|
25 |
+
return number + (withoutSuffix ? ' цаг' : ' цагийн');
|
26 |
+
case 'd':
|
27 |
+
case 'dd':
|
28 |
+
return number + (withoutSuffix ? ' өдөр' : ' өдрийн');
|
29 |
+
case 'M':
|
30 |
+
case 'MM':
|
31 |
+
return number + (withoutSuffix ? ' сар' : ' сарын');
|
32 |
+
case 'y':
|
33 |
+
case 'yy':
|
34 |
+
return number + (withoutSuffix ? ' жил' : ' жилийн');
|
35 |
+
default:
|
36 |
+
return number;
|
37 |
+
}
|
38 |
+
}
|
39 |
+
|
40 |
+
var mn = moment.defineLocale('mn', {
|
41 |
+
months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split(
|
42 |
+
'_'
|
43 |
+
),
|
44 |
+
monthsShort: '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split(
|
45 |
+
'_'
|
46 |
+
),
|
47 |
+
monthsParseExact: true,
|
48 |
+
weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'),
|
49 |
+
weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'),
|
50 |
+
weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'),
|
51 |
+
weekdaysParseExact: true,
|
52 |
+
longDateFormat: {
|
53 |
+
LT: 'HH:mm',
|
54 |
+
LTS: 'HH:mm:ss',
|
55 |
+
L: 'YYYY-MM-DD',
|
56 |
+
LL: 'YYYY оны MMMMын D',
|
57 |
+
LLL: 'YYYY оны MMMMын D HH:mm',
|
58 |
+
LLLL: 'dddd, YYYY оны MMMMын D HH:mm',
|
59 |
+
},
|
60 |
+
meridiemParse: /ҮӨ|ҮХ/i,
|
61 |
+
isPM: function (input) {
|
62 |
+
return input === 'ҮХ';
|
63 |
+
},
|
64 |
+
meridiem: function (hour, minute, isLower) {
|
65 |
+
if (hour < 12) {
|
66 |
+
return 'ҮӨ';
|
67 |
+
} else {
|
68 |
+
return 'ҮХ';
|
69 |
+
}
|
70 |
+
},
|
71 |
+
calendar: {
|
72 |
+
sameDay: '[Өнөөдөр] LT',
|
73 |
+
nextDay: '[Маргааш] LT',
|
74 |
+
nextWeek: '[Ирэх] dddd LT',
|
75 |
+
lastDay: '[Өчигдөр] LT',
|
76 |
+
lastWeek: '[Өнгөрсөн] dddd LT',
|
77 |
+
sameElse: 'L',
|
78 |
+
},
|
79 |
+
relativeTime: {
|
80 |
+
future: '%s дараа',
|
81 |
+
past: '%s өмнө',
|
82 |
+
s: translate,
|
83 |
+
ss: translate,
|
84 |
+
m: translate,
|
85 |
+
mm: translate,
|
86 |
+
h: translate,
|
87 |
+
hh: translate,
|
88 |
+
d: translate,
|
89 |
+
dd: translate,
|
90 |
+
M: translate,
|
91 |
+
MM: translate,
|
92 |
+
y: translate,
|
93 |
+
yy: translate,
|
94 |
+
},
|
95 |
+
dayOfMonthOrdinalParse: /\d{1,2} өдөр/,
|
96 |
+
ordinal: function (number, period) {
|
97 |
+
switch (period) {
|
98 |
+
case 'd':
|
99 |
+
case 'D':
|
100 |
+
case 'DDD':
|
101 |
+
return number + ' өдөр';
|
102 |
+
default:
|
103 |
+
return number;
|
104 |
+
}
|
105 |
+
},
|
106 |
+
});
|
107 |
+
|
108 |
+
return mn;
|
109 |
+
|
110 |
+
})));
|
assets/js/moment/locale/mr.js
CHANGED
@@ -1,103 +1,158 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Marathi
|
3 |
//! author : Harshad Kale : https://github.com/kalehv
|
4 |
//! author : Vivek Athalye : https://github.com/vnathalye
|
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 |
|
14 |
var symbolMap = {
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
|
39 |
-
function relativeTimeMr(number, withoutSuffix, string, isFuture)
|
40 |
-
{
|
41 |
var output = '';
|
42 |
if (withoutSuffix) {
|
43 |
switch (string) {
|
44 |
-
case 's':
|
45 |
-
|
46 |
-
|
47 |
-
case '
|
48 |
-
|
49 |
-
|
50 |
-
case '
|
51 |
-
|
52 |
-
|
53 |
-
case '
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
}
|
56 |
-
}
|
57 |
-
else {
|
58 |
switch (string) {
|
59 |
-
case 's':
|
60 |
-
|
61 |
-
|
62 |
-
case '
|
63 |
-
|
64 |
-
|
65 |
-
case '
|
66 |
-
|
67 |
-
|
68 |
-
case '
|
69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
}
|
71 |
}
|
72 |
return output.replace(/%d/i, number);
|
73 |
}
|
74 |
|
75 |
var mr = moment.defineLocale('mr', {
|
76 |
-
months
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
88 |
},
|
89 |
-
calendar
|
90 |
-
sameDay
|
91 |
-
nextDay
|
92 |
-
nextWeek
|
93 |
-
lastDay
|
94 |
lastWeek: '[मागील] dddd, LT',
|
95 |
-
sameElse
|
96 |
},
|
97 |
-
relativeTime
|
98 |
future: '%sमध्ये',
|
99 |
past: '%sपूर्वी',
|
100 |
s: relativeTimeMr,
|
|
|
101 |
m: relativeTimeMr,
|
102 |
mm: relativeTimeMr,
|
103 |
h: relativeTimeMr,
|
@@ -107,7 +162,7 @@
|
|
107 |
M: relativeTimeMr,
|
108 |
MM: relativeTimeMr,
|
109 |
y: relativeTimeMr,
|
110 |
-
yy: relativeTimeMr
|
111 |
},
|
112 |
preparse: function (string) {
|
113 |
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
@@ -119,25 +174,25 @@
|
|
119 |
return symbolMap[match];
|
120 |
});
|
121 |
},
|
122 |
-
meridiemParse:
|
123 |
-
meridiemHour
|
124 |
if (hour === 12) {
|
125 |
hour = 0;
|
126 |
}
|
127 |
-
if (meridiem === '
|
128 |
-
return hour < 4 ? hour : hour + 12;
|
129 |
-
} else if (meridiem === 'सकाळी') {
|
130 |
return hour;
|
131 |
-
} else if (
|
132 |
-
|
133 |
-
|
134 |
-
|
|
|
|
|
135 |
}
|
136 |
},
|
137 |
meridiem: function (hour, minute, isLower) {
|
138 |
-
if (hour <
|
139 |
-
return '
|
140 |
-
} else if (hour <
|
141 |
return 'सकाळी';
|
142 |
} else if (hour < 17) {
|
143 |
return 'दुपारी';
|
@@ -147,12 +202,12 @@
|
|
147 |
return 'रात्री';
|
148 |
}
|
149 |
},
|
150 |
-
week
|
151 |
-
dow
|
152 |
-
doy
|
153 |
-
}
|
154 |
});
|
155 |
|
156 |
return mr;
|
157 |
|
158 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Marathi [mr]
|
3 |
//! author : Harshad Kale : https://github.com/kalehv
|
4 |
//! author : Vivek Athalye : https://github.com/vnathalye
|
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 symbolMap = {
|
16 |
+
1: '१',
|
17 |
+
2: '२',
|
18 |
+
3: '३',
|
19 |
+
4: '४',
|
20 |
+
5: '५',
|
21 |
+
6: '६',
|
22 |
+
7: '७',
|
23 |
+
8: '८',
|
24 |
+
9: '९',
|
25 |
+
0: '०',
|
26 |
+
},
|
27 |
+
numberMap = {
|
28 |
+
'१': '1',
|
29 |
+
'२': '2',
|
30 |
+
'३': '3',
|
31 |
+
'४': '4',
|
32 |
+
'५': '5',
|
33 |
+
'६': '6',
|
34 |
+
'७': '7',
|
35 |
+
'८': '8',
|
36 |
+
'९': '9',
|
37 |
+
'०': '0',
|
38 |
+
};
|
39 |
|
40 |
+
function relativeTimeMr(number, withoutSuffix, string, isFuture) {
|
|
|
41 |
var output = '';
|
42 |
if (withoutSuffix) {
|
43 |
switch (string) {
|
44 |
+
case 's':
|
45 |
+
output = 'काही सेकंद';
|
46 |
+
break;
|
47 |
+
case 'ss':
|
48 |
+
output = '%d सेकंद';
|
49 |
+
break;
|
50 |
+
case 'm':
|
51 |
+
output = 'एक मिनिट';
|
52 |
+
break;
|
53 |
+
case 'mm':
|
54 |
+
output = '%d मिनिटे';
|
55 |
+
break;
|
56 |
+
case 'h':
|
57 |
+
output = 'एक तास';
|
58 |
+
break;
|
59 |
+
case 'hh':
|
60 |
+
output = '%d तास';
|
61 |
+
break;
|
62 |
+
case 'd':
|
63 |
+
output = 'एक दिवस';
|
64 |
+
break;
|
65 |
+
case 'dd':
|
66 |
+
output = '%d दिवस';
|
67 |
+
break;
|
68 |
+
case 'M':
|
69 |
+
output = 'एक महिना';
|
70 |
+
break;
|
71 |
+
case 'MM':
|
72 |
+
output = '%d महिने';
|
73 |
+
break;
|
74 |
+
case 'y':
|
75 |
+
output = 'एक वर्ष';
|
76 |
+
break;
|
77 |
+
case 'yy':
|
78 |
+
output = '%d वर्षे';
|
79 |
+
break;
|
80 |
}
|
81 |
+
} else {
|
|
|
82 |
switch (string) {
|
83 |
+
case 's':
|
84 |
+
output = 'काही सेकंदां';
|
85 |
+
break;
|
86 |
+
case 'ss':
|
87 |
+
output = '%d सेकंदां';
|
88 |
+
break;
|
89 |
+
case 'm':
|
90 |
+
output = 'एका मिनिटा';
|
91 |
+
break;
|
92 |
+
case 'mm':
|
93 |
+
output = '%d मिनिटां';
|
94 |
+
break;
|
95 |
+
case 'h':
|
96 |
+
output = 'एका तासा';
|
97 |
+
break;
|
98 |
+
case 'hh':
|
99 |
+
output = '%d तासां';
|
100 |
+
break;
|
101 |
+
case 'd':
|
102 |
+
output = 'एका दिवसा';
|
103 |
+
break;
|
104 |
+
case 'dd':
|
105 |
+
output = '%d दिवसां';
|
106 |
+
break;
|
107 |
+
case 'M':
|
108 |
+
output = 'एका महिन्या';
|
109 |
+
break;
|
110 |
+
case 'MM':
|
111 |
+
output = '%d महिन्यां';
|
112 |
+
break;
|
113 |
+
case 'y':
|
114 |
+
output = 'एका वर्षा';
|
115 |
+
break;
|
116 |
+
case 'yy':
|
117 |
+
output = '%d वर्षां';
|
118 |
+
break;
|
119 |
}
|
120 |
}
|
121 |
return output.replace(/%d/i, number);
|
122 |
}
|
123 |
|
124 |
var mr = moment.defineLocale('mr', {
|
125 |
+
months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
|
126 |
+
'_'
|
127 |
+
),
|
128 |
+
monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
|
129 |
+
'_'
|
130 |
+
),
|
131 |
+
monthsParseExact: true,
|
132 |
+
weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
|
133 |
+
weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
|
134 |
+
weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
|
135 |
+
longDateFormat: {
|
136 |
+
LT: 'A h:mm वाजता',
|
137 |
+
LTS: 'A h:mm:ss वाजता',
|
138 |
+
L: 'DD/MM/YYYY',
|
139 |
+
LL: 'D MMMM YYYY',
|
140 |
+
LLL: 'D MMMM YYYY, A h:mm वाजता',
|
141 |
+
LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता',
|
142 |
},
|
143 |
+
calendar: {
|
144 |
+
sameDay: '[आज] LT',
|
145 |
+
nextDay: '[उद्या] LT',
|
146 |
+
nextWeek: 'dddd, LT',
|
147 |
+
lastDay: '[काल] LT',
|
148 |
lastWeek: '[मागील] dddd, LT',
|
149 |
+
sameElse: 'L',
|
150 |
},
|
151 |
+
relativeTime: {
|
152 |
future: '%sमध्ये',
|
153 |
past: '%sपूर्वी',
|
154 |
s: relativeTimeMr,
|
155 |
+
ss: relativeTimeMr,
|
156 |
m: relativeTimeMr,
|
157 |
mm: relativeTimeMr,
|
158 |
h: relativeTimeMr,
|
162 |
M: relativeTimeMr,
|
163 |
MM: relativeTimeMr,
|
164 |
y: relativeTimeMr,
|
165 |
+
yy: relativeTimeMr,
|
166 |
},
|
167 |
preparse: function (string) {
|
168 |
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
174 |
return symbolMap[match];
|
175 |
});
|
176 |
},
|
177 |
+
meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,
|
178 |
+
meridiemHour: function (hour, meridiem) {
|
179 |
if (hour === 12) {
|
180 |
hour = 0;
|
181 |
}
|
182 |
+
if (meridiem === 'पहाटे' || meridiem === 'सकाळी') {
|
|
|
|
|
183 |
return hour;
|
184 |
+
} else if (
|
185 |
+
meridiem === 'दुपारी' ||
|
186 |
+
meridiem === 'सायंकाळी' ||
|
187 |
+
meridiem === 'रात्री'
|
188 |
+
) {
|
189 |
+
return hour >= 12 ? hour : hour + 12;
|
190 |
}
|
191 |
},
|
192 |
meridiem: function (hour, minute, isLower) {
|
193 |
+
if (hour >= 0 && hour < 6) {
|
194 |
+
return 'पहाटे';
|
195 |
+
} else if (hour < 12) {
|
196 |
return 'सकाळी';
|
197 |
} else if (hour < 17) {
|
198 |
return 'दुपारी';
|
202 |
return 'रात्री';
|
203 |
}
|
204 |
},
|
205 |
+
week: {
|
206 |
+
dow: 0, // Sunday is the first day of the week.
|
207 |
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
208 |
+
},
|
209 |
});
|
210 |
|
211 |
return mr;
|
212 |
|
213 |
+
})));
|
assets/js/moment/locale/ms-my.js
CHANGED
@@ -1,28 +1,32 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
|
|
3 |
//! author : Weldan Jamili : https://github.com/weldan
|
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 |
|
13 |
-
var
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
26 |
},
|
27 |
meridiemParse: /pagi|tengahari|petang|malam/,
|
28 |
meridiemHour: function (hour, meridiem) {
|
@@ -37,7 +41,7 @@
|
|
37 |
return hour + 12;
|
38 |
}
|
39 |
},
|
40 |
-
meridiem
|
41 |
if (hours < 11) {
|
42 |
return 'pagi';
|
43 |
} else if (hours < 15) {
|
@@ -48,35 +52,36 @@
|
|
48 |
return 'malam';
|
49 |
}
|
50 |
},
|
51 |
-
calendar
|
52 |
-
sameDay
|
53 |
-
nextDay
|
54 |
-
nextWeek
|
55 |
-
lastDay
|
56 |
-
lastWeek
|
57 |
-
sameElse
|
58 |
},
|
59 |
-
relativeTime
|
60 |
-
future
|
61 |
-
past
|
62 |
-
s
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
|
|
|
|
|
|
|
|
|
|
73 |
},
|
74 |
-
week : {
|
75 |
-
dow : 1, // Monday is the first day of the week.
|
76 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
77 |
-
}
|
78 |
});
|
79 |
|
80 |
-
return
|
81 |
|
82 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Malay [ms-my]
|
3 |
+
//! note : DEPRECATED, the correct one is [ms]
|
4 |
//! author : Weldan Jamili : https://github.com/weldan
|
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 msMy = moment.defineLocale('ms-my', {
|
16 |
+
months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
|
17 |
+
'_'
|
18 |
+
),
|
19 |
+
monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
|
20 |
+
weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
|
21 |
+
weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
|
22 |
+
weekdaysMin: 'Ah_Is_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|tengahari|petang|malam/,
|
32 |
meridiemHour: function (hour, meridiem) {
|
41 |
return hour + 12;
|
42 |
}
|
43 |
},
|
44 |
+
meridiem: function (hours, minutes, isLower) {
|
45 |
if (hours < 11) {
|
46 |
return 'pagi';
|
47 |
} else if (hours < 15) {
|
52 |
return 'malam';
|
53 |
}
|
54 |
},
|
55 |
+
calendar: {
|
56 |
+
sameDay: '[Hari ini pukul] LT',
|
57 |
+
nextDay: '[Esok pukul] LT',
|
58 |
+
nextWeek: 'dddd [pukul] LT',
|
59 |
+
lastDay: '[Kelmarin pukul] LT',
|
60 |
+
lastWeek: 'dddd [lepas pukul] LT',
|
61 |
+
sameElse: 'L',
|
62 |
},
|
63 |
+
relativeTime: {
|
64 |
+
future: 'dalam %s',
|
65 |
+
past: '%s yang lepas',
|
66 |
+
s: 'beberapa saat',
|
67 |
+
ss: '%d saat',
|
68 |
+
m: 'seminit',
|
69 |
+
mm: '%d minit',
|
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: 1, // Monday is the first day of the week.
|
81 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
82 |
},
|
|
|
|
|
|
|
|
|
83 |
});
|
84 |
|
85 |
+
return msMy;
|
86 |
|
87 |
+
})));
|
assets/js/moment/locale/ms.js
CHANGED
@@ -1,28 +1,31 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Weldan Jamili : https://github.com/weldan
|
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 |
|
13 |
var ms = moment.defineLocale('ms', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
26 |
},
|
27 |
meridiemParse: /pagi|tengahari|petang|malam/,
|
28 |
meridiemHour: function (hour, meridiem) {
|
@@ -37,7 +40,7 @@
|
|
37 |
return hour + 12;
|
38 |
}
|
39 |
},
|
40 |
-
meridiem
|
41 |
if (hours < 11) {
|
42 |
return 'pagi';
|
43 |
} else if (hours < 15) {
|
@@ -48,35 +51,36 @@
|
|
48 |
return 'malam';
|
49 |
}
|
50 |
},
|
51 |
-
calendar
|
52 |
-
sameDay
|
53 |
-
nextDay
|
54 |
-
nextWeek
|
55 |
-
lastDay
|
56 |
-
lastWeek
|
57 |
-
sameElse
|
58 |
},
|
59 |
-
relativeTime
|
60 |
-
future
|
61 |
-
past
|
62 |
-
s
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
|
|
|
|
|
|
|
|
|
|
73 |
},
|
74 |
-
week : {
|
75 |
-
dow : 1, // Monday is the first day of the week.
|
76 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
77 |
-
}
|
78 |
});
|
79 |
|
80 |
return ms;
|
81 |
|
82 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Malay [ms]
|
3 |
//! author : Weldan Jamili : https://github.com/weldan
|
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 ms = moment.defineLocale('ms', {
|
15 |
+
months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
|
19 |
+
weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
|
20 |
+
weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
|
21 |
+
weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
|
22 |
+
longDateFormat: {
|
23 |
+
LT: 'HH.mm',
|
24 |
+
LTS: 'HH.mm.ss',
|
25 |
+
L: 'DD/MM/YYYY',
|
26 |
+
LL: 'D MMMM YYYY',
|
27 |
+
LLL: 'D MMMM YYYY [pukul] HH.mm',
|
28 |
+
LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
|
29 |
},
|
30 |
meridiemParse: /pagi|tengahari|petang|malam/,
|
31 |
meridiemHour: function (hour, meridiem) {
|
40 |
return hour + 12;
|
41 |
}
|
42 |
},
|
43 |
+
meridiem: function (hours, minutes, isLower) {
|
44 |
if (hours < 11) {
|
45 |
return 'pagi';
|
46 |
} else if (hours < 15) {
|
51 |
return 'malam';
|
52 |
}
|
53 |
},
|
54 |
+
calendar: {
|
55 |
+
sameDay: '[Hari ini pukul] LT',
|
56 |
+
nextDay: '[Esok pukul] LT',
|
57 |
+
nextWeek: 'dddd [pukul] LT',
|
58 |
+
lastDay: '[Kelmarin pukul] LT',
|
59 |
+
lastWeek: 'dddd [lepas pukul] LT',
|
60 |
+
sameElse: 'L',
|
61 |
},
|
62 |
+
relativeTime: {
|
63 |
+
future: 'dalam %s',
|
64 |
+
past: '%s yang lepas',
|
65 |
+
s: 'beberapa saat',
|
66 |
+
ss: '%d saat',
|
67 |
+
m: 'seminit',
|
68 |
+
mm: '%d minit',
|
69 |
+
h: 'sejam',
|
70 |
+
hh: '%d jam',
|
71 |
+
d: 'sehari',
|
72 |
+
dd: '%d hari',
|
73 |
+
M: 'sebulan',
|
74 |
+
MM: '%d bulan',
|
75 |
+
y: 'setahun',
|
76 |
+
yy: '%d tahun',
|
77 |
+
},
|
78 |
+
week: {
|
79 |
+
dow: 1, // Monday is the first day of the week.
|
80 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
81 |
},
|
|
|
|
|
|
|
|
|
82 |
});
|
83 |
|
84 |
return ms;
|
85 |
|
86 |
+
})));
|
assets/js/moment/locale/mt.js
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Maltese (Malta) [mt]
|
3 |
+
//! author : Alessandro Maruccia : https://github.com/alesma
|
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 mt = moment.defineLocale('mt', {
|
15 |
+
months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
|
19 |
+
weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
|
23 |
+
weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'HH:mm',
|
26 |
+
LTS: 'HH:mm:ss',
|
27 |
+
L: 'DD/MM/YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY HH:mm',
|
30 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
31 |
+
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: '[Illum fil-]LT',
|
34 |
+
nextDay: '[Għada fil-]LT',
|
35 |
+
nextWeek: 'dddd [fil-]LT',
|
36 |
+
lastDay: '[Il-bieraħ fil-]LT',
|
37 |
+
lastWeek: 'dddd [li għadda] [fil-]LT',
|
38 |
+
sameElse: 'L',
|
39 |
+
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'f’ %s',
|
42 |
+
past: '%s ilu',
|
43 |
+
s: 'ftit sekondi',
|
44 |
+
ss: '%d sekondi',
|
45 |
+
m: 'minuta',
|
46 |
+
mm: '%d minuti',
|
47 |
+
h: 'siegħa',
|
48 |
+
hh: '%d siegħat',
|
49 |
+
d: 'ġurnata',
|
50 |
+
dd: '%d ġranet',
|
51 |
+
M: 'xahar',
|
52 |
+
MM: '%d xhur',
|
53 |
+
y: 'sena',
|
54 |
+
yy: '%d sni',
|
55 |
+
},
|
56 |
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
57 |
+
ordinal: '%dº',
|
58 |
+
week: {
|
59 |
+
dow: 1, // Monday is the first day of the week.
|
60 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
61 |
+
},
|
62 |
+
});
|
63 |
+
|
64 |
+
return mt;
|
65 |
+
|
66 |
+
})));
|
assets/js/moment/locale/my.js
CHANGED
@@ -1,43 +1,51 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Burmese
|
3 |
//! author : Squar team, mysquar.com
|
|
|
|
|
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 |
|
13 |
var symbolMap = {
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
36 |
|
37 |
var my = moment.defineLocale('my', {
|
38 |
-
months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split(
|
|
|
|
|
39 |
monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
|
40 |
-
weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split(
|
|
|
|
|
41 |
weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
|
42 |
weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
|
43 |
|
@@ -47,7 +55,7 @@
|
|
47 |
L: 'DD/MM/YYYY',
|
48 |
LL: 'D MMMM YYYY',
|
49 |
LLL: 'D MMMM YYYY HH:mm',
|
50 |
-
LLLL: 'dddd D MMMM YYYY HH:mm'
|
51 |
},
|
52 |
calendar: {
|
53 |
sameDay: '[ယနေ.] LT [မှာ]',
|
@@ -55,12 +63,13 @@
|
|
55 |
nextWeek: 'dddd LT [မှာ]',
|
56 |
lastDay: '[မနေ.က] LT [မှာ]',
|
57 |
lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
|
58 |
-
sameElse: 'L'
|
59 |
},
|
60 |
relativeTime: {
|
61 |
future: 'လာမည့် %s မှာ',
|
62 |
past: 'လွန်ခဲ့သော %s က',
|
63 |
s: 'စက္ကန်.အနည်းငယ်',
|
|
|
64 |
m: 'တစ်မိနစ်',
|
65 |
mm: '%d မိနစ်',
|
66 |
h: 'တစ်နာရီ',
|
@@ -70,7 +79,7 @@
|
|
70 |
M: 'တစ်လ',
|
71 |
MM: '%d လ',
|
72 |
y: 'တစ်နှစ်',
|
73 |
-
yy: '%d နှစ်'
|
74 |
},
|
75 |
preparse: function (string) {
|
76 |
return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
|
@@ -84,10 +93,10 @@
|
|
84 |
},
|
85 |
week: {
|
86 |
dow: 1, // Monday is the first day of the week.
|
87 |
-
doy: 4 // The week that contains Jan
|
88 |
-
}
|
89 |
});
|
90 |
|
91 |
return my;
|
92 |
|
93 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Burmese [my]
|
3 |
//! author : Squar team, mysquar.com
|
4 |
+
//! author : David Rossellat : https://github.com/gholadr
|
5 |
+
//! author : Tin Aung Lin : https://github.com/thanyawzinmin
|
6 |
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
+
}(this, (function (moment) { 'use strict';
|
13 |
|
14 |
+
//! moment.js locale configuration
|
15 |
|
16 |
var symbolMap = {
|
17 |
+
1: '၁',
|
18 |
+
2: '၂',
|
19 |
+
3: '၃',
|
20 |
+
4: '၄',
|
21 |
+
5: '၅',
|
22 |
+
6: '၆',
|
23 |
+
7: '၇',
|
24 |
+
8: '၈',
|
25 |
+
9: '၉',
|
26 |
+
0: '၀',
|
27 |
+
},
|
28 |
+
numberMap = {
|
29 |
+
'၁': '1',
|
30 |
+
'၂': '2',
|
31 |
+
'၃': '3',
|
32 |
+
'၄': '4',
|
33 |
+
'၅': '5',
|
34 |
+
'၆': '6',
|
35 |
+
'၇': '7',
|
36 |
+
'၈': '8',
|
37 |
+
'၉': '9',
|
38 |
+
'၀': '0',
|
39 |
+
};
|
40 |
|
41 |
var my = moment.defineLocale('my', {
|
42 |
+
months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split(
|
43 |
+
'_'
|
44 |
+
),
|
45 |
monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
|
46 |
+
weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split(
|
47 |
+
'_'
|
48 |
+
),
|
49 |
weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
|
50 |
weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
|
51 |
|
55 |
L: 'DD/MM/YYYY',
|
56 |
LL: 'D MMMM YYYY',
|
57 |
LLL: 'D MMMM YYYY HH:mm',
|
58 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
59 |
},
|
60 |
calendar: {
|
61 |
sameDay: '[ယနေ.] LT [မှာ]',
|
63 |
nextWeek: 'dddd LT [မှာ]',
|
64 |
lastDay: '[မနေ.က] LT [မှာ]',
|
65 |
lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
|
66 |
+
sameElse: 'L',
|
67 |
},
|
68 |
relativeTime: {
|
69 |
future: 'လာမည့် %s မှာ',
|
70 |
past: 'လွန်ခဲ့သော %s က',
|
71 |
s: 'စက္ကန်.အနည်းငယ်',
|
72 |
+
ss: '%d စက္ကန့်',
|
73 |
m: 'တစ်မိနစ်',
|
74 |
mm: '%d မိနစ်',
|
75 |
h: 'တစ်နာရီ',
|
79 |
M: 'တစ်လ',
|
80 |
MM: '%d လ',
|
81 |
y: 'တစ်နှစ်',
|
82 |
+
yy: '%d နှစ်',
|
83 |
},
|
84 |
preparse: function (string) {
|
85 |
return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
|
93 |
},
|
94 |
week: {
|
95 |
dow: 1, // Monday is the first day of the week.
|
96 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
97 |
+
},
|
98 |
});
|
99 |
|
100 |
return my;
|
101 |
|
102 |
+
})));
|
assets/js/moment/locale/nb.js
CHANGED
@@ -1,61 +1,72 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! authors : Espen Hovlandsdal : https://github.com/rexxars
|
4 |
//! Sigurd Gartmann : https://github.com/sigurdga
|
|
|
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 |
|
14 |
var nb = moment.defineLocale('nb', {
|
15 |
-
months
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
},
|
28 |
-
calendar
|
29 |
sameDay: '[i dag kl.] LT',
|
30 |
nextDay: '[i morgen kl.] LT',
|
31 |
nextWeek: 'dddd [kl.] LT',
|
32 |
lastDay: '[i går kl.] LT',
|
33 |
lastWeek: '[forrige] dddd [kl.] LT',
|
34 |
-
sameElse: 'L'
|
35 |
},
|
36 |
-
relativeTime
|
37 |
-
future
|
38 |
-
past
|
39 |
-
s
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
},
|
51 |
-
ordinalParse: /\d{1,2}\./,
|
52 |
-
ordinal : '%d.',
|
53 |
-
week : {
|
54 |
-
dow : 1, // Monday is the first day of the week.
|
55 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
56 |
-
}
|
57 |
});
|
58 |
|
59 |
return nb;
|
60 |
|
61 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Norwegian Bokmål [nb]
|
3 |
//! authors : Espen Hovlandsdal : https://github.com/rexxars
|
4 |
//! Sigurd Gartmann : https://github.com/sigurdga
|
5 |
+
//! Stephen Ramthun : https://github.com/stephenramthun
|
6 |
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
+
}(this, (function (moment) { 'use strict';
|
13 |
|
14 |
+
//! moment.js locale configuration
|
15 |
|
16 |
var nb = moment.defineLocale('nb', {
|
17 |
+
months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
|
18 |
+
'_'
|
19 |
+
),
|
20 |
+
monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split(
|
21 |
+
'_'
|
22 |
+
),
|
23 |
+
monthsParseExact: true,
|
24 |
+
weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
|
25 |
+
weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
|
26 |
+
weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
|
27 |
+
weekdaysParseExact: true,
|
28 |
+
longDateFormat: {
|
29 |
+
LT: 'HH:mm',
|
30 |
+
LTS: 'HH:mm:ss',
|
31 |
+
L: 'DD.MM.YYYY',
|
32 |
+
LL: 'D. MMMM YYYY',
|
33 |
+
LLL: 'D. MMMM YYYY [kl.] HH:mm',
|
34 |
+
LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
|
35 |
},
|
36 |
+
calendar: {
|
37 |
sameDay: '[i dag kl.] LT',
|
38 |
nextDay: '[i morgen kl.] LT',
|
39 |
nextWeek: 'dddd [kl.] LT',
|
40 |
lastDay: '[i går kl.] LT',
|
41 |
lastWeek: '[forrige] dddd [kl.] LT',
|
42 |
+
sameElse: 'L',
|
43 |
},
|
44 |
+
relativeTime: {
|
45 |
+
future: 'om %s',
|
46 |
+
past: '%s siden',
|
47 |
+
s: 'noen sekunder',
|
48 |
+
ss: '%d sekunder',
|
49 |
+
m: 'ett minutt',
|
50 |
+
mm: '%d minutter',
|
51 |
+
h: 'en time',
|
52 |
+
hh: '%d timer',
|
53 |
+
d: 'en dag',
|
54 |
+
dd: '%d dager',
|
55 |
+
w: 'en uke',
|
56 |
+
ww: '%d uker',
|
57 |
+
M: 'en måned',
|
58 |
+
MM: '%d måneder',
|
59 |
+
y: 'ett år',
|
60 |
+
yy: '%d år',
|
61 |
+
},
|
62 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
63 |
+
ordinal: '%d.',
|
64 |
+
week: {
|
65 |
+
dow: 1, // Monday is the first day of the week.
|
66 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
67 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
});
|
69 |
|
70 |
return nb;
|
71 |
|
72 |
+
})));
|
assets/js/moment/locale/ne.js
CHANGED
@@ -1,53 +1,62 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : suvash : https://github.com/suvash
|
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 |
|
13 |
var symbolMap = {
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
|
38 |
var ne = moment.defineLocale('ne', {
|
39 |
-
months
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
},
|
52 |
preparse: function (string) {
|
53 |
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
@@ -60,7 +69,7 @@
|
|
60 |
});
|
61 |
},
|
62 |
meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
|
63 |
-
meridiemHour
|
64 |
if (hour === 12) {
|
65 |
hour = 0;
|
66 |
}
|
@@ -74,7 +83,7 @@
|
|
74 |
return hour + 12;
|
75 |
}
|
76 |
},
|
77 |
-
meridiem
|
78 |
if (hour < 3) {
|
79 |
return 'राति';
|
80 |
} else if (hour < 12) {
|
@@ -87,35 +96,36 @@
|
|
87 |
return 'राति';
|
88 |
}
|
89 |
},
|
90 |
-
calendar
|
91 |
-
sameDay
|
92 |
-
nextDay
|
93 |
-
nextWeek
|
94 |
-
lastDay
|
95 |
-
lastWeek
|
96 |
-
sameElse
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
},
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
s : 'केही क्षण',
|
102 |
-
m : 'एक मिनेट',
|
103 |
-
mm : '%d मिनेट',
|
104 |
-
h : 'एक घण्टा',
|
105 |
-
hh : '%d घण्टा',
|
106 |
-
d : 'एक दिन',
|
107 |
-
dd : '%d दिन',
|
108 |
-
M : 'एक महिना',
|
109 |
-
MM : '%d महिना',
|
110 |
-
y : 'एक बर्ष',
|
111 |
-
yy : '%d बर्ष'
|
112 |
},
|
113 |
-
week : {
|
114 |
-
dow : 0, // Sunday is the first day of the week.
|
115 |
-
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
116 |
-
}
|
117 |
});
|
118 |
|
119 |
return ne;
|
120 |
|
121 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Nepalese [ne]
|
3 |
//! author : suvash : https://github.com/suvash
|
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 |
|
39 |
var ne = moment.defineLocale('ne', {
|
40 |
+
months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split(
|
41 |
+
'_'
|
42 |
+
),
|
43 |
+
monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split(
|
44 |
+
'_'
|
45 |
+
),
|
46 |
+
monthsParseExact: true,
|
47 |
+
weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split(
|
48 |
+
'_'
|
49 |
+
),
|
50 |
+
weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
|
51 |
+
weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
|
52 |
+
weekdaysParseExact: true,
|
53 |
+
longDateFormat: {
|
54 |
+
LT: 'Aको h:mm बजे',
|
55 |
+
LTS: 'Aको h:mm:ss बजे',
|
56 |
+
L: 'DD/MM/YYYY',
|
57 |
+
LL: 'D MMMM YYYY',
|
58 |
+
LLL: 'D MMMM YYYY, Aको h:mm बजे',
|
59 |
+
LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे',
|
60 |
},
|
61 |
preparse: function (string) {
|
62 |
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
69 |
});
|
70 |
},
|
71 |
meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
|
72 |
+
meridiemHour: function (hour, meridiem) {
|
73 |
if (hour === 12) {
|
74 |
hour = 0;
|
75 |
}
|
83 |
return hour + 12;
|
84 |
}
|
85 |
},
|
86 |
+
meridiem: function (hour, minute, isLower) {
|
87 |
if (hour < 3) {
|
88 |
return 'राति';
|
89 |
} else if (hour < 12) {
|
96 |
return 'राति';
|
97 |
}
|
98 |
},
|
99 |
+
calendar: {
|
100 |
+
sameDay: '[आज] LT',
|
101 |
+
nextDay: '[भोलि] LT',
|
102 |
+
nextWeek: '[आउँदो] dddd[,] LT',
|
103 |
+
lastDay: '[हिजो] LT',
|
104 |
+
lastWeek: '[गएको] dddd[,] LT',
|
105 |
+
sameElse: 'L',
|
106 |
+
},
|
107 |
+
relativeTime: {
|
108 |
+
future: '%sमा',
|
109 |
+
past: '%s अगाडि',
|
110 |
+
s: 'केही क्षण',
|
111 |
+
ss: '%d सेकेण्ड',
|
112 |
+
m: 'एक मिनेट',
|
113 |
+
mm: '%d मिनेट',
|
114 |
+
h: 'एक घण्टा',
|
115 |
+
hh: '%d घण्टा',
|
116 |
+
d: 'एक दिन',
|
117 |
+
dd: '%d दिन',
|
118 |
+
M: 'एक महिना',
|
119 |
+
MM: '%d महिना',
|
120 |
+
y: 'एक बर्ष',
|
121 |
+
yy: '%d बर्ष',
|
122 |
},
|
123 |
+
week: {
|
124 |
+
dow: 0, // Sunday is the first day of the week.
|
125 |
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
},
|
|
|
|
|
|
|
|
|
127 |
});
|
128 |
|
129 |
return ne;
|
130 |
|
131 |
+
})));
|
assets/js/moment/locale/nl-be.js
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Dutch (Belgium) [nl-be]
|
3 |
+
//! author : Joris Röling : https://github.com/jorisroling
|
4 |
+
//! author : Jacob Middag : https://github.com/middagj
|
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 monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsParse = [
|
22 |
+
/^jan/i,
|
23 |
+
/^feb/i,
|
24 |
+
/^maart|mrt.?$/i,
|
25 |
+
/^apr/i,
|
26 |
+
/^mei$/i,
|
27 |
+
/^jun[i.]?$/i,
|
28 |
+
/^jul[i.]?$/i,
|
29 |
+
/^aug/i,
|
30 |
+
/^sep/i,
|
31 |
+
/^okt/i,
|
32 |
+
/^nov/i,
|
33 |
+
/^dec/i,
|
34 |
+
],
|
35 |
+
monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
|
36 |
+
|
37 |
+
var nlBe = moment.defineLocale('nl-be', {
|
38 |
+
months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
|
39 |
+
'_'
|
40 |
+
),
|
41 |
+
monthsShort: function (m, format) {
|
42 |
+
if (!m) {
|
43 |
+
return monthsShortWithDots;
|
44 |
+
} else if (/-MMM-/.test(format)) {
|
45 |
+
return monthsShortWithoutDots[m.month()];
|
46 |
+
} else {
|
47 |
+
return monthsShortWithDots[m.month()];
|
48 |
+
}
|
49 |
+
},
|
50 |
+
|
51 |
+
monthsRegex: monthsRegex,
|
52 |
+
monthsShortRegex: monthsRegex,
|
53 |
+
monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
|
54 |
+
monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
55 |
+
|
56 |
+
monthsParse: monthsParse,
|
57 |
+
longMonthsParse: monthsParse,
|
58 |
+
shortMonthsParse: monthsParse,
|
59 |
+
|
60 |
+
weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split(
|
61 |
+
'_'
|
62 |
+
),
|
63 |
+
weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
|
64 |
+
weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
|
65 |
+
weekdaysParseExact: true,
|
66 |
+
longDateFormat: {
|
67 |
+
LT: 'HH:mm',
|
68 |
+
LTS: 'HH:mm:ss',
|
69 |
+
L: 'DD/MM/YYYY',
|
70 |
+
LL: 'D MMMM YYYY',
|
71 |
+
LLL: 'D MMMM YYYY HH:mm',
|
72 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
73 |
+
},
|
74 |
+
calendar: {
|
75 |
+
sameDay: '[vandaag om] LT',
|
76 |
+
nextDay: '[morgen om] LT',
|
77 |
+
nextWeek: 'dddd [om] LT',
|
78 |
+
lastDay: '[gisteren om] LT',
|
79 |
+
lastWeek: '[afgelopen] dddd [om] LT',
|
80 |
+
sameElse: 'L',
|
81 |
+
},
|
82 |
+
relativeTime: {
|
83 |
+
future: 'over %s',
|
84 |
+
past: '%s geleden',
|
85 |
+
s: 'een paar seconden',
|
86 |
+
ss: '%d seconden',
|
87 |
+
m: 'één minuut',
|
88 |
+
mm: '%d minuten',
|
89 |
+
h: 'één uur',
|
90 |
+
hh: '%d uur',
|
91 |
+
d: 'één dag',
|
92 |
+
dd: '%d dagen',
|
93 |
+
M: 'één maand',
|
94 |
+
MM: '%d maanden',
|
95 |
+
y: 'één jaar',
|
96 |
+
yy: '%d jaar',
|
97 |
+
},
|
98 |
+
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
99 |
+
ordinal: function (number) {
|
100 |
+
return (
|
101 |
+
number +
|
102 |
+
(number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
|
103 |
+
);
|
104 |
+
},
|
105 |
+
week: {
|
106 |
+
dow: 1, // Monday is the first day of the week.
|
107 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
108 |
+
},
|
109 |
+
});
|
110 |
+
|
111 |
+
return nlBe;
|
112 |
+
|
113 |
+
})));
|
assets/js/moment/locale/nl.js
CHANGED
@@ -1,71 +1,115 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
-
//! author : Joris Röling : https://github.com/
|
|
|
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 |
|
13 |
-
var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split(
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
var nl = moment.defineLocale('nl', {
|
17 |
-
months
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
20 |
return monthsShortWithoutDots[m.month()];
|
21 |
} else {
|
22 |
return monthsShortWithDots[m.month()];
|
23 |
}
|
24 |
},
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
},
|
36 |
-
calendar
|
37 |
sameDay: '[vandaag om] LT',
|
38 |
nextDay: '[morgen om] LT',
|
39 |
nextWeek: 'dddd [om] LT',
|
40 |
lastDay: '[gisteren om] LT',
|
41 |
lastWeek: '[afgelopen] dddd [om] LT',
|
42 |
-
sameElse: 'L'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
},
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
h : 'één uur',
|
51 |
-
hh : '%d uur',
|
52 |
-
d : 'één dag',
|
53 |
-
dd : '%d dagen',
|
54 |
-
M : 'één maand',
|
55 |
-
MM : '%d maanden',
|
56 |
-
y : 'één jaar',
|
57 |
-
yy : '%d jaar'
|
58 |
},
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
},
|
63 |
-
week : {
|
64 |
-
dow : 1, // Monday is the first day of the week.
|
65 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
66 |
-
}
|
67 |
});
|
68 |
|
69 |
return nl;
|
70 |
|
71 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Dutch [nl]
|
3 |
+
//! author : Joris Röling : https://github.com/jorisroling
|
4 |
+
//! author : Jacob Middag : https://github.com/middagj
|
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 monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsParse = [
|
22 |
+
/^jan/i,
|
23 |
+
/^feb/i,
|
24 |
+
/^maart|mrt.?$/i,
|
25 |
+
/^apr/i,
|
26 |
+
/^mei$/i,
|
27 |
+
/^jun[i.]?$/i,
|
28 |
+
/^jul[i.]?$/i,
|
29 |
+
/^aug/i,
|
30 |
+
/^sep/i,
|
31 |
+
/^okt/i,
|
32 |
+
/^nov/i,
|
33 |
+
/^dec/i,
|
34 |
+
],
|
35 |
+
monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
|
36 |
|
37 |
var nl = moment.defineLocale('nl', {
|
38 |
+
months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
|
39 |
+
'_'
|
40 |
+
),
|
41 |
+
monthsShort: function (m, format) {
|
42 |
+
if (!m) {
|
43 |
+
return monthsShortWithDots;
|
44 |
+
} else if (/-MMM-/.test(format)) {
|
45 |
return monthsShortWithoutDots[m.month()];
|
46 |
} else {
|
47 |
return monthsShortWithDots[m.month()];
|
48 |
}
|
49 |
},
|
50 |
+
|
51 |
+
monthsRegex: monthsRegex,
|
52 |
+
monthsShortRegex: monthsRegex,
|
53 |
+
monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
|
54 |
+
monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
55 |
+
|
56 |
+
monthsParse: monthsParse,
|
57 |
+
longMonthsParse: monthsParse,
|
58 |
+
shortMonthsParse: monthsParse,
|
59 |
+
|
60 |
+
weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split(
|
61 |
+
'_'
|
62 |
+
),
|
63 |
+
weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
|
64 |
+
weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
|
65 |
+
weekdaysParseExact: true,
|
66 |
+
longDateFormat: {
|
67 |
+
LT: 'HH:mm',
|
68 |
+
LTS: 'HH:mm:ss',
|
69 |
+
L: 'DD-MM-YYYY',
|
70 |
+
LL: 'D MMMM YYYY',
|
71 |
+
LLL: 'D MMMM YYYY HH:mm',
|
72 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
73 |
},
|
74 |
+
calendar: {
|
75 |
sameDay: '[vandaag om] LT',
|
76 |
nextDay: '[morgen om] LT',
|
77 |
nextWeek: 'dddd [om] LT',
|
78 |
lastDay: '[gisteren om] LT',
|
79 |
lastWeek: '[afgelopen] dddd [om] LT',
|
80 |
+
sameElse: 'L',
|
81 |
+
},
|
82 |
+
relativeTime: {
|
83 |
+
future: 'over %s',
|
84 |
+
past: '%s geleden',
|
85 |
+
s: 'een paar seconden',
|
86 |
+
ss: '%d seconden',
|
87 |
+
m: 'één minuut',
|
88 |
+
mm: '%d minuten',
|
89 |
+
h: 'één uur',
|
90 |
+
hh: '%d uur',
|
91 |
+
d: 'één dag',
|
92 |
+
dd: '%d dagen',
|
93 |
+
w: 'één week',
|
94 |
+
ww: '%d weken',
|
95 |
+
M: 'één maand',
|
96 |
+
MM: '%d maanden',
|
97 |
+
y: 'één jaar',
|
98 |
+
yy: '%d jaar',
|
99 |
},
|
100 |
+
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
101 |
+
ordinal: function (number) {
|
102 |
+
return (
|
103 |
+
number +
|
104 |
+
(number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
|
105 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
},
|
107 |
+
week: {
|
108 |
+
dow: 1, // Monday is the first day of the week.
|
109 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
110 |
},
|
|
|
|
|
|
|
|
|
111 |
});
|
112 |
|
113 |
return nl;
|
114 |
|
115 |
+
})));
|
assets/js/moment/locale/nn.js
CHANGED
@@ -1,60 +1,71 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
-
//!
|
|
|
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 |
|
13 |
var nn = moment.defineLocale('nn', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
sameDay: '[I dag klokka] LT',
|
29 |
nextDay: '[I morgon klokka] LT',
|
30 |
nextWeek: 'dddd [klokka] LT',
|
31 |
lastDay: '[I går klokka] LT',
|
32 |
lastWeek: '[Føregåande] dddd [klokka] LT',
|
33 |
-
sameElse: 'L'
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
},
|
50 |
-
ordinalParse: /\d{1,2}\./,
|
51 |
-
ordinal : '%d.',
|
52 |
-
week : {
|
53 |
-
dow : 1, // Monday is the first day of the week.
|
54 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
55 |
-
}
|
56 |
});
|
57 |
|
58 |
return nn;
|
59 |
|
60 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Nynorsk [nn]
|
3 |
+
//! authors : https://github.com/mechuwind
|
4 |
+
//! Stephen Ramthun : https://github.com/stephenramthun
|
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 nn = moment.defineLocale('nn', {
|
16 |
+
months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
|
17 |
+
'_'
|
18 |
+
),
|
19 |
+
monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
monthsParseExact: true,
|
23 |
+
weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
|
24 |
+
weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),
|
25 |
+
weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),
|
26 |
+
weekdaysParseExact: true,
|
27 |
+
longDateFormat: {
|
28 |
+
LT: 'HH:mm',
|
29 |
+
LTS: 'HH:mm:ss',
|
30 |
+
L: 'DD.MM.YYYY',
|
31 |
+
LL: 'D. MMMM YYYY',
|
32 |
+
LLL: 'D. MMMM YYYY [kl.] H:mm',
|
33 |
+
LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
|
34 |
},
|
35 |
+
calendar: {
|
36 |
sameDay: '[I dag klokka] LT',
|
37 |
nextDay: '[I morgon klokka] LT',
|
38 |
nextWeek: 'dddd [klokka] LT',
|
39 |
lastDay: '[I går klokka] LT',
|
40 |
lastWeek: '[Føregåande] dddd [klokka] LT',
|
41 |
+
sameElse: 'L',
|
42 |
},
|
43 |
+
relativeTime: {
|
44 |
+
future: 'om %s',
|
45 |
+
past: '%s sidan',
|
46 |
+
s: 'nokre sekund',
|
47 |
+
ss: '%d sekund',
|
48 |
+
m: 'eit minutt',
|
49 |
+
mm: '%d minutt',
|
50 |
+
h: 'ein time',
|
51 |
+
hh: '%d timar',
|
52 |
+
d: 'ein dag',
|
53 |
+
dd: '%d dagar',
|
54 |
+
w: 'ei veke',
|
55 |
+
ww: '%d veker',
|
56 |
+
M: 'ein månad',
|
57 |
+
MM: '%d månader',
|
58 |
+
y: 'eit år',
|
59 |
+
yy: '%d år',
|
60 |
+
},
|
61 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
62 |
+
ordinal: '%d.',
|
63 |
+
week: {
|
64 |
+
dow: 1, // Monday is the first day of the week.
|
65 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
66 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
});
|
68 |
|
69 |
return nn;
|
70 |
|
71 |
+
})));
|
assets/js/moment/locale/oc-lnc.js
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Occitan, lengadocian dialecte [oc-lnc]
|
3 |
+
//! author : Quentin PAGÈS : https://github.com/Quenty31
|
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 ocLnc = moment.defineLocale('oc-lnc', {
|
15 |
+
months: {
|
16 |
+
standalone: 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split(
|
17 |
+
'_'
|
18 |
+
),
|
19 |
+
format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
isFormat: /D[oD]?(\s)+MMMM/,
|
23 |
+
},
|
24 |
+
monthsShort: 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split(
|
25 |
+
'_'
|
26 |
+
),
|
27 |
+
monthsParseExact: true,
|
28 |
+
weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split(
|
29 |
+
'_'
|
30 |
+
),
|
31 |
+
weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),
|
32 |
+
weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),
|
33 |
+
weekdaysParseExact: true,
|
34 |
+
longDateFormat: {
|
35 |
+
LT: 'H:mm',
|
36 |
+
LTS: 'H:mm:ss',
|
37 |
+
L: 'DD/MM/YYYY',
|
38 |
+
LL: 'D MMMM [de] YYYY',
|
39 |
+
ll: 'D MMM YYYY',
|
40 |
+
LLL: 'D MMMM [de] YYYY [a] H:mm',
|
41 |
+
lll: 'D MMM YYYY, H:mm',
|
42 |
+
LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',
|
43 |
+
llll: 'ddd D MMM YYYY, H:mm',
|
44 |
+
},
|
45 |
+
calendar: {
|
46 |
+
sameDay: '[uèi a] LT',
|
47 |
+
nextDay: '[deman a] LT',
|
48 |
+
nextWeek: 'dddd [a] LT',
|
49 |
+
lastDay: '[ièr a] LT',
|
50 |
+
lastWeek: 'dddd [passat a] LT',
|
51 |
+
sameElse: 'L',
|
52 |
+
},
|
53 |
+
relativeTime: {
|
54 |
+
future: "d'aquí %s",
|
55 |
+
past: 'fa %s',
|
56 |
+
s: 'unas segondas',
|
57 |
+
ss: '%d segondas',
|
58 |
+
m: 'una minuta',
|
59 |
+
mm: '%d minutas',
|
60 |
+
h: 'una ora',
|
61 |
+
hh: '%d oras',
|
62 |
+
d: 'un jorn',
|
63 |
+
dd: '%d jorns',
|
64 |
+
M: 'un mes',
|
65 |
+
MM: '%d meses',
|
66 |
+
y: 'un an',
|
67 |
+
yy: '%d ans',
|
68 |
+
},
|
69 |
+
dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
|
70 |
+
ordinal: function (number, period) {
|
71 |
+
var output =
|
72 |
+
number === 1
|
73 |
+
? 'r'
|
74 |
+
: number === 2
|
75 |
+
? 'n'
|
76 |
+
: number === 3
|
77 |
+
? 'r'
|
78 |
+
: number === 4
|
79 |
+
? 't'
|
80 |
+
: 'è';
|
81 |
+
if (period === 'w' || period === 'W') {
|
82 |
+
output = 'a';
|
83 |
+
}
|
84 |
+
return number + output;
|
85 |
+
},
|
86 |
+
week: {
|
87 |
+
dow: 1, // Monday is the first day of the week.
|
88 |
+
doy: 4,
|
89 |
+
},
|
90 |
+
});
|
91 |
+
|
92 |
+
return ocLnc;
|
93 |
+
|
94 |
+
})));
|
assets/js/moment/locale/pa-in.js
ADDED
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Punjabi (India) [pa-in]
|
3 |
+
//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit
|
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 |
+
|
39 |
+
var paIn = moment.defineLocale('pa-in', {
|
40 |
+
// There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.
|
41 |
+
months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(
|
42 |
+
'_'
|
43 |
+
),
|
44 |
+
monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(
|
45 |
+
'_'
|
46 |
+
),
|
47 |
+
weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split(
|
48 |
+
'_'
|
49 |
+
),
|
50 |
+
weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
|
51 |
+
weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
|
52 |
+
longDateFormat: {
|
53 |
+
LT: 'A h:mm ਵਜੇ',
|
54 |
+
LTS: 'A h:mm:ss ਵਜੇ',
|
55 |
+
L: 'DD/MM/YYYY',
|
56 |
+
LL: 'D MMMM YYYY',
|
57 |
+
LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',
|
58 |
+
LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ',
|
59 |
+
},
|
60 |
+
calendar: {
|
61 |
+
sameDay: '[ਅਜ] LT',
|
62 |
+
nextDay: '[ਕਲ] LT',
|
63 |
+
nextWeek: '[ਅਗਲਾ] dddd, LT',
|
64 |
+
lastDay: '[ਕਲ] LT',
|
65 |
+
lastWeek: '[ਪਿਛਲੇ] dddd, LT',
|
66 |
+
sameElse: 'L',
|
67 |
+
},
|
68 |
+
relativeTime: {
|
69 |
+
future: '%s ਵਿੱਚ',
|
70 |
+
past: '%s ਪਿਛਲੇ',
|
71 |
+
s: 'ਕੁਝ ਸਕਿੰਟ',
|
72 |
+
ss: '%d ਸਕਿੰਟ',
|
73 |
+
m: 'ਇਕ ਮਿੰਟ',
|
74 |
+
mm: '%d ਮਿੰਟ',
|
75 |
+
h: 'ਇੱਕ ਘੰਟਾ',
|
76 |
+
hh: '%d ਘੰਟੇ',
|
77 |
+
d: 'ਇੱਕ ਦਿਨ',
|
78 |
+
dd: '%d ਦਿਨ',
|
79 |
+
M: 'ਇੱਕ ਮਹੀਨਾ',
|
80 |
+
MM: '%d ਮਹੀਨੇ',
|
81 |
+
y: 'ਇੱਕ ਸਾਲ',
|
82 |
+
yy: '%d ਸਾਲ',
|
83 |
+
},
|
84 |
+
preparse: function (string) {
|
85 |
+
return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
|
86 |
+
return numberMap[match];
|
87 |
+
});
|
88 |
+
},
|
89 |
+
postformat: function (string) {
|
90 |
+
return string.replace(/\d/g, function (match) {
|
91 |
+
return symbolMap[match];
|
92 |
+
});
|
93 |
+
},
|
94 |
+
// Punjabi notation for meridiems are quite fuzzy in practice. While there exists
|
95 |
+
// a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
|
96 |
+
meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
|
97 |
+
meridiemHour: function (hour, meridiem) {
|
98 |
+
if (hour === 12) {
|
99 |
+
hour = 0;
|
100 |
+
}
|
101 |
+
if (meridiem === 'ਰਾਤ') {
|
102 |
+
return hour < 4 ? hour : hour + 12;
|
103 |
+
} else if (meridiem === 'ਸਵੇਰ') {
|
104 |
+
return hour;
|
105 |
+
} else if (meridiem === 'ਦੁਪਹਿਰ') {
|
106 |
+
return hour >= 10 ? hour : hour + 12;
|
107 |
+
} else if (meridiem === 'ਸ਼ਾਮ') {
|
108 |
+
return hour + 12;
|
109 |
+
}
|
110 |
+
},
|
111 |
+
meridiem: function (hour, minute, isLower) {
|
112 |
+
if (hour < 4) {
|
113 |
+
return 'ਰਾਤ';
|
114 |
+
} else if (hour < 10) {
|
115 |
+
return 'ਸਵੇਰ';
|
116 |
+
} else if (hour < 17) {
|
117 |
+
return 'ਦੁਪਹਿਰ';
|
118 |
+
} else if (hour < 20) {
|
119 |
+
return 'ਸ਼ਾਮ';
|
120 |
+
} else {
|
121 |
+
return 'ਰਾਤ';
|
122 |
+
}
|
123 |
+
},
|
124 |
+
week: {
|
125 |
+
dow: 0, // Sunday is the first day of the week.
|
126 |
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
127 |
+
},
|
128 |
+
});
|
129 |
+
|
130 |
+
return paIn;
|
131 |
+
|
132 |
+
})));
|
assets/js/moment/locale/pl.js
CHANGED
@@ -1,105 +1,150 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Rafal Hirsz : https://github.com/evoL
|
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 |
|
13 |
-
var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
function plural(n) {
|
16 |
-
return
|
17 |
}
|
18 |
function translate(number, withoutSuffix, key) {
|
19 |
var result = number + ' ';
|
20 |
switch (key) {
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
|
|
|
|
|
|
|
|
33 |
}
|
34 |
}
|
35 |
|
36 |
var pl = moment.defineLocale('pl', {
|
37 |
-
months
|
38 |
-
if (
|
39 |
-
|
40 |
-
// RegExp by moment. Give then back both valid forms of months
|
41 |
-
// in RegExp ready format.
|
42 |
-
return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')';
|
43 |
} else if (/D MMMM/.test(format)) {
|
44 |
return monthsSubjective[momentToFormat.month()];
|
45 |
} else {
|
46 |
return monthsNominative[momentToFormat.month()];
|
47 |
}
|
48 |
},
|
49 |
-
monthsShort
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
|
|
|
|
|
|
|
|
|
|
60 |
},
|
61 |
-
calendar
|
62 |
sameDay: '[Dziś o] LT',
|
63 |
nextDay: '[Jutro o] LT',
|
64 |
-
nextWeek:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
lastDay: '[Wczoraj o] LT',
|
66 |
lastWeek: function () {
|
67 |
switch (this.day()) {
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
}
|
77 |
},
|
78 |
-
sameElse: 'L'
|
79 |
},
|
80 |
-
relativeTime
|
81 |
-
future
|
82 |
-
past
|
83 |
-
s
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
},
|
95 |
-
ordinalParse: /\d{1,2}\./,
|
96 |
-
ordinal : '%d.',
|
97 |
-
week : {
|
98 |
-
dow : 1, // Monday is the first day of the week.
|
99 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
100 |
-
}
|
101 |
});
|
102 |
|
103 |
return pl;
|
104 |
|
105 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Polish [pl]
|
3 |
//! author : Rafal Hirsz : https://github.com/evoL
|
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 monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(
|
15 |
+
'_'
|
16 |
+
),
|
17 |
+
monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split(
|
18 |
+
'_'
|
19 |
+
),
|
20 |
+
monthsParse = [
|
21 |
+
/^sty/i,
|
22 |
+
/^lut/i,
|
23 |
+
/^mar/i,
|
24 |
+
/^kwi/i,
|
25 |
+
/^maj/i,
|
26 |
+
/^cze/i,
|
27 |
+
/^lip/i,
|
28 |
+
/^sie/i,
|
29 |
+
/^wrz/i,
|
30 |
+
/^paź/i,
|
31 |
+
/^lis/i,
|
32 |
+
/^gru/i,
|
33 |
+
];
|
34 |
function plural(n) {
|
35 |
+
return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;
|
36 |
}
|
37 |
function translate(number, withoutSuffix, key) {
|
38 |
var result = number + ' ';
|
39 |
switch (key) {
|
40 |
+
case 'ss':
|
41 |
+
return result + (plural(number) ? 'sekundy' : 'sekund');
|
42 |
+
case 'm':
|
43 |
+
return withoutSuffix ? 'minuta' : 'minutę';
|
44 |
+
case 'mm':
|
45 |
+
return result + (plural(number) ? 'minuty' : 'minut');
|
46 |
+
case 'h':
|
47 |
+
return withoutSuffix ? 'godzina' : 'godzinę';
|
48 |
+
case 'hh':
|
49 |
+
return result + (plural(number) ? 'godziny' : 'godzin');
|
50 |
+
case 'ww':
|
51 |
+
return result + (plural(number) ? 'tygodnie' : 'tygodni');
|
52 |
+
case 'MM':
|
53 |
+
return result + (plural(number) ? 'miesiące' : 'miesięcy');
|
54 |
+
case 'yy':
|
55 |
+
return result + (plural(number) ? 'lata' : 'lat');
|
56 |
}
|
57 |
}
|
58 |
|
59 |
var pl = moment.defineLocale('pl', {
|
60 |
+
months: function (momentToFormat, format) {
|
61 |
+
if (!momentToFormat) {
|
62 |
+
return monthsNominative;
|
|
|
|
|
|
|
63 |
} else if (/D MMMM/.test(format)) {
|
64 |
return monthsSubjective[momentToFormat.month()];
|
65 |
} else {
|
66 |
return monthsNominative[momentToFormat.month()];
|
67 |
}
|
68 |
},
|
69 |
+
monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
|
70 |
+
monthsParse: monthsParse,
|
71 |
+
longMonthsParse: monthsParse,
|
72 |
+
shortMonthsParse: monthsParse,
|
73 |
+
weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split(
|
74 |
+
'_'
|
75 |
+
),
|
76 |
+
weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
|
77 |
+
weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
|
78 |
+
longDateFormat: {
|
79 |
+
LT: 'HH:mm',
|
80 |
+
LTS: 'HH:mm:ss',
|
81 |
+
L: 'DD.MM.YYYY',
|
82 |
+
LL: 'D MMMM YYYY',
|
83 |
+
LLL: 'D MMMM YYYY HH:mm',
|
84 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
85 |
},
|
86 |
+
calendar: {
|
87 |
sameDay: '[Dziś o] LT',
|
88 |
nextDay: '[Jutro o] LT',
|
89 |
+
nextWeek: function () {
|
90 |
+
switch (this.day()) {
|
91 |
+
case 0:
|
92 |
+
return '[W niedzielę o] LT';
|
93 |
+
|
94 |
+
case 2:
|
95 |
+
return '[We wtorek o] LT';
|
96 |
+
|
97 |
+
case 3:
|
98 |
+
return '[W środę o] LT';
|
99 |
+
|
100 |
+
case 6:
|
101 |
+
return '[W sobotę o] LT';
|
102 |
+
|
103 |
+
default:
|
104 |
+
return '[W] dddd [o] LT';
|
105 |
+
}
|
106 |
+
},
|
107 |
lastDay: '[Wczoraj o] LT',
|
108 |
lastWeek: function () {
|
109 |
switch (this.day()) {
|
110 |
+
case 0:
|
111 |
+
return '[W zeszłą niedzielę o] LT';
|
112 |
+
case 3:
|
113 |
+
return '[W zeszłą środę o] LT';
|
114 |
+
case 6:
|
115 |
+
return '[W zeszłą sobotę o] LT';
|
116 |
+
default:
|
117 |
+
return '[W zeszły] dddd [o] LT';
|
118 |
}
|
119 |
},
|
120 |
+
sameElse: 'L',
|
121 |
},
|
122 |
+
relativeTime: {
|
123 |
+
future: 'za %s',
|
124 |
+
past: '%s temu',
|
125 |
+
s: 'kilka sekund',
|
126 |
+
ss: translate,
|
127 |
+
m: translate,
|
128 |
+
mm: translate,
|
129 |
+
h: translate,
|
130 |
+
hh: translate,
|
131 |
+
d: '1 dzień',
|
132 |
+
dd: '%d dni',
|
133 |
+
w: 'tydzień',
|
134 |
+
ww: translate,
|
135 |
+
M: 'miesiąc',
|
136 |
+
MM: translate,
|
137 |
+
y: 'rok',
|
138 |
+
yy: translate,
|
139 |
+
},
|
140 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
141 |
+
ordinal: '%d.',
|
142 |
+
week: {
|
143 |
+
dow: 1, // Monday is the first day of the week.
|
144 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
145 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
});
|
147 |
|
148 |
return pl;
|
149 |
|
150 |
+
})));
|
assets/js/moment/locale/pt-br.js
CHANGED
@@ -1,60 +1,68 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
|
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 |
|
13 |
-
var
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
sameDay: '[Hoje às] LT',
|
29 |
nextDay: '[Amanhã às] LT',
|
30 |
nextWeek: 'dddd [às] LT',
|
31 |
lastDay: '[Ontem às] LT',
|
32 |
lastWeek: function () {
|
33 |
-
return
|
34 |
-
'[Último] dddd [às] LT'
|
35 |
-
'[Última] dddd [às] LT'; // Monday - Friday
|
36 |
},
|
37 |
-
sameElse: 'L'
|
38 |
},
|
39 |
-
relativeTime
|
40 |
-
future
|
41 |
-
past
|
42 |
-
s
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
53 |
},
|
54 |
-
|
55 |
-
ordinal
|
|
|
56 |
});
|
57 |
|
58 |
-
return
|
59 |
|
60 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Portuguese (Brazil) [pt-br]
|
3 |
//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
|
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 ptBr = moment.defineLocale('pt-br', {
|
15 |
+
months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
|
19 |
+
weekdays: 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),
|
23 |
+
weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),
|
24 |
+
weekdaysParseExact: true,
|
25 |
+
longDateFormat: {
|
26 |
+
LT: 'HH:mm',
|
27 |
+
LTS: 'HH:mm:ss',
|
28 |
+
L: 'DD/MM/YYYY',
|
29 |
+
LL: 'D [de] MMMM [de] YYYY',
|
30 |
+
LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',
|
31 |
+
LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm',
|
32 |
},
|
33 |
+
calendar: {
|
34 |
sameDay: '[Hoje às] LT',
|
35 |
nextDay: '[Amanhã às] LT',
|
36 |
nextWeek: 'dddd [às] LT',
|
37 |
lastDay: '[Ontem às] LT',
|
38 |
lastWeek: function () {
|
39 |
+
return this.day() === 0 || this.day() === 6
|
40 |
+
? '[Último] dddd [às] LT' // Saturday + Sunday
|
41 |
+
: '[Última] dddd [às] LT'; // Monday - Friday
|
42 |
},
|
43 |
+
sameElse: 'L',
|
44 |
},
|
45 |
+
relativeTime: {
|
46 |
+
future: 'em %s',
|
47 |
+
past: 'há %s',
|
48 |
+
s: 'poucos segundos',
|
49 |
+
ss: '%d segundos',
|
50 |
+
m: 'um minuto',
|
51 |
+
mm: '%d minutos',
|
52 |
+
h: 'uma hora',
|
53 |
+
hh: '%d horas',
|
54 |
+
d: 'um dia',
|
55 |
+
dd: '%d dias',
|
56 |
+
M: 'um mês',
|
57 |
+
MM: '%d meses',
|
58 |
+
y: 'um ano',
|
59 |
+
yy: '%d anos',
|
60 |
},
|
61 |
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
62 |
+
ordinal: '%dº',
|
63 |
+
invalidDate: 'Data inválida',
|
64 |
});
|
65 |
|
66 |
+
return ptBr;
|
67 |
|
68 |
+
})));
|
assets/js/moment/locale/pt.js
CHANGED
@@ -1,64 +1,73 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Jefferson : https://github.com/jalex79
|
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 |
|
13 |
var pt = moment.defineLocale('pt', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
sameDay: '[Hoje às] LT',
|
29 |
nextDay: '[Amanhã às] LT',
|
30 |
nextWeek: 'dddd [às] LT',
|
31 |
lastDay: '[Ontem às] LT',
|
32 |
lastWeek: function () {
|
33 |
-
return
|
34 |
-
'[Último] dddd [às] LT'
|
35 |
-
'[Última] dddd [às] LT'; // Monday - Friday
|
36 |
},
|
37 |
-
sameElse: 'L'
|
38 |
},
|
39 |
-
relativeTime
|
40 |
-
future
|
41 |
-
past
|
42 |
-
s
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
},
|
54 |
-
ordinalParse: /\d{1,2}º/,
|
55 |
-
ordinal : '%dº',
|
56 |
-
week : {
|
57 |
-
dow : 1, // Monday is the first day of the week.
|
58 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
59 |
-
}
|
60 |
});
|
61 |
|
62 |
return pt;
|
63 |
|
64 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Portuguese [pt]
|
3 |
//! author : Jefferson : https://github.com/jalex79
|
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 pt = moment.defineLocale('pt', {
|
15 |
+
months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
|
19 |
+
weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
|
23 |
+
weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
|
24 |
+
weekdaysParseExact: true,
|
25 |
+
longDateFormat: {
|
26 |
+
LT: 'HH:mm',
|
27 |
+
LTS: 'HH:mm:ss',
|
28 |
+
L: 'DD/MM/YYYY',
|
29 |
+
LL: 'D [de] MMMM [de] YYYY',
|
30 |
+
LLL: 'D [de] MMMM [de] YYYY HH:mm',
|
31 |
+
LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',
|
32 |
},
|
33 |
+
calendar: {
|
34 |
sameDay: '[Hoje às] LT',
|
35 |
nextDay: '[Amanhã às] LT',
|
36 |
nextWeek: 'dddd [às] LT',
|
37 |
lastDay: '[Ontem às] LT',
|
38 |
lastWeek: function () {
|
39 |
+
return this.day() === 0 || this.day() === 6
|
40 |
+
? '[Último] dddd [às] LT' // Saturday + Sunday
|
41 |
+
: '[Última] dddd [às] LT'; // Monday - Friday
|
42 |
},
|
43 |
+
sameElse: 'L',
|
44 |
},
|
45 |
+
relativeTime: {
|
46 |
+
future: 'em %s',
|
47 |
+
past: 'há %s',
|
48 |
+
s: 'segundos',
|
49 |
+
ss: '%d segundos',
|
50 |
+
m: 'um minuto',
|
51 |
+
mm: '%d minutos',
|
52 |
+
h: 'uma hora',
|
53 |
+
hh: '%d horas',
|
54 |
+
d: 'um dia',
|
55 |
+
dd: '%d dias',
|
56 |
+
w: 'uma semana',
|
57 |
+
ww: '%d semanas',
|
58 |
+
M: 'um mês',
|
59 |
+
MM: '%d meses',
|
60 |
+
y: 'um ano',
|
61 |
+
yy: '%d anos',
|
62 |
+
},
|
63 |
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
64 |
+
ordinal: '%dº',
|
65 |
+
week: {
|
66 |
+
dow: 1, // Monday is the first day of the week.
|
67 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
68 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
});
|
70 |
|
71 |
return pt;
|
72 |
|
73 |
+
})));
|
assets/js/moment/locale/ro.js
CHANGED
@@ -1,23 +1,27 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Vlad Gurdiga : https://github.com/gurdiga
|
4 |
//! author : Valentin Agachi : https://github.com/avaly
|
|
|
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 |
|
14 |
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
15 |
var format = {
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
|
|
|
|
21 |
},
|
22 |
separator = ' ';
|
23 |
if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
|
@@ -27,48 +31,56 @@
|
|
27 |
}
|
28 |
|
29 |
var ro = moment.defineLocale('ro', {
|
30 |
-
months
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
42 |
},
|
43 |
-
calendar
|
44 |
sameDay: '[azi la] LT',
|
45 |
nextDay: '[mâine la] LT',
|
46 |
nextWeek: 'dddd [la] LT',
|
47 |
lastDay: '[ieri la] LT',
|
48 |
lastWeek: '[fosta] dddd [la] LT',
|
49 |
-
sameElse: 'L'
|
50 |
},
|
51 |
-
relativeTime
|
52 |
-
future
|
53 |
-
past
|
54 |
-
s
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
},
|
66 |
-
week : {
|
67 |
-
dow : 1, // Monday is the first day of the week.
|
68 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
69 |
-
}
|
70 |
});
|
71 |
|
72 |
return ro;
|
73 |
|
74 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Romanian [ro]
|
3 |
//! author : Vlad Gurdiga : https://github.com/gurdiga
|
4 |
//! author : Valentin Agachi : https://github.com/avaly
|
5 |
+
//! author : Emanuel Cepoi : https://github.com/cepem
|
6 |
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
+
}(this, (function (moment) { 'use strict';
|
13 |
|
14 |
+
//! moment.js locale configuration
|
15 |
|
16 |
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
17 |
var format = {
|
18 |
+
ss: 'secunde',
|
19 |
+
mm: 'minute',
|
20 |
+
hh: 'ore',
|
21 |
+
dd: 'zile',
|
22 |
+
ww: 'săptămâni',
|
23 |
+
MM: 'luni',
|
24 |
+
yy: 'ani',
|
25 |
},
|
26 |
separator = ' ';
|
27 |
if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
|
31 |
}
|
32 |
|
33 |
var ro = moment.defineLocale('ro', {
|
34 |
+
months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split(
|
35 |
+
'_'
|
36 |
+
),
|
37 |
+
monthsShort: 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split(
|
38 |
+
'_'
|
39 |
+
),
|
40 |
+
monthsParseExact: true,
|
41 |
+
weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
|
42 |
+
weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
|
43 |
+
weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
|
44 |
+
longDateFormat: {
|
45 |
+
LT: 'H:mm',
|
46 |
+
LTS: 'H:mm:ss',
|
47 |
+
L: 'DD.MM.YYYY',
|
48 |
+
LL: 'D MMMM YYYY',
|
49 |
+
LLL: 'D MMMM YYYY H:mm',
|
50 |
+
LLLL: 'dddd, D MMMM YYYY H:mm',
|
51 |
},
|
52 |
+
calendar: {
|
53 |
sameDay: '[azi la] LT',
|
54 |
nextDay: '[mâine la] LT',
|
55 |
nextWeek: 'dddd [la] LT',
|
56 |
lastDay: '[ieri la] LT',
|
57 |
lastWeek: '[fosta] dddd [la] LT',
|
58 |
+
sameElse: 'L',
|
59 |
},
|
60 |
+
relativeTime: {
|
61 |
+
future: 'peste %s',
|
62 |
+
past: '%s în urmă',
|
63 |
+
s: 'câteva secunde',
|
64 |
+
ss: relativeTimeWithPlural,
|
65 |
+
m: 'un minut',
|
66 |
+
mm: relativeTimeWithPlural,
|
67 |
+
h: 'o oră',
|
68 |
+
hh: relativeTimeWithPlural,
|
69 |
+
d: 'o zi',
|
70 |
+
dd: relativeTimeWithPlural,
|
71 |
+
w: 'o săptămână',
|
72 |
+
ww: relativeTimeWithPlural,
|
73 |
+
M: 'o lună',
|
74 |
+
MM: relativeTimeWithPlural,
|
75 |
+
y: 'un an',
|
76 |
+
yy: relativeTimeWithPlural,
|
77 |
+
},
|
78 |
+
week: {
|
79 |
+
dow: 1, // Monday is the first day of the week.
|
80 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
81 |
},
|
|
|
|
|
|
|
|
|
82 |
});
|
83 |
|
84 |
return ro;
|
85 |
|
86 |
+
})));
|
assets/js/moment/locale/ru.js
CHANGED
@@ -1,134 +1,185 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Viktorminator : https://github.com/Viktorminator
|
4 |
-
//!
|
|
|
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 |
|
14 |
function plural(word, num) {
|
15 |
var forms = word.split('_');
|
16 |
-
return num % 10 === 1 && num % 100 !== 11
|
|
|
|
|
|
|
|
|
17 |
}
|
18 |
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
19 |
var format = {
|
20 |
-
|
21 |
-
'
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
|
|
25 |
};
|
26 |
if (key === 'm') {
|
27 |
return withoutSuffix ? 'минута' : 'минуту';
|
28 |
-
}
|
29 |
-
else {
|
30 |
return number + ' ' + plural(format[key], +number);
|
31 |
}
|
32 |
}
|
33 |
-
var monthsParse = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
|
|
|
|
|
|
35 |
var ru = moment.defineLocale('ru', {
|
36 |
-
months
|
37 |
-
format: '
|
38 |
-
|
|
|
|
|
|
|
|
|
39 |
},
|
40 |
-
monthsShort
|
41 |
-
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
43 |
},
|
44 |
-
weekdays
|
45 |
-
standalone: '
|
46 |
-
|
47 |
-
|
|
|
|
|
|
|
|
|
48 |
},
|
49 |
-
weekdaysShort
|
50 |
-
weekdaysMin
|
51 |
-
monthsParse
|
52 |
-
longMonthsParse
|
53 |
-
shortMonthsParse
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
},
|
62 |
-
calendar
|
63 |
-
sameDay: '[
|
64 |
-
nextDay: '[
|
65 |
-
lastDay: '[
|
66 |
nextWeek: function (now) {
|
67 |
if (now.week() !== this.week()) {
|
68 |
switch (this.day()) {
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
}
|
80 |
} else {
|
81 |
if (this.day() === 2) {
|
82 |
-
return '[Во] dddd [в] LT';
|
83 |
} else {
|
84 |
-
return '[В] dddd [в] LT';
|
85 |
}
|
86 |
}
|
87 |
},
|
88 |
lastWeek: function (now) {
|
89 |
if (now.week() !== this.week()) {
|
90 |
switch (this.day()) {
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
}
|
102 |
} else {
|
103 |
if (this.day() === 2) {
|
104 |
-
return '[Во] dddd [в] LT';
|
105 |
} else {
|
106 |
-
return '[В] dddd [в] LT';
|
107 |
}
|
108 |
}
|
109 |
},
|
110 |
-
sameElse: 'L'
|
111 |
},
|
112 |
-
relativeTime
|
113 |
-
future
|
114 |
-
past
|
115 |
-
s
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
|
|
|
|
|
|
126 |
},
|
127 |
meridiemParse: /ночи|утра|дня|вечера/i,
|
128 |
-
isPM
|
129 |
return /^(дня|вечера)$/.test(input);
|
130 |
},
|
131 |
-
meridiem
|
132 |
if (hour < 4) {
|
133 |
return 'ночи';
|
134 |
} else if (hour < 12) {
|
@@ -139,28 +190,28 @@
|
|
139 |
return 'вечера';
|
140 |
}
|
141 |
},
|
142 |
-
|
143 |
ordinal: function (number, period) {
|
144 |
switch (period) {
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
}
|
157 |
},
|
158 |
-
week
|
159 |
-
dow
|
160 |
-
doy
|
161 |
-
}
|
162 |
});
|
163 |
|
164 |
return ru;
|
165 |
|
166 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Russian [ru]
|
3 |
//! author : Viktorminator : https://github.com/Viktorminator
|
4 |
+
//! author : Menelion Elensúle : https://github.com/Oire
|
5 |
+
//! author : Коренберг Марк : https://github.com/socketpair
|
6 |
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
+
}(this, (function (moment) { 'use strict';
|
13 |
|
14 |
+
//! moment.js locale configuration
|
15 |
|
16 |
function plural(word, num) {
|
17 |
var forms = word.split('_');
|
18 |
+
return num % 10 === 1 && num % 100 !== 11
|
19 |
+
? forms[0]
|
20 |
+
: num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
|
21 |
+
? forms[1]
|
22 |
+
: forms[2];
|
23 |
}
|
24 |
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
25 |
var format = {
|
26 |
+
ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
|
27 |
+
mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
|
28 |
+
hh: 'час_часа_часов',
|
29 |
+
dd: 'день_дня_дней',
|
30 |
+
ww: 'неделя_недели_недель',
|
31 |
+
MM: 'месяц_месяца_месяцев',
|
32 |
+
yy: 'год_года_лет',
|
33 |
};
|
34 |
if (key === 'm') {
|
35 |
return withoutSuffix ? 'минута' : 'минуту';
|
36 |
+
} else {
|
|
|
37 |
return number + ' ' + plural(format[key], +number);
|
38 |
}
|
39 |
}
|
40 |
+
var monthsParse = [
|
41 |
+
/^янв/i,
|
42 |
+
/^фев/i,
|
43 |
+
/^мар/i,
|
44 |
+
/^апр/i,
|
45 |
+
/^ма[йя]/i,
|
46 |
+
/^июн/i,
|
47 |
+
/^июл/i,
|
48 |
+
/^авг/i,
|
49 |
+
/^сен/i,
|
50 |
+
/^окт/i,
|
51 |
+
/^ноя/i,
|
52 |
+
/^дек/i,
|
53 |
+
];
|
54 |
|
55 |
+
// http://new.gramota.ru/spravka/rules/139-prop : § 103
|
56 |
+
// Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637
|
57 |
+
// CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753
|
58 |
var ru = moment.defineLocale('ru', {
|
59 |
+
months: {
|
60 |
+
format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split(
|
61 |
+
'_'
|
62 |
+
),
|
63 |
+
standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(
|
64 |
+
'_'
|
65 |
+
),
|
66 |
},
|
67 |
+
monthsShort: {
|
68 |
+
// по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку?
|
69 |
+
format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split(
|
70 |
+
'_'
|
71 |
+
),
|
72 |
+
standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split(
|
73 |
+
'_'
|
74 |
+
),
|
75 |
},
|
76 |
+
weekdays: {
|
77 |
+
standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split(
|
78 |
+
'_'
|
79 |
+
),
|
80 |
+
format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split(
|
81 |
+
'_'
|
82 |
+
),
|
83 |
+
isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/,
|
84 |
},
|
85 |
+
weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
|
86 |
+
weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
|
87 |
+
monthsParse: monthsParse,
|
88 |
+
longMonthsParse: monthsParse,
|
89 |
+
shortMonthsParse: monthsParse,
|
90 |
+
|
91 |
+
// полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки
|
92 |
+
monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
|
93 |
+
|
94 |
+
// копия предыдущего
|
95 |
+
monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
|
96 |
+
|
97 |
+
// полные названия с падежами
|
98 |
+
monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,
|
99 |
+
|
100 |
+
// Выражение, которое соответствует только сокращённым формам
|
101 |
+
monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,
|
102 |
+
longDateFormat: {
|
103 |
+
LT: 'H:mm',
|
104 |
+
LTS: 'H:mm:ss',
|
105 |
+
L: 'DD.MM.YYYY',
|
106 |
+
LL: 'D MMMM YYYY г.',
|
107 |
+
LLL: 'D MMMM YYYY г., H:mm',
|
108 |
+
LLLL: 'dddd, D MMMM YYYY г., H:mm',
|
109 |
},
|
110 |
+
calendar: {
|
111 |
+
sameDay: '[Сегодня, в] LT',
|
112 |
+
nextDay: '[Завтра, в] LT',
|
113 |
+
lastDay: '[Вчера, в] LT',
|
114 |
nextWeek: function (now) {
|
115 |
if (now.week() !== this.week()) {
|
116 |
switch (this.day()) {
|
117 |
+
case 0:
|
118 |
+
return '[В следующее] dddd, [в] LT';
|
119 |
+
case 1:
|
120 |
+
case 2:
|
121 |
+
case 4:
|
122 |
+
return '[В следующий] dddd, [в] LT';
|
123 |
+
case 3:
|
124 |
+
case 5:
|
125 |
+
case 6:
|
126 |
+
return '[В следующую] dddd, [в] LT';
|
127 |
}
|
128 |
} else {
|
129 |
if (this.day() === 2) {
|
130 |
+
return '[Во] dddd, [в] LT';
|
131 |
} else {
|
132 |
+
return '[В] dddd, [в] LT';
|
133 |
}
|
134 |
}
|
135 |
},
|
136 |
lastWeek: function (now) {
|
137 |
if (now.week() !== this.week()) {
|
138 |
switch (this.day()) {
|
139 |
+
case 0:
|
140 |
+
return '[В прошлое] dddd, [в] LT';
|
141 |
+
case 1:
|
142 |
+
case 2:
|
143 |
+
case 4:
|
144 |
+
return '[В прошлый] dddd, [в] LT';
|
145 |
+
case 3:
|
146 |
+
case 5:
|
147 |
+
case 6:
|
148 |
+
return '[В прошлую] dddd, [в] LT';
|
149 |
}
|
150 |
} else {
|
151 |
if (this.day() === 2) {
|
152 |
+
return '[Во] dddd, [в] LT';
|
153 |
} else {
|
154 |
+
return '[В] dddd, [в] LT';
|
155 |
}
|
156 |
}
|
157 |
},
|
158 |
+
sameElse: 'L',
|
159 |
},
|
160 |
+
relativeTime: {
|
161 |
+
future: 'через %s',
|
162 |
+
past: '%s назад',
|
163 |
+
s: 'несколько секунд',
|
164 |
+
ss: relativeTimeWithPlural,
|
165 |
+
m: relativeTimeWithPlural,
|
166 |
+
mm: relativeTimeWithPlural,
|
167 |
+
h: 'час',
|
168 |
+
hh: relativeTimeWithPlural,
|
169 |
+
d: 'день',
|
170 |
+
dd: relativeTimeWithPlural,
|
171 |
+
w: 'неделя',
|
172 |
+
ww: relativeTimeWithPlural,
|
173 |
+
M: 'месяц',
|
174 |
+
MM: relativeTimeWithPlural,
|
175 |
+
y: 'год',
|
176 |
+
yy: relativeTimeWithPlural,
|
177 |
},
|
178 |
meridiemParse: /ночи|утра|дня|вечера/i,
|
179 |
+
isPM: function (input) {
|
180 |
return /^(дня|вечера)$/.test(input);
|
181 |
},
|
182 |
+
meridiem: function (hour, minute, isLower) {
|
183 |
if (hour < 4) {
|
184 |
return 'ночи';
|
185 |
} else if (hour < 12) {
|
190 |
return 'вечера';
|
191 |
}
|
192 |
},
|
193 |
+
dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/,
|
194 |
ordinal: function (number, period) {
|
195 |
switch (period) {
|
196 |
+
case 'M':
|
197 |
+
case 'd':
|
198 |
+
case 'DDD':
|
199 |
+
return number + '-й';
|
200 |
+
case 'D':
|
201 |
+
return number + '-го';
|
202 |
+
case 'w':
|
203 |
+
case 'W':
|
204 |
+
return number + '-я';
|
205 |
+
default:
|
206 |
+
return number;
|
207 |
}
|
208 |
},
|
209 |
+
week: {
|
210 |
+
dow: 1, // Monday is the first day of the week.
|
211 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
212 |
+
},
|
213 |
});
|
214 |
|
215 |
return ru;
|
216 |
|
217 |
+
})));
|
assets/js/moment/locale/sd.js
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Sindhi [sd]
|
3 |
+
//! author : Narain Sagar : https://github.com/narainsagar
|
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 months = [
|
15 |
+
'جنوري',
|
16 |
+
'فيبروري',
|
17 |
+
'مارچ',
|
18 |
+
'اپريل',
|
19 |
+
'مئي',
|
20 |
+
'جون',
|
21 |
+
'جولاءِ',
|
22 |
+
'آگسٽ',
|
23 |
+
'سيپٽمبر',
|
24 |
+
'آڪٽوبر',
|
25 |
+
'نومبر',
|
26 |
+
'ڊسمبر',
|
27 |
+
],
|
28 |
+
days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];
|
29 |
+
|
30 |
+
var sd = moment.defineLocale('sd', {
|
31 |
+
months: months,
|
32 |
+
monthsShort: months,
|
33 |
+
weekdays: days,
|
34 |
+
weekdaysShort: days,
|
35 |
+
weekdaysMin: days,
|
36 |
+
longDateFormat: {
|
37 |
+
LT: 'HH:mm',
|
38 |
+
LTS: 'HH:mm:ss',
|
39 |
+
L: 'DD/MM/YYYY',
|
40 |
+
LL: 'D MMMM YYYY',
|
41 |
+
LLL: 'D MMMM YYYY HH:mm',
|
42 |
+
LLLL: 'dddd، D MMMM YYYY HH:mm',
|
43 |
+
},
|
44 |
+
meridiemParse: /صبح|شام/,
|
45 |
+
isPM: function (input) {
|
46 |
+
return 'شام' === input;
|
47 |
+
},
|
48 |
+
meridiem: function (hour, minute, isLower) {
|
49 |
+
if (hour < 12) {
|
50 |
+
return 'صبح';
|
51 |
+
}
|
52 |
+
return 'شام';
|
53 |
+
},
|
54 |
+
calendar: {
|
55 |
+
sameDay: '[اڄ] LT',
|
56 |
+
nextDay: '[سڀاڻي] LT',
|
57 |
+
nextWeek: 'dddd [اڳين هفتي تي] LT',
|
58 |
+
lastDay: '[ڪالهه] LT',
|
59 |
+
lastWeek: '[گزريل هفتي] dddd [تي] LT',
|
60 |
+
sameElse: 'L',
|
61 |
+
},
|
62 |
+
relativeTime: {
|
63 |
+
future: '%s پوء',
|
64 |
+
past: '%s اڳ',
|
65 |
+
s: 'چند سيڪنڊ',
|
66 |
+
ss: '%d سيڪنڊ',
|
67 |
+
m: 'هڪ منٽ',
|
68 |
+
mm: '%d منٽ',
|
69 |
+
h: 'هڪ ڪلاڪ',
|
70 |
+
hh: '%d ڪلاڪ',
|
71 |
+
d: 'هڪ ڏينهن',
|
72 |
+
dd: '%d ڏينهن',
|
73 |
+
M: 'هڪ مهينو',
|
74 |
+
MM: '%d مهينا',
|
75 |
+
y: 'هڪ سال',
|
76 |
+
yy: '%d سال',
|
77 |
+
},
|
78 |
+
preparse: function (string) {
|
79 |
+
return string.replace(/،/g, ',');
|
80 |
+
},
|
81 |
+
postformat: function (string) {
|
82 |
+
return string.replace(/,/g, '،');
|
83 |
+
},
|
84 |
+
week: {
|
85 |
+
dow: 1, // Monday is the first day of the week.
|
86 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
87 |
+
},
|
88 |
+
});
|
89 |
+
|
90 |
+
return sd;
|
91 |
+
|
92 |
+
})));
|
assets/js/moment/locale/se.js
CHANGED
@@ -1,61 +1,68 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Northern Sami
|
3 |
//! authors : Bård Rolstad Henriksen : https://github.com/karamell
|
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 |
|
|
|
13 |
|
14 |
var se = moment.defineLocale('se', {
|
15 |
-
months
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
},
|
28 |
-
calendar
|
29 |
sameDay: '[otne ti] LT',
|
30 |
nextDay: '[ihttin ti] LT',
|
31 |
nextWeek: 'dddd [ti] LT',
|
32 |
lastDay: '[ikte ti] LT',
|
33 |
lastWeek: '[ovddit] dddd [ti] LT',
|
34 |
-
sameElse: 'L'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
},
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
mm : '%d minuhtat',
|
42 |
-
h : 'okta diimmu',
|
43 |
-
hh : '%d diimmut',
|
44 |
-
d : 'okta beaivi',
|
45 |
-
dd : '%d beaivvit',
|
46 |
-
M : 'okta mánnu',
|
47 |
-
MM : '%d mánut',
|
48 |
-
y : 'okta jahki',
|
49 |
-
yy : '%d jagit'
|
50 |
},
|
51 |
-
ordinalParse: /\d{1,2}\./,
|
52 |
-
ordinal : '%d.',
|
53 |
-
week : {
|
54 |
-
dow : 1, // Monday is the first day of the week.
|
55 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
56 |
-
}
|
57 |
});
|
58 |
|
59 |
return se;
|
60 |
|
61 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Northern Sami [se]
|
3 |
//! authors : Bård Rolstad Henriksen : https://github.com/karamell
|
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 se = moment.defineLocale('se', {
|
15 |
+
months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split(
|
22 |
+
'_'
|
23 |
+
),
|
24 |
+
weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
|
25 |
+
weekdaysMin: 's_v_m_g_d_b_L'.split('_'),
|
26 |
+
longDateFormat: {
|
27 |
+
LT: 'HH:mm',
|
28 |
+
LTS: 'HH:mm:ss',
|
29 |
+
L: 'DD.MM.YYYY',
|
30 |
+
LL: 'MMMM D. [b.] YYYY',
|
31 |
+
LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',
|
32 |
+
LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm',
|
33 |
},
|
34 |
+
calendar: {
|
35 |
sameDay: '[otne ti] LT',
|
36 |
nextDay: '[ihttin ti] LT',
|
37 |
nextWeek: 'dddd [ti] LT',
|
38 |
lastDay: '[ikte ti] LT',
|
39 |
lastWeek: '[ovddit] dddd [ti] LT',
|
40 |
+
sameElse: 'L',
|
41 |
+
},
|
42 |
+
relativeTime: {
|
43 |
+
future: '%s geažes',
|
44 |
+
past: 'maŋit %s',
|
45 |
+
s: 'moadde sekunddat',
|
46 |
+
ss: '%d sekunddat',
|
47 |
+
m: 'okta minuhta',
|
48 |
+
mm: '%d minuhtat',
|
49 |
+
h: 'okta diimmu',
|
50 |
+
hh: '%d diimmut',
|
51 |
+
d: 'okta beaivi',
|
52 |
+
dd: '%d beaivvit',
|
53 |
+
M: 'okta mánnu',
|
54 |
+
MM: '%d mánut',
|
55 |
+
y: 'okta jahki',
|
56 |
+
yy: '%d jagit',
|
57 |
},
|
58 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
59 |
+
ordinal: '%d.',
|
60 |
+
week: {
|
61 |
+
dow: 1, // Monday is the first day of the week.
|
62 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
});
|
65 |
|
66 |
return se;
|
67 |
|
68 |
+
})));
|
assets/js/moment/locale/si.js
CHANGED
@@ -1,66 +1,79 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Sinhalese
|
3 |
//! author : Sampath Sitinamaluwa : https://github.com/sampathsris
|
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 |
|
13 |
/*jshint -W100*/
|
14 |
var si = moment.defineLocale('si', {
|
15 |
-
months
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
},
|
28 |
-
calendar
|
29 |
-
sameDay
|
30 |
-
nextDay
|
31 |
-
nextWeek
|
32 |
-
lastDay
|
33 |
-
lastWeek
|
34 |
-
sameElse
|
35 |
},
|
36 |
-
relativeTime
|
37 |
-
future
|
38 |
-
past
|
39 |
-
s
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
50 |
},
|
51 |
-
|
52 |
-
ordinal
|
53 |
return number + ' වැනි';
|
54 |
},
|
55 |
-
|
|
|
|
|
|
|
|
|
56 |
if (hours > 11) {
|
57 |
return isLower ? 'ප.ව.' : 'පස් වරු';
|
58 |
} else {
|
59 |
return isLower ? 'පෙ.ව.' : 'පෙර වරු';
|
60 |
}
|
61 |
-
}
|
62 |
});
|
63 |
|
64 |
return si;
|
65 |
|
66 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Sinhalese [si]
|
3 |
//! author : Sampath Sitinamaluwa : https://github.com/sampathsris
|
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 |
/*jshint -W100*/
|
15 |
var si = moment.defineLocale('si', {
|
16 |
+
months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split(
|
17 |
+
'_'
|
18 |
+
),
|
19 |
+
monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split(
|
23 |
+
'_'
|
24 |
+
),
|
25 |
+
weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන'.split('_'),
|
26 |
+
weekdaysMin: 'ඉ_ස_අ_බ_බ්ර_සි_සෙ'.split('_'),
|
27 |
+
weekdaysParseExact: true,
|
28 |
+
longDateFormat: {
|
29 |
+
LT: 'a h:mm',
|
30 |
+
LTS: 'a h:mm:ss',
|
31 |
+
L: 'YYYY/MM/DD',
|
32 |
+
LL: 'YYYY MMMM D',
|
33 |
+
LLL: 'YYYY MMMM D, a h:mm',
|
34 |
+
LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss',
|
35 |
},
|
36 |
+
calendar: {
|
37 |
+
sameDay: '[අද] LT[ට]',
|
38 |
+
nextDay: '[හෙට] LT[ට]',
|
39 |
+
nextWeek: 'dddd LT[ට]',
|
40 |
+
lastDay: '[ඊයේ] LT[ට]',
|
41 |
+
lastWeek: '[පසුගිය] dddd LT[ට]',
|
42 |
+
sameElse: 'L',
|
43 |
},
|
44 |
+
relativeTime: {
|
45 |
+
future: '%sකින්',
|
46 |
+
past: '%sකට පෙර',
|
47 |
+
s: 'තත්පර කිහිපය',
|
48 |
+
ss: 'තත්පර %d',
|
49 |
+
m: 'මිනිත්තුව',
|
50 |
+
mm: 'මිනිත්තු %d',
|
51 |
+
h: 'පැය',
|
52 |
+
hh: 'පැය %d',
|
53 |
+
d: 'දිනය',
|
54 |
+
dd: 'දින %d',
|
55 |
+
M: 'මාසය',
|
56 |
+
MM: 'මාස %d',
|
57 |
+
y: 'වසර',
|
58 |
+
yy: 'වසර %d',
|
59 |
},
|
60 |
+
dayOfMonthOrdinalParse: /\d{1,2} වැනි/,
|
61 |
+
ordinal: function (number) {
|
62 |
return number + ' වැනි';
|
63 |
},
|
64 |
+
meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,
|
65 |
+
isPM: function (input) {
|
66 |
+
return input === 'ප.ව.' || input === 'පස් වරු';
|
67 |
+
},
|
68 |
+
meridiem: function (hours, minutes, isLower) {
|
69 |
if (hours > 11) {
|
70 |
return isLower ? 'ප.ව.' : 'පස් වරු';
|
71 |
} else {
|
72 |
return isLower ? 'පෙ.ව.' : 'පෙර වරු';
|
73 |
}
|
74 |
+
},
|
75 |
});
|
76 |
|
77 |
return si;
|
78 |
|
79 |
+
})));
|
assets/js/moment/locale/sk.js
CHANGED
@@ -1,150 +1,155 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Martin Minka : https://github.com/k2s
|
4 |
//! based on work of petrbela : https://github.com/petrbela
|
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 |
|
14 |
-
var months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split(
|
|
|
|
|
15 |
monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
|
16 |
function plural(n) {
|
17 |
-
return
|
18 |
}
|
19 |
function translate(number, withoutSuffix, key, isFuture) {
|
20 |
var result = number + ' ';
|
21 |
switch (key) {
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
return
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
return
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
|
|
69 |
}
|
70 |
}
|
71 |
|
72 |
var sk = moment.defineLocale('sk', {
|
73 |
-
months
|
74 |
-
monthsShort
|
75 |
-
weekdays
|
76 |
-
weekdaysShort
|
77 |
-
weekdaysMin
|
78 |
-
longDateFormat
|
79 |
LT: 'H:mm',
|
80 |
-
LTS
|
81 |
-
L
|
82 |
-
LL
|
83 |
-
LLL
|
84 |
-
LLLL
|
85 |
},
|
86 |
-
calendar
|
87 |
sameDay: '[dnes o] LT',
|
88 |
nextDay: '[zajtra o] LT',
|
89 |
nextWeek: function () {
|
90 |
switch (this.day()) {
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
}
|
105 |
},
|
106 |
lastDay: '[včera o] LT',
|
107 |
lastWeek: function () {
|
108 |
switch (this.day()) {
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
}
|
122 |
},
|
123 |
-
sameElse: 'L'
|
124 |
},
|
125 |
-
relativeTime
|
126 |
-
future
|
127 |
-
past
|
128 |
-
s
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
},
|
140 |
-
ordinalParse: /\d{1,2}\./,
|
141 |
-
ordinal : '%d.',
|
142 |
-
week : {
|
143 |
-
dow : 1, // Monday is the first day of the week.
|
144 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
145 |
-
}
|
146 |
});
|
147 |
|
148 |
return sk;
|
149 |
|
150 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Slovak [sk]
|
3 |
//! author : Martin Minka : https://github.com/k2s
|
4 |
//! based on work of petrbela : https://github.com/petrbela
|
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 months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
|
19 |
function plural(n) {
|
20 |
+
return n > 1 && n < 5;
|
21 |
}
|
22 |
function translate(number, withoutSuffix, key, isFuture) {
|
23 |
var result = number + ' ';
|
24 |
switch (key) {
|
25 |
+
case 's': // a few seconds / in a few seconds / a few seconds ago
|
26 |
+
return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';
|
27 |
+
case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
|
28 |
+
if (withoutSuffix || isFuture) {
|
29 |
+
return result + (plural(number) ? 'sekundy' : 'sekúnd');
|
30 |
+
} else {
|
31 |
+
return result + 'sekundami';
|
32 |
+
}
|
33 |
+
case 'm': // a minute / in a minute / a minute ago
|
34 |
+
return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';
|
35 |
+
case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
|
36 |
+
if (withoutSuffix || isFuture) {
|
37 |
+
return result + (plural(number) ? 'minúty' : 'minút');
|
38 |
+
} else {
|
39 |
+
return result + 'minútami';
|
40 |
+
}
|
41 |
+
case 'h': // an hour / in an hour / an hour ago
|
42 |
+
return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
|
43 |
+
case 'hh': // 9 hours / in 9 hours / 9 hours ago
|
44 |
+
if (withoutSuffix || isFuture) {
|
45 |
+
return result + (plural(number) ? 'hodiny' : 'hodín');
|
46 |
+
} else {
|
47 |
+
return result + 'hodinami';
|
48 |
+
}
|
49 |
+
case 'd': // a day / in a day / a day ago
|
50 |
+
return withoutSuffix || isFuture ? 'deň' : 'dňom';
|
51 |
+
case 'dd': // 9 days / in 9 days / 9 days ago
|
52 |
+
if (withoutSuffix || isFuture) {
|
53 |
+
return result + (plural(number) ? 'dni' : 'dní');
|
54 |
+
} else {
|
55 |
+
return result + 'dňami';
|
56 |
+
}
|
57 |
+
case 'M': // a month / in a month / a month ago
|
58 |
+
return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';
|
59 |
+
case 'MM': // 9 months / in 9 months / 9 months ago
|
60 |
+
if (withoutSuffix || isFuture) {
|
61 |
+
return result + (plural(number) ? 'mesiace' : 'mesiacov');
|
62 |
+
} else {
|
63 |
+
return result + 'mesiacmi';
|
64 |
+
}
|
65 |
+
case 'y': // a year / in a year / a year ago
|
66 |
+
return withoutSuffix || isFuture ? 'rok' : 'rokom';
|
67 |
+
case 'yy': // 9 years / in 9 years / 9 years ago
|
68 |
+
if (withoutSuffix || isFuture) {
|
69 |
+
return result + (plural(number) ? 'roky' : 'rokov');
|
70 |
+
} else {
|
71 |
+
return result + 'rokmi';
|
72 |
+
}
|
73 |
}
|
74 |
}
|
75 |
|
76 |
var sk = moment.defineLocale('sk', {
|
77 |
+
months: months,
|
78 |
+
monthsShort: monthsShort,
|
79 |
+
weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
|
80 |
+
weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),
|
81 |
+
weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),
|
82 |
+
longDateFormat: {
|
83 |
LT: 'H:mm',
|
84 |
+
LTS: 'H:mm:ss',
|
85 |
+
L: 'DD.MM.YYYY',
|
86 |
+
LL: 'D. MMMM YYYY',
|
87 |
+
LLL: 'D. MMMM YYYY H:mm',
|
88 |
+
LLLL: 'dddd D. MMMM YYYY H:mm',
|
89 |
},
|
90 |
+
calendar: {
|
91 |
sameDay: '[dnes o] LT',
|
92 |
nextDay: '[zajtra o] LT',
|
93 |
nextWeek: function () {
|
94 |
switch (this.day()) {
|
95 |
+
case 0:
|
96 |
+
return '[v nedeľu o] LT';
|
97 |
+
case 1:
|
98 |
+
case 2:
|
99 |
+
return '[v] dddd [o] LT';
|
100 |
+
case 3:
|
101 |
+
return '[v stredu o] LT';
|
102 |
+
case 4:
|
103 |
+
return '[vo štvrtok o] LT';
|
104 |
+
case 5:
|
105 |
+
return '[v piatok o] LT';
|
106 |
+
case 6:
|
107 |
+
return '[v sobotu o] LT';
|
108 |
}
|
109 |
},
|
110 |
lastDay: '[včera o] LT',
|
111 |
lastWeek: function () {
|
112 |
switch (this.day()) {
|
113 |
+
case 0:
|
114 |
+
return '[minulú nedeľu o] LT';
|
115 |
+
case 1:
|
116 |
+
case 2:
|
117 |
+
return '[minulý] dddd [o] LT';
|
118 |
+
case 3:
|
119 |
+
return '[minulú stredu o] LT';
|
120 |
+
case 4:
|
121 |
+
case 5:
|
122 |
+
return '[minulý] dddd [o] LT';
|
123 |
+
case 6:
|
124 |
+
return '[minulú sobotu o] LT';
|
125 |
}
|
126 |
},
|
127 |
+
sameElse: 'L',
|
128 |
},
|
129 |
+
relativeTime: {
|
130 |
+
future: 'za %s',
|
131 |
+
past: 'pred %s',
|
132 |
+
s: translate,
|
133 |
+
ss: translate,
|
134 |
+
m: translate,
|
135 |
+
mm: translate,
|
136 |
+
h: translate,
|
137 |
+
hh: translate,
|
138 |
+
d: translate,
|
139 |
+
dd: translate,
|
140 |
+
M: translate,
|
141 |
+
MM: translate,
|
142 |
+
y: translate,
|
143 |
+
yy: translate,
|
144 |
+
},
|
145 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
146 |
+
ordinal: '%d.',
|
147 |
+
week: {
|
148 |
+
dow: 1, // Monday is the first day of the week.
|
149 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
150 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
});
|
152 |
|
153 |
return sk;
|
154 |
|
155 |
+
})));
|
assets/js/moment/locale/sl.js
CHANGED
@@ -1,160 +1,181 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Robert Sedovšek : https://github.com/sedovsek
|
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 |
|
13 |
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
14 |
var result = number + ' ';
|
15 |
switch (key) {
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
}
|
82 |
}
|
83 |
|
84 |
var sl = moment.defineLocale('sl', {
|
85 |
-
months
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
},
|
98 |
-
calendar
|
99 |
-
sameDay
|
100 |
-
nextDay
|
101 |
|
102 |
-
nextWeek
|
103 |
switch (this.day()) {
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
}
|
116 |
},
|
117 |
-
lastDay
|
118 |
-
lastWeek
|
119 |
switch (this.day()) {
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
}
|
132 |
},
|
133 |
-
sameElse
|
134 |
},
|
135 |
-
relativeTime
|
136 |
-
future
|
137 |
-
past
|
138 |
-
s
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
},
|
150 |
-
ordinalParse: /\d{1,2}\./,
|
151 |
-
ordinal : '%d.',
|
152 |
-
week : {
|
153 |
-
dow : 1, // Monday is the first day of the week.
|
154 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
155 |
-
}
|
156 |
});
|
157 |
|
158 |
return sl;
|
159 |
|
160 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Slovenian [sl]
|
3 |
//! author : Robert Sedovšek : https://github.com/sedovsek
|
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 processRelativeTime(number, withoutSuffix, key, isFuture) {
|
15 |
var result = number + ' ';
|
16 |
switch (key) {
|
17 |
+
case 's':
|
18 |
+
return withoutSuffix || isFuture
|
19 |
+
? 'nekaj sekund'
|
20 |
+
: 'nekaj sekundami';
|
21 |
+
case 'ss':
|
22 |
+
if (number === 1) {
|
23 |
+
result += withoutSuffix ? 'sekundo' : 'sekundi';
|
24 |
+
} else if (number === 2) {
|
25 |
+
result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';
|
26 |
+
} else if (number < 5) {
|
27 |
+
result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';
|
28 |
+
} else {
|
29 |
+
result += 'sekund';
|
30 |
+
}
|
31 |
+
return result;
|
32 |
+
case 'm':
|
33 |
+
return withoutSuffix ? 'ena minuta' : 'eno minuto';
|
34 |
+
case 'mm':
|
35 |
+
if (number === 1) {
|
36 |
+
result += withoutSuffix ? 'minuta' : 'minuto';
|
37 |
+
} else if (number === 2) {
|
38 |
+
result += withoutSuffix || isFuture ? 'minuti' : 'minutama';
|
39 |
+
} else if (number < 5) {
|
40 |
+
result += withoutSuffix || isFuture ? 'minute' : 'minutami';
|
41 |
+
} else {
|
42 |
+
result += withoutSuffix || isFuture ? 'minut' : 'minutami';
|
43 |
+
}
|
44 |
+
return result;
|
45 |
+
case 'h':
|
46 |
+
return withoutSuffix ? 'ena ura' : 'eno uro';
|
47 |
+
case 'hh':
|
48 |
+
if (number === 1) {
|
49 |
+
result += withoutSuffix ? 'ura' : 'uro';
|
50 |
+
} else if (number === 2) {
|
51 |
+
result += withoutSuffix || isFuture ? 'uri' : 'urama';
|
52 |
+
} else if (number < 5) {
|
53 |
+
result += withoutSuffix || isFuture ? 'ure' : 'urami';
|
54 |
+
} else {
|
55 |
+
result += withoutSuffix || isFuture ? 'ur' : 'urami';
|
56 |
+
}
|
57 |
+
return result;
|
58 |
+
case 'd':
|
59 |
+
return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
|
60 |
+
case 'dd':
|
61 |
+
if (number === 1) {
|
62 |
+
result += withoutSuffix || isFuture ? 'dan' : 'dnem';
|
63 |
+
} else if (number === 2) {
|
64 |
+
result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';
|
65 |
+
} else {
|
66 |
+
result += withoutSuffix || isFuture ? 'dni' : 'dnevi';
|
67 |
+
}
|
68 |
+
return result;
|
69 |
+
case 'M':
|
70 |
+
return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
|
71 |
+
case 'MM':
|
72 |
+
if (number === 1) {
|
73 |
+
result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';
|
74 |
+
} else if (number === 2) {
|
75 |
+
result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';
|
76 |
+
} else if (number < 5) {
|
77 |
+
result += withoutSuffix || isFuture ? 'mesece' : 'meseci';
|
78 |
+
} else {
|
79 |
+
result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';
|
80 |
+
}
|
81 |
+
return result;
|
82 |
+
case 'y':
|
83 |
+
return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
|
84 |
+
case 'yy':
|
85 |
+
if (number === 1) {
|
86 |
+
result += withoutSuffix || isFuture ? 'leto' : 'letom';
|
87 |
+
} else if (number === 2) {
|
88 |
+
result += withoutSuffix || isFuture ? 'leti' : 'letoma';
|
89 |
+
} else if (number < 5) {
|
90 |
+
result += withoutSuffix || isFuture ? 'leta' : 'leti';
|
91 |
+
} else {
|
92 |
+
result += withoutSuffix || isFuture ? 'let' : 'leti';
|
93 |
+
}
|
94 |
+
return result;
|
95 |
}
|
96 |
}
|
97 |
|
98 |
var sl = moment.defineLocale('sl', {
|
99 |
+
months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split(
|
100 |
+
'_'
|
101 |
+
),
|
102 |
+
monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split(
|
103 |
+
'_'
|
104 |
+
),
|
105 |
+
monthsParseExact: true,
|
106 |
+
weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
|
107 |
+
weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),
|
108 |
+
weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),
|
109 |
+
weekdaysParseExact: true,
|
110 |
+
longDateFormat: {
|
111 |
+
LT: 'H:mm',
|
112 |
+
LTS: 'H:mm:ss',
|
113 |
+
L: 'DD. MM. YYYY',
|
114 |
+
LL: 'D. MMMM YYYY',
|
115 |
+
LLL: 'D. MMMM YYYY H:mm',
|
116 |
+
LLLL: 'dddd, D. MMMM YYYY H:mm',
|
117 |
},
|
118 |
+
calendar: {
|
119 |
+
sameDay: '[danes ob] LT',
|
120 |
+
nextDay: '[jutri ob] LT',
|
121 |
|
122 |
+
nextWeek: function () {
|
123 |
switch (this.day()) {
|
124 |
+
case 0:
|
125 |
+
return '[v] [nedeljo] [ob] LT';
|
126 |
+
case 3:
|
127 |
+
return '[v] [sredo] [ob] LT';
|
128 |
+
case 6:
|
129 |
+
return '[v] [soboto] [ob] LT';
|
130 |
+
case 1:
|
131 |
+
case 2:
|
132 |
+
case 4:
|
133 |
+
case 5:
|
134 |
+
return '[v] dddd [ob] LT';
|
135 |
}
|
136 |
},
|
137 |
+
lastDay: '[včeraj ob] LT',
|
138 |
+
lastWeek: function () {
|
139 |
switch (this.day()) {
|
140 |
+
case 0:
|
141 |
+
return '[prejšnjo] [nedeljo] [ob] LT';
|
142 |
+
case 3:
|
143 |
+
return '[prejšnjo] [sredo] [ob] LT';
|
144 |
+
case 6:
|
145 |
+
return '[prejšnjo] [soboto] [ob] LT';
|
146 |
+
case 1:
|
147 |
+
case 2:
|
148 |
+
case 4:
|
149 |
+
case 5:
|
150 |
+
return '[prejšnji] dddd [ob] LT';
|
151 |
}
|
152 |
},
|
153 |
+
sameElse: 'L',
|
154 |
},
|
155 |
+
relativeTime: {
|
156 |
+
future: 'čez %s',
|
157 |
+
past: 'pred %s',
|
158 |
+
s: processRelativeTime,
|
159 |
+
ss: processRelativeTime,
|
160 |
+
m: processRelativeTime,
|
161 |
+
mm: processRelativeTime,
|
162 |
+
h: processRelativeTime,
|
163 |
+
hh: processRelativeTime,
|
164 |
+
d: processRelativeTime,
|
165 |
+
dd: processRelativeTime,
|
166 |
+
M: processRelativeTime,
|
167 |
+
MM: processRelativeTime,
|
168 |
+
y: processRelativeTime,
|
169 |
+
yy: processRelativeTime,
|
170 |
+
},
|
171 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
172 |
+
ordinal: '%d.',
|
173 |
+
week: {
|
174 |
+
dow: 1, // Monday is the first day of the week.
|
175 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
176 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
});
|
178 |
|
179 |
return sl;
|
180 |
|
181 |
+
})));
|
assets/js/moment/locale/sq.js
CHANGED
@@ -1,69 +1,76 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Albanian
|
3 |
//! author : Flakërim Ismani : https://github.com/flakerimi
|
4 |
-
//! author: Menelion Elensúle: https://github.com/Oire
|
5 |
-
//! author : Oerd Cukalla : https://github.com/oerd
|
6 |
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
-
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
-
}(this, function (moment) { 'use strict';
|
13 |
|
|
|
14 |
|
15 |
var sq = moment.defineLocale('sq', {
|
16 |
-
months
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
21 |
meridiemParse: /PD|MD/,
|
22 |
isPM: function (input) {
|
23 |
return input.charAt(0) === 'M';
|
24 |
},
|
25 |
-
meridiem
|
26 |
return hours < 12 ? 'PD' : 'MD';
|
27 |
},
|
28 |
-
longDateFormat
|
29 |
-
LT
|
30 |
-
LTS
|
31 |
-
L
|
32 |
-
LL
|
33 |
-
LLL
|
34 |
-
LLLL
|
35 |
},
|
36 |
-
calendar
|
37 |
-
sameDay
|
38 |
-
nextDay
|
39 |
-
nextWeek
|
40 |
-
lastDay
|
41 |
-
lastWeek
|
42 |
-
sameElse
|
43 |
},
|
44 |
-
relativeTime
|
45 |
-
future
|
46 |
-
past
|
47 |
-
s
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
},
|
59 |
-
ordinalParse: /\d{1,2}\./,
|
60 |
-
ordinal : '%d.',
|
61 |
-
week : {
|
62 |
-
dow : 1, // Monday is the first day of the week.
|
63 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
64 |
-
}
|
65 |
});
|
66 |
|
67 |
return sq;
|
68 |
|
69 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Albanian [sq]
|
3 |
//! author : Flakërim Ismani : https://github.com/flakerimi
|
4 |
+
//! author : Menelion Elensúle : https://github.com/Oire
|
5 |
+
//! author : Oerd Cukalla : https://github.com/oerd
|
6 |
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
+
}(this, (function (moment) { 'use strict';
|
13 |
|
14 |
+
//! moment.js locale configuration
|
15 |
|
16 |
var sq = moment.defineLocale('sq', {
|
17 |
+
months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split(
|
18 |
+
'_'
|
19 |
+
),
|
20 |
+
monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
|
21 |
+
weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split(
|
22 |
+
'_'
|
23 |
+
),
|
24 |
+
weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
|
25 |
+
weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),
|
26 |
+
weekdaysParseExact: true,
|
27 |
meridiemParse: /PD|MD/,
|
28 |
isPM: function (input) {
|
29 |
return input.charAt(0) === 'M';
|
30 |
},
|
31 |
+
meridiem: function (hours, minutes, isLower) {
|
32 |
return hours < 12 ? 'PD' : 'MD';
|
33 |
},
|
34 |
+
longDateFormat: {
|
35 |
+
LT: 'HH:mm',
|
36 |
+
LTS: 'HH:mm:ss',
|
37 |
+
L: 'DD/MM/YYYY',
|
38 |
+
LL: 'D MMMM YYYY',
|
39 |
+
LLL: 'D MMMM YYYY HH:mm',
|
40 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
41 |
},
|
42 |
+
calendar: {
|
43 |
+
sameDay: '[Sot në] LT',
|
44 |
+
nextDay: '[Nesër në] LT',
|
45 |
+
nextWeek: 'dddd [në] LT',
|
46 |
+
lastDay: '[Dje në] LT',
|
47 |
+
lastWeek: 'dddd [e kaluar në] LT',
|
48 |
+
sameElse: 'L',
|
49 |
},
|
50 |
+
relativeTime: {
|
51 |
+
future: 'në %s',
|
52 |
+
past: '%s më parë',
|
53 |
+
s: 'disa sekonda',
|
54 |
+
ss: '%d sekonda',
|
55 |
+
m: 'një minutë',
|
56 |
+
mm: '%d minuta',
|
57 |
+
h: 'një orë',
|
58 |
+
hh: '%d orë',
|
59 |
+
d: 'një ditë',
|
60 |
+
dd: '%d ditë',
|
61 |
+
M: 'një muaj',
|
62 |
+
MM: '%d muaj',
|
63 |
+
y: 'një vit',
|
64 |
+
yy: '%d vite',
|
65 |
+
},
|
66 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
67 |
+
ordinal: '%d.',
|
68 |
+
week: {
|
69 |
+
dow: 1, // Monday is the first day of the week.
|
70 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
71 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
});
|
73 |
|
74 |
return sq;
|
75 |
|
76 |
+
})));
|
assets/js/moment/locale/sr-cyrl.js
CHANGED
@@ -1,72 +1,90 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Serbian
|
3 |
//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
|
|
|
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 |
|
13 |
var translator = {
|
14 |
-
words: {
|
|
|
|
|
15 |
m: ['један минут', 'једне минуте'],
|
16 |
mm: ['минут', 'минуте', 'минута'],
|
17 |
h: ['један сат', 'једног сата'],
|
18 |
hh: ['сат', 'сата', 'сати'],
|
19 |
dd: ['дан', 'дана', 'дана'],
|
20 |
MM: ['месец', 'месеца', 'месеци'],
|
21 |
-
yy: ['година', 'године', 'година']
|
22 |
},
|
23 |
correctGrammaticalCase: function (number, wordKey) {
|
24 |
-
return number === 1
|
|
|
|
|
|
|
|
|
25 |
},
|
26 |
translate: function (number, withoutSuffix, key) {
|
27 |
var wordKey = translator.words[key];
|
28 |
if (key.length === 1) {
|
29 |
return withoutSuffix ? wordKey[0] : wordKey[1];
|
30 |
} else {
|
31 |
-
return
|
|
|
|
|
|
|
|
|
32 |
}
|
33 |
-
}
|
34 |
};
|
35 |
|
36 |
-
var
|
37 |
-
months:
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
longDateFormat: {
|
43 |
LT: 'H:mm',
|
44 |
-
LTS
|
45 |
-
L: '
|
46 |
-
LL: 'D. MMMM YYYY',
|
47 |
-
LLL: 'D. MMMM YYYY H:mm',
|
48 |
-
LLLL: 'dddd, D. MMMM YYYY H:mm'
|
49 |
},
|
50 |
calendar: {
|
51 |
sameDay: '[данас у] LT',
|
52 |
nextDay: '[сутра у] LT',
|
53 |
nextWeek: function () {
|
54 |
switch (this.day()) {
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
}
|
67 |
},
|
68 |
-
lastDay
|
69 |
-
lastWeek
|
70 |
var lastWeekDays = [
|
71 |
'[прошле] [недеље] [у] LT',
|
72 |
'[прошлог] [понедељка] [у] LT',
|
@@ -74,35 +92,36 @@
|
|
74 |
'[прошле] [среде] [у] LT',
|
75 |
'[прошлог] [четвртка] [у] LT',
|
76 |
'[прошлог] [петка] [у] LT',
|
77 |
-
'[прошле] [суботе] [у] LT'
|
78 |
];
|
79 |
return lastWeekDays[this.day()];
|
80 |
},
|
81 |
-
sameElse
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
},
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
mm : translator.translate,
|
89 |
-
h : translator.translate,
|
90 |
-
hh : translator.translate,
|
91 |
-
d : 'дан',
|
92 |
-
dd : translator.translate,
|
93 |
-
M : 'месец',
|
94 |
-
MM : translator.translate,
|
95 |
-
y : 'годину',
|
96 |
-
yy : translator.translate
|
97 |
},
|
98 |
-
ordinalParse: /\d{1,2}\./,
|
99 |
-
ordinal : '%d.',
|
100 |
-
week : {
|
101 |
-
dow : 1, // Monday is the first day of the week.
|
102 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
103 |
-
}
|
104 |
});
|
105 |
|
106 |
-
return
|
107 |
|
108 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Serbian Cyrillic [sr-cyrl]
|
3 |
//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
|
4 |
+
//! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic
|
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 translator = {
|
16 |
+
words: {
|
17 |
+
//Different grammatical cases
|
18 |
+
ss: ['секунда', 'секунде', 'секунди'],
|
19 |
m: ['један минут', 'једне минуте'],
|
20 |
mm: ['минут', 'минуте', 'минута'],
|
21 |
h: ['један сат', 'једног сата'],
|
22 |
hh: ['сат', 'сата', 'сати'],
|
23 |
dd: ['дан', 'дана', 'дана'],
|
24 |
MM: ['месец', 'месеца', 'месеци'],
|
25 |
+
yy: ['година', 'године', 'година'],
|
26 |
},
|
27 |
correctGrammaticalCase: function (number, wordKey) {
|
28 |
+
return number === 1
|
29 |
+
? wordKey[0]
|
30 |
+
: number >= 2 && number <= 4
|
31 |
+
? wordKey[1]
|
32 |
+
: wordKey[2];
|
33 |
},
|
34 |
translate: function (number, withoutSuffix, key) {
|
35 |
var wordKey = translator.words[key];
|
36 |
if (key.length === 1) {
|
37 |
return withoutSuffix ? wordKey[0] : wordKey[1];
|
38 |
} else {
|
39 |
+
return (
|
40 |
+
number +
|
41 |
+
' ' +
|
42 |
+
translator.correctGrammaticalCase(number, wordKey)
|
43 |
+
);
|
44 |
}
|
45 |
+
},
|
46 |
};
|
47 |
|
48 |
+
var srCyrl = moment.defineLocale('sr-cyrl', {
|
49 |
+
months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split(
|
50 |
+
'_'
|
51 |
+
),
|
52 |
+
monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split(
|
53 |
+
'_'
|
54 |
+
),
|
55 |
+
monthsParseExact: true,
|
56 |
+
weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),
|
57 |
+
weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),
|
58 |
+
weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),
|
59 |
+
weekdaysParseExact: true,
|
60 |
longDateFormat: {
|
61 |
LT: 'H:mm',
|
62 |
+
LTS: 'H:mm:ss',
|
63 |
+
L: 'D. M. YYYY.',
|
64 |
+
LL: 'D. MMMM YYYY.',
|
65 |
+
LLL: 'D. MMMM YYYY. H:mm',
|
66 |
+
LLLL: 'dddd, D. MMMM YYYY. H:mm',
|
67 |
},
|
68 |
calendar: {
|
69 |
sameDay: '[данас у] LT',
|
70 |
nextDay: '[сутра у] LT',
|
71 |
nextWeek: function () {
|
72 |
switch (this.day()) {
|
73 |
+
case 0:
|
74 |
+
return '[у] [недељу] [у] LT';
|
75 |
+
case 3:
|
76 |
+
return '[у] [среду] [у] LT';
|
77 |
+
case 6:
|
78 |
+
return '[у] [суботу] [у] LT';
|
79 |
+
case 1:
|
80 |
+
case 2:
|
81 |
+
case 4:
|
82 |
+
case 5:
|
83 |
+
return '[у] dddd [у] LT';
|
84 |
}
|
85 |
},
|
86 |
+
lastDay: '[јуче у] LT',
|
87 |
+
lastWeek: function () {
|
88 |
var lastWeekDays = [
|
89 |
'[прошле] [недеље] [у] LT',
|
90 |
'[прошлог] [понедељка] [у] LT',
|
92 |
'[прошле] [среде] [у] LT',
|
93 |
'[прошлог] [четвртка] [у] LT',
|
94 |
'[прошлог] [петка] [у] LT',
|
95 |
+
'[прошле] [суботе] [у] LT',
|
96 |
];
|
97 |
return lastWeekDays[this.day()];
|
98 |
},
|
99 |
+
sameElse: 'L',
|
100 |
+
},
|
101 |
+
relativeTime: {
|
102 |
+
future: 'за %s',
|
103 |
+
past: 'пре %s',
|
104 |
+
s: 'неколико секунди',
|
105 |
+
ss: translator.translate,
|
106 |
+
m: translator.translate,
|
107 |
+
mm: translator.translate,
|
108 |
+
h: translator.translate,
|
109 |
+
hh: translator.translate,
|
110 |
+
d: 'дан',
|
111 |
+
dd: translator.translate,
|
112 |
+
M: 'месец',
|
113 |
+
MM: translator.translate,
|
114 |
+
y: 'годину',
|
115 |
+
yy: translator.translate,
|
116 |
},
|
117 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
118 |
+
ordinal: '%d.',
|
119 |
+
week: {
|
120 |
+
dow: 1, // Monday is the first day of the week.
|
121 |
+
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
});
|
124 |
|
125 |
+
return srCyrl;
|
126 |
|
127 |
+
})));
|
assets/js/moment/locale/sr.js
CHANGED
@@ -1,72 +1,92 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Serbian
|
3 |
//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
|
|
|
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 |
|
13 |
var translator = {
|
14 |
-
words: {
|
|
|
|
|
15 |
m: ['jedan minut', 'jedne minute'],
|
16 |
mm: ['minut', 'minute', 'minuta'],
|
17 |
h: ['jedan sat', 'jednog sata'],
|
18 |
hh: ['sat', 'sata', 'sati'],
|
19 |
dd: ['dan', 'dana', 'dana'],
|
20 |
MM: ['mesec', 'meseca', 'meseci'],
|
21 |
-
yy: ['godina', 'godine', 'godina']
|
22 |
},
|
23 |
correctGrammaticalCase: function (number, wordKey) {
|
24 |
-
return number === 1
|
|
|
|
|
|
|
|
|
25 |
},
|
26 |
translate: function (number, withoutSuffix, key) {
|
27 |
var wordKey = translator.words[key];
|
28 |
if (key.length === 1) {
|
29 |
return withoutSuffix ? wordKey[0] : wordKey[1];
|
30 |
} else {
|
31 |
-
return
|
|
|
|
|
|
|
|
|
32 |
}
|
33 |
-
}
|
34 |
};
|
35 |
|
36 |
var sr = moment.defineLocale('sr', {
|
37 |
-
months:
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
longDateFormat: {
|
43 |
LT: 'H:mm',
|
44 |
-
LTS
|
45 |
-
L: '
|
46 |
-
LL: 'D. MMMM YYYY',
|
47 |
-
LLL: 'D. MMMM YYYY H:mm',
|
48 |
-
LLLL: 'dddd, D. MMMM YYYY H:mm'
|
49 |
},
|
50 |
calendar: {
|
51 |
sameDay: '[danas u] LT',
|
52 |
nextDay: '[sutra u] LT',
|
53 |
nextWeek: function () {
|
54 |
switch (this.day()) {
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
}
|
67 |
},
|
68 |
-
lastDay
|
69 |
-
lastWeek
|
70 |
var lastWeekDays = [
|
71 |
'[prošle] [nedelje] [u] LT',
|
72 |
'[prošlog] [ponedeljka] [u] LT',
|
@@ -74,35 +94,36 @@
|
|
74 |
'[prošle] [srede] [u] LT',
|
75 |
'[prošlog] [četvrtka] [u] LT',
|
76 |
'[prošlog] [petka] [u] LT',
|
77 |
-
'[prošle] [subote] [u] LT'
|
78 |
];
|
79 |
return lastWeekDays[this.day()];
|
80 |
},
|
81 |
-
sameElse
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
},
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
mm : translator.translate,
|
89 |
-
h : translator.translate,
|
90 |
-
hh : translator.translate,
|
91 |
-
d : 'dan',
|
92 |
-
dd : translator.translate,
|
93 |
-
M : 'mesec',
|
94 |
-
MM : translator.translate,
|
95 |
-
y : 'godinu',
|
96 |
-
yy : translator.translate
|
97 |
},
|
98 |
-
ordinalParse: /\d{1,2}\./,
|
99 |
-
ordinal : '%d.',
|
100 |
-
week : {
|
101 |
-
dow : 1, // Monday is the first day of the week.
|
102 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
103 |
-
}
|
104 |
});
|
105 |
|
106 |
return sr;
|
107 |
|
108 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Serbian [sr]
|
3 |
//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
|
4 |
+
//! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic
|
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 translator = {
|
16 |
+
words: {
|
17 |
+
//Different grammatical cases
|
18 |
+
ss: ['sekunda', 'sekunde', 'sekundi'],
|
19 |
m: ['jedan minut', 'jedne minute'],
|
20 |
mm: ['minut', 'minute', 'minuta'],
|
21 |
h: ['jedan sat', 'jednog sata'],
|
22 |
hh: ['sat', 'sata', 'sati'],
|
23 |
dd: ['dan', 'dana', 'dana'],
|
24 |
MM: ['mesec', 'meseca', 'meseci'],
|
25 |
+
yy: ['godina', 'godine', 'godina'],
|
26 |
},
|
27 |
correctGrammaticalCase: function (number, wordKey) {
|
28 |
+
return number === 1
|
29 |
+
? wordKey[0]
|
30 |
+
: number >= 2 && number <= 4
|
31 |
+
? wordKey[1]
|
32 |
+
: wordKey[2];
|
33 |
},
|
34 |
translate: function (number, withoutSuffix, key) {
|
35 |
var wordKey = translator.words[key];
|
36 |
if (key.length === 1) {
|
37 |
return withoutSuffix ? wordKey[0] : wordKey[1];
|
38 |
} else {
|
39 |
+
return (
|
40 |
+
number +
|
41 |
+
' ' +
|
42 |
+
translator.correctGrammaticalCase(number, wordKey)
|
43 |
+
);
|
44 |
}
|
45 |
+
},
|
46 |
};
|
47 |
|
48 |
var sr = moment.defineLocale('sr', {
|
49 |
+
months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(
|
50 |
+
'_'
|
51 |
+
),
|
52 |
+
monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split(
|
53 |
+
'_'
|
54 |
+
),
|
55 |
+
monthsParseExact: true,
|
56 |
+
weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split(
|
57 |
+
'_'
|
58 |
+
),
|
59 |
+
weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),
|
60 |
+
weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
|
61 |
+
weekdaysParseExact: true,
|
62 |
longDateFormat: {
|
63 |
LT: 'H:mm',
|
64 |
+
LTS: 'H:mm:ss',
|
65 |
+
L: 'D. M. YYYY.',
|
66 |
+
LL: 'D. MMMM YYYY.',
|
67 |
+
LLL: 'D. MMMM YYYY. H:mm',
|
68 |
+
LLLL: 'dddd, D. MMMM YYYY. H:mm',
|
69 |
},
|
70 |
calendar: {
|
71 |
sameDay: '[danas u] LT',
|
72 |
nextDay: '[sutra u] LT',
|
73 |
nextWeek: function () {
|
74 |
switch (this.day()) {
|
75 |
+
case 0:
|
76 |
+
return '[u] [nedelju] [u] LT';
|
77 |
+
case 3:
|
78 |
+
return '[u] [sredu] [u] LT';
|
79 |
+
case 6:
|
80 |
+
return '[u] [subotu] [u] LT';
|
81 |
+
case 1:
|
82 |
+
case 2:
|
83 |
+
case 4:
|
84 |
+
case 5:
|
85 |
+
return '[u] dddd [u] LT';
|
86 |
}
|
87 |
},
|
88 |
+
lastDay: '[juče u] LT',
|
89 |
+
lastWeek: function () {
|
90 |
var lastWeekDays = [
|
91 |
'[prošle] [nedelje] [u] LT',
|
92 |
'[prošlog] [ponedeljka] [u] LT',
|
94 |
'[prošle] [srede] [u] LT',
|
95 |
'[prošlog] [četvrtka] [u] LT',
|
96 |
'[prošlog] [petka] [u] LT',
|
97 |
+
'[prošle] [subote] [u] LT',
|
98 |
];
|
99 |
return lastWeekDays[this.day()];
|
100 |
},
|
101 |
+
sameElse: 'L',
|
102 |
+
},
|
103 |
+
relativeTime: {
|
104 |
+
future: 'za %s',
|
105 |
+
past: 'pre %s',
|
106 |
+
s: 'nekoliko sekundi',
|
107 |
+
ss: translator.translate,
|
108 |
+
m: translator.translate,
|
109 |
+
mm: translator.translate,
|
110 |
+
h: translator.translate,
|
111 |
+
hh: translator.translate,
|
112 |
+
d: 'dan',
|
113 |
+
dd: translator.translate,
|
114 |
+
M: 'mesec',
|
115 |
+
MM: translator.translate,
|
116 |
+
y: 'godinu',
|
117 |
+
yy: translator.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: 7, // The week that contains Jan 7th is the first week of the year.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
});
|
126 |
|
127 |
return sr;
|
128 |
|
129 |
+
})));
|
assets/js/moment/locale/ss.js
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : siSwati [ss]
|
3 |
+
//! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies
|
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 ss = moment.defineLocale('ss', {
|
15 |
+
months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
|
19 |
+
weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
|
23 |
+
weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
|
24 |
+
weekdaysParseExact: true,
|
25 |
+
longDateFormat: {
|
26 |
+
LT: 'h:mm A',
|
27 |
+
LTS: 'h:mm:ss A',
|
28 |
+
L: 'DD/MM/YYYY',
|
29 |
+
LL: 'D MMMM YYYY',
|
30 |
+
LLL: 'D MMMM YYYY h:mm A',
|
31 |
+
LLLL: 'dddd, D MMMM YYYY h:mm A',
|
32 |
+
},
|
33 |
+
calendar: {
|
34 |
+
sameDay: '[Namuhla nga] LT',
|
35 |
+
nextDay: '[Kusasa nga] LT',
|
36 |
+
nextWeek: 'dddd [nga] LT',
|
37 |
+
lastDay: '[Itolo nga] LT',
|
38 |
+
lastWeek: 'dddd [leliphelile] [nga] LT',
|
39 |
+
sameElse: 'L',
|
40 |
+
},
|
41 |
+
relativeTime: {
|
42 |
+
future: 'nga %s',
|
43 |
+
past: 'wenteka nga %s',
|
44 |
+
s: 'emizuzwana lomcane',
|
45 |
+
ss: '%d mzuzwana',
|
46 |
+
m: 'umzuzu',
|
47 |
+
mm: '%d emizuzu',
|
48 |
+
h: 'lihora',
|
49 |
+
hh: '%d emahora',
|
50 |
+
d: 'lilanga',
|
51 |
+
dd: '%d emalanga',
|
52 |
+
M: 'inyanga',
|
53 |
+
MM: '%d tinyanga',
|
54 |
+
y: 'umnyaka',
|
55 |
+
yy: '%d iminyaka',
|
56 |
+
},
|
57 |
+
meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
|
58 |
+
meridiem: function (hours, minutes, isLower) {
|
59 |
+
if (hours < 11) {
|
60 |
+
return 'ekuseni';
|
61 |
+
} else if (hours < 15) {
|
62 |
+
return 'emini';
|
63 |
+
} else if (hours < 19) {
|
64 |
+
return 'entsambama';
|
65 |
+
} else {
|
66 |
+
return 'ebusuku';
|
67 |
+
}
|
68 |
+
},
|
69 |
+
meridiemHour: function (hour, meridiem) {
|
70 |
+
if (hour === 12) {
|
71 |
+
hour = 0;
|
72 |
+
}
|
73 |
+
if (meridiem === 'ekuseni') {
|
74 |
+
return hour;
|
75 |
+
} else if (meridiem === 'emini') {
|
76 |
+
return hour >= 11 ? hour : hour + 12;
|
77 |
+
} else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
|
78 |
+
if (hour === 0) {
|
79 |
+
return 0;
|
80 |
+
}
|
81 |
+
return hour + 12;
|
82 |
+
}
|
83 |
+
},
|
84 |
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
85 |
+
ordinal: '%d',
|
86 |
+
week: {
|
87 |
+
dow: 1, // Monday is the first day of the week.
|
88 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
89 |
+
},
|
90 |
+
});
|
91 |
+
|
92 |
+
return ss;
|
93 |
+
|
94 |
+
})));
|
assets/js/moment/locale/sv.js
CHANGED
@@ -1,67 +1,79 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Jens Alm : https://github.com/ulmus
|
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 |
|
13 |
var sv = moment.defineLocale('sv', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
sameDay: '[Idag] LT',
|
29 |
nextDay: '[Imorgon] LT',
|
30 |
lastDay: '[Igår] LT',
|
31 |
nextWeek: '[På] dddd LT',
|
32 |
lastWeek: '[I] dddd[s] LT',
|
33 |
-
sameElse: 'L'
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
49 |
},
|
50 |
-
|
51 |
-
ordinal
|
52 |
var b = number % 10,
|
53 |
-
output =
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
return number + output;
|
58 |
},
|
59 |
-
week
|
60 |
-
dow
|
61 |
-
doy
|
62 |
-
}
|
63 |
});
|
64 |
|
65 |
return sv;
|
66 |
|
67 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Swedish [sv]
|
3 |
//! author : Jens Alm : https://github.com/ulmus
|
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 sv = moment.defineLocale('sv', {
|
15 |
+
months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
|
19 |
+
weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
|
20 |
+
weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
|
21 |
+
weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),
|
22 |
+
longDateFormat: {
|
23 |
+
LT: 'HH:mm',
|
24 |
+
LTS: 'HH:mm:ss',
|
25 |
+
L: 'YYYY-MM-DD',
|
26 |
+
LL: 'D MMMM YYYY',
|
27 |
+
LLL: 'D MMMM YYYY [kl.] HH:mm',
|
28 |
+
LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',
|
29 |
+
lll: 'D MMM YYYY HH:mm',
|
30 |
+
llll: 'ddd D MMM YYYY HH:mm',
|
31 |
},
|
32 |
+
calendar: {
|
33 |
sameDay: '[Idag] LT',
|
34 |
nextDay: '[Imorgon] LT',
|
35 |
lastDay: '[Igår] LT',
|
36 |
nextWeek: '[På] dddd LT',
|
37 |
lastWeek: '[I] dddd[s] LT',
|
38 |
+
sameElse: 'L',
|
39 |
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'om %s',
|
42 |
+
past: 'för %s sedan',
|
43 |
+
s: 'några sekunder',
|
44 |
+
ss: '%d sekunder',
|
45 |
+
m: 'en minut',
|
46 |
+
mm: '%d minuter',
|
47 |
+
h: 'en timme',
|
48 |
+
hh: '%d timmar',
|
49 |
+
d: 'en dag',
|
50 |
+
dd: '%d dagar',
|
51 |
+
M: 'en månad',
|
52 |
+
MM: '%d månader',
|
53 |
+
y: 'ett år',
|
54 |
+
yy: '%d år',
|
55 |
},
|
56 |
+
dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
|
57 |
+
ordinal: function (number) {
|
58 |
var b = number % 10,
|
59 |
+
output =
|
60 |
+
~~((number % 100) / 10) === 1
|
61 |
+
? ':e'
|
62 |
+
: b === 1
|
63 |
+
? ':a'
|
64 |
+
: b === 2
|
65 |
+
? ':a'
|
66 |
+
: b === 3
|
67 |
+
? ':e'
|
68 |
+
: ':e';
|
69 |
return number + output;
|
70 |
},
|
71 |
+
week: {
|
72 |
+
dow: 1, // Monday is the first day of the week.
|
73 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
74 |
+
},
|
75 |
});
|
76 |
|
77 |
return sv;
|
78 |
|
79 |
+
})));
|
assets/js/moment/locale/sw.js
CHANGED
@@ -1,58 +1,65 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Fahad Kassim : https://github.com/fadsel
|
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 |
|
13 |
var sw = moment.defineLocale('sw', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay
|
29 |
-
nextDay
|
30 |
-
nextWeek
|
31 |
-
lastDay
|
32 |
-
lastWeek
|
33 |
-
sameElse
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
49 |
},
|
50 |
-
week : {
|
51 |
-
dow : 1, // Monday is the first day of the week.
|
52 |
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
53 |
-
}
|
54 |
});
|
55 |
|
56 |
return sw;
|
57 |
|
58 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Swahili [sw]
|
3 |
//! author : Fahad Kassim : https://github.com/fadsel
|
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 sw = moment.defineLocale('sw', {
|
15 |
+
months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
|
19 |
+
weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
|
23 |
+
weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
|
24 |
+
weekdaysParseExact: true,
|
25 |
+
longDateFormat: {
|
26 |
+
LT: 'hh:mm A',
|
27 |
+
LTS: 'HH:mm:ss',
|
28 |
+
L: 'DD.MM.YYYY',
|
29 |
+
LL: 'D MMMM YYYY',
|
30 |
+
LLL: 'D MMMM YYYY HH:mm',
|
31 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
32 |
},
|
33 |
+
calendar: {
|
34 |
+
sameDay: '[leo saa] LT',
|
35 |
+
nextDay: '[kesho saa] LT',
|
36 |
+
nextWeek: '[wiki ijayo] dddd [saat] LT',
|
37 |
+
lastDay: '[jana] LT',
|
38 |
+
lastWeek: '[wiki iliyopita] dddd [saat] LT',
|
39 |
+
sameElse: 'L',
|
40 |
},
|
41 |
+
relativeTime: {
|
42 |
+
future: '%s baadaye',
|
43 |
+
past: 'tokea %s',
|
44 |
+
s: 'hivi punde',
|
45 |
+
ss: 'sekunde %d',
|
46 |
+
m: 'dakika moja',
|
47 |
+
mm: 'dakika %d',
|
48 |
+
h: 'saa limoja',
|
49 |
+
hh: 'masaa %d',
|
50 |
+
d: 'siku moja',
|
51 |
+
dd: 'siku %d',
|
52 |
+
M: 'mwezi mmoja',
|
53 |
+
MM: 'miezi %d',
|
54 |
+
y: 'mwaka mmoja',
|
55 |
+
yy: 'miaka %d',
|
56 |
+
},
|
57 |
+
week: {
|
58 |
+
dow: 1, // Monday is the first day of the week.
|
59 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
60 |
},
|
|
|
|
|
|
|
|
|
61 |
});
|
62 |
|
63 |
return sw;
|
64 |
|
65 |
+
})));
|
assets/js/moment/locale/ta.js
CHANGED
@@ -1,78 +1,89 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404
|
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 |
|
13 |
var symbolMap = {
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
36 |
|
37 |
var ta = moment.defineLocale('ta', {
|
38 |
-
months
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
},
|
51 |
-
calendar
|
52 |
-
sameDay
|
53 |
-
nextDay
|
54 |
-
nextWeek
|
55 |
-
lastDay
|
56 |
-
lastWeek
|
57 |
-
sameElse
|
58 |
},
|
59 |
-
relativeTime
|
60 |
-
future
|
61 |
-
past
|
62 |
-
s
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
|
|
73 |
},
|
74 |
-
|
75 |
-
ordinal
|
76 |
return number + 'வது';
|
77 |
},
|
78 |
preparse: function (string) {
|
@@ -87,11 +98,11 @@
|
|
87 |
},
|
88 |
// refer http://ta.wikipedia.org/s/1er1
|
89 |
meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
|
90 |
-
meridiem
|
91 |
if (hour < 2) {
|
92 |
return ' யாமம்';
|
93 |
} else if (hour < 6) {
|
94 |
-
return ' வைகறை';
|
95 |
} else if (hour < 10) {
|
96 |
return ' காலை'; // காலை
|
97 |
} else if (hour < 14) {
|
@@ -104,7 +115,7 @@
|
|
104 |
return ' யாமம்';
|
105 |
}
|
106 |
},
|
107 |
-
meridiemHour
|
108 |
if (hour === 12) {
|
109 |
hour = 0;
|
110 |
}
|
@@ -118,12 +129,12 @@
|
|
118 |
return hour + 12;
|
119 |
}
|
120 |
},
|
121 |
-
week
|
122 |
-
dow
|
123 |
-
doy
|
124 |
-
}
|
125 |
});
|
126 |
|
127 |
return ta;
|
128 |
|
129 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Tamil [ta]
|
3 |
//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404
|
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 |
|
39 |
var ta = moment.defineLocale('ta', {
|
40 |
+
months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(
|
41 |
+
'_'
|
42 |
+
),
|
43 |
+
monthsShort: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(
|
44 |
+
'_'
|
45 |
+
),
|
46 |
+
weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split(
|
47 |
+
'_'
|
48 |
+
),
|
49 |
+
weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split(
|
50 |
+
'_'
|
51 |
+
),
|
52 |
+
weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
|
53 |
+
longDateFormat: {
|
54 |
+
LT: 'HH:mm',
|
55 |
+
LTS: 'HH:mm:ss',
|
56 |
+
L: 'DD/MM/YYYY',
|
57 |
+
LL: 'D MMMM YYYY',
|
58 |
+
LLL: 'D MMMM YYYY, HH:mm',
|
59 |
+
LLLL: 'dddd, D MMMM YYYY, HH:mm',
|
60 |
},
|
61 |
+
calendar: {
|
62 |
+
sameDay: '[இன்று] LT',
|
63 |
+
nextDay: '[நாளை] LT',
|
64 |
+
nextWeek: 'dddd, LT',
|
65 |
+
lastDay: '[நேற்று] LT',
|
66 |
+
lastWeek: '[கடந்த வாரம்] dddd, LT',
|
67 |
+
sameElse: 'L',
|
68 |
},
|
69 |
+
relativeTime: {
|
70 |
+
future: '%s இல்',
|
71 |
+
past: '%s முன்',
|
72 |
+
s: 'ஒரு சில விநாடிகள்',
|
73 |
+
ss: '%d விநாடிகள்',
|
74 |
+
m: 'ஒரு நிமிடம்',
|
75 |
+
mm: '%d நிமிடங்கள்',
|
76 |
+
h: 'ஒரு மணி நேரம்',
|
77 |
+
hh: '%d மணி நேரம்',
|
78 |
+
d: 'ஒரு நாள்',
|
79 |
+
dd: '%d நாட்கள்',
|
80 |
+
M: 'ஒரு மாதம்',
|
81 |
+
MM: '%d மாதங்கள்',
|
82 |
+
y: 'ஒரு வருடம்',
|
83 |
+
yy: '%d ஆண்டுகள்',
|
84 |
},
|
85 |
+
dayOfMonthOrdinalParse: /\d{1,2}வது/,
|
86 |
+
ordinal: function (number) {
|
87 |
return number + 'வது';
|
88 |
},
|
89 |
preparse: function (string) {
|
98 |
},
|
99 |
// refer http://ta.wikipedia.org/s/1er1
|
100 |
meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
|
101 |
+
meridiem: function (hour, minute, isLower) {
|
102 |
if (hour < 2) {
|
103 |
return ' யாமம்';
|
104 |
} else if (hour < 6) {
|
105 |
+
return ' வைகறை'; // வைகறை
|
106 |
} else if (hour < 10) {
|
107 |
return ' காலை'; // காலை
|
108 |
} else if (hour < 14) {
|
115 |
return ' யாமம்';
|
116 |
}
|
117 |
},
|
118 |
+
meridiemHour: function (hour, meridiem) {
|
119 |
if (hour === 12) {
|
120 |
hour = 0;
|
121 |
}
|
129 |
return hour + 12;
|
130 |
}
|
131 |
},
|
132 |
+
week: {
|
133 |
+
dow: 0, // Sunday is the first day of the week.
|
134 |
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
135 |
+
},
|
136 |
});
|
137 |
|
138 |
return ta;
|
139 |
|
140 |
+
})));
|
assets/js/moment/locale/te.js
CHANGED
@@ -1,56 +1,65 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Krishna Chaitanya Thota : https://github.com/kcthota
|
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 |
|
13 |
var te = moment.defineLocale('te', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay
|
29 |
-
nextDay
|
30 |
-
nextWeek
|
31 |
-
lastDay
|
32 |
-
lastWeek
|
33 |
-
sameElse
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
49 |
},
|
50 |
-
|
51 |
-
ordinal
|
52 |
meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
|
53 |
-
meridiemHour
|
54 |
if (hour === 12) {
|
55 |
hour = 0;
|
56 |
}
|
@@ -64,7 +73,7 @@
|
|
64 |
return hour + 12;
|
65 |
}
|
66 |
},
|
67 |
-
meridiem
|
68 |
if (hour < 4) {
|
69 |
return 'రాత్రి';
|
70 |
} else if (hour < 10) {
|
@@ -77,12 +86,12 @@
|
|
77 |
return 'రాత్రి';
|
78 |
}
|
79 |
},
|
80 |
-
week
|
81 |
-
dow
|
82 |
-
doy
|
83 |
-
}
|
84 |
});
|
85 |
|
86 |
return te;
|
87 |
|
88 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Telugu [te]
|
3 |
//! author : Krishna Chaitanya Thota : https://github.com/kcthota
|
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 te = moment.defineLocale('te', {
|
15 |
+
months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsParseExact: true,
|
22 |
+
weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split(
|
23 |
+
'_'
|
24 |
+
),
|
25 |
+
weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
|
26 |
+
weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
|
27 |
+
longDateFormat: {
|
28 |
+
LT: 'A h:mm',
|
29 |
+
LTS: 'A h:mm:ss',
|
30 |
+
L: 'DD/MM/YYYY',
|
31 |
+
LL: 'D MMMM YYYY',
|
32 |
+
LLL: 'D MMMM YYYY, A h:mm',
|
33 |
+
LLLL: 'dddd, D MMMM YYYY, A h:mm',
|
34 |
},
|
35 |
+
calendar: {
|
36 |
+
sameDay: '[నేడు] LT',
|
37 |
+
nextDay: '[రేపు] LT',
|
38 |
+
nextWeek: 'dddd, LT',
|
39 |
+
lastDay: '[నిన్న] LT',
|
40 |
+
lastWeek: '[గత] dddd, LT',
|
41 |
+
sameElse: 'L',
|
42 |
},
|
43 |
+
relativeTime: {
|
44 |
+
future: '%s లో',
|
45 |
+
past: '%s క్రితం',
|
46 |
+
s: 'కొన్ని క్షణాలు',
|
47 |
+
ss: '%d సెకన్లు',
|
48 |
+
m: 'ఒక నిమిషం',
|
49 |
+
mm: '%d నిమిషాలు',
|
50 |
+
h: 'ఒక గంట',
|
51 |
+
hh: '%d గంటలు',
|
52 |
+
d: 'ఒక రోజు',
|
53 |
+
dd: '%d రోజులు',
|
54 |
+
M: 'ఒక నెల',
|
55 |
+
MM: '%d నెలలు',
|
56 |
+
y: 'ఒక సంవత్సరం',
|
57 |
+
yy: '%d సంవత్సరాలు',
|
58 |
},
|
59 |
+
dayOfMonthOrdinalParse: /\d{1,2}వ/,
|
60 |
+
ordinal: '%dవ',
|
61 |
meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
|
62 |
+
meridiemHour: function (hour, meridiem) {
|
63 |
if (hour === 12) {
|
64 |
hour = 0;
|
65 |
}
|
73 |
return hour + 12;
|
74 |
}
|
75 |
},
|
76 |
+
meridiem: function (hour, minute, isLower) {
|
77 |
if (hour < 4) {
|
78 |
return 'రాత్రి';
|
79 |
} else if (hour < 10) {
|
86 |
return 'రాత్రి';
|
87 |
}
|
88 |
},
|
89 |
+
week: {
|
90 |
+
dow: 0, // Sunday is the first day of the week.
|
91 |
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
92 |
+
},
|
93 |
});
|
94 |
|
95 |
return te;
|
96 |
|
97 |
+
})));
|
assets/js/moment/locale/tet.js
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Tetun Dili (East Timor) [tet]
|
3 |
+
//! author : Joshua Brooks : https://github.com/joshbrooks
|
4 |
+
//! author : Onorio De J. Afonso : https://github.com/marobo
|
5 |
+
//! author : Sonia Simoes : https://github.com/soniasimoes
|
6 |
+
|
7 |
+
;(function (global, factory) {
|
8 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
+
factory(global.moment)
|
12 |
+
}(this, (function (moment) { 'use strict';
|
13 |
+
|
14 |
+
//! moment.js locale configuration
|
15 |
+
|
16 |
+
var tet = moment.defineLocale('tet', {
|
17 |
+
months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(
|
18 |
+
'_'
|
19 |
+
),
|
20 |
+
monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
|
21 |
+
weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
|
22 |
+
weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
|
23 |
+
weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'HH:mm',
|
26 |
+
LTS: 'HH:mm:ss',
|
27 |
+
L: 'DD/MM/YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY HH:mm',
|
30 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
31 |
+
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: '[Ohin iha] LT',
|
34 |
+
nextDay: '[Aban iha] LT',
|
35 |
+
nextWeek: 'dddd [iha] LT',
|
36 |
+
lastDay: '[Horiseik iha] LT',
|
37 |
+
lastWeek: 'dddd [semana kotuk] [iha] LT',
|
38 |
+
sameElse: 'L',
|
39 |
+
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'iha %s',
|
42 |
+
past: '%s liuba',
|
43 |
+
s: 'segundu balun',
|
44 |
+
ss: 'segundu %d',
|
45 |
+
m: 'minutu ida',
|
46 |
+
mm: 'minutu %d',
|
47 |
+
h: 'oras ida',
|
48 |
+
hh: 'oras %d',
|
49 |
+
d: 'loron ida',
|
50 |
+
dd: 'loron %d',
|
51 |
+
M: 'fulan ida',
|
52 |
+
MM: 'fulan %d',
|
53 |
+
y: 'tinan ida',
|
54 |
+
yy: 'tinan %d',
|
55 |
+
},
|
56 |
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
57 |
+
ordinal: function (number) {
|
58 |
+
var b = number % 10,
|
59 |
+
output =
|
60 |
+
~~((number % 100) / 10) === 1
|
61 |
+
? 'th'
|
62 |
+
: b === 1
|
63 |
+
? 'st'
|
64 |
+
: b === 2
|
65 |
+
? 'nd'
|
66 |
+
: b === 3
|
67 |
+
? 'rd'
|
68 |
+
: 'th';
|
69 |
+
return number + output;
|
70 |
+
},
|
71 |
+
week: {
|
72 |
+
dow: 1, // Monday is the first day of the week.
|
73 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
74 |
+
},
|
75 |
+
});
|
76 |
+
|
77 |
+
return tet;
|
78 |
+
|
79 |
+
})));
|
assets/js/moment/locale/tg.js
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Tajik [tg]
|
3 |
+
//! author : Orif N. Jr. : https://github.com/orif-jr
|
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 suffixes = {
|
15 |
+
0: '-ум',
|
16 |
+
1: '-ум',
|
17 |
+
2: '-юм',
|
18 |
+
3: '-юм',
|
19 |
+
4: '-ум',
|
20 |
+
5: '-ум',
|
21 |
+
6: '-ум',
|
22 |
+
7: '-ум',
|
23 |
+
8: '-ум',
|
24 |
+
9: '-ум',
|
25 |
+
10: '-ум',
|
26 |
+
12: '-ум',
|
27 |
+
13: '-ум',
|
28 |
+
20: '-ум',
|
29 |
+
30: '-юм',
|
30 |
+
40: '-ум',
|
31 |
+
50: '-ум',
|
32 |
+
60: '-ум',
|
33 |
+
70: '-ум',
|
34 |
+
80: '-ум',
|
35 |
+
90: '-ум',
|
36 |
+
100: '-ум',
|
37 |
+
};
|
38 |
+
|
39 |
+
var tg = moment.defineLocale('tg', {
|
40 |
+
months: {
|
41 |
+
format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split(
|
42 |
+
'_'
|
43 |
+
),
|
44 |
+
standalone: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
|
45 |
+
'_'
|
46 |
+
),
|
47 |
+
},
|
48 |
+
monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
|
49 |
+
weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split(
|
50 |
+
'_'
|
51 |
+
),
|
52 |
+
weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),
|
53 |
+
weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),
|
54 |
+
longDateFormat: {
|
55 |
+
LT: 'HH:mm',
|
56 |
+
LTS: 'HH:mm:ss',
|
57 |
+
L: 'DD.MM.YYYY',
|
58 |
+
LL: 'D MMMM YYYY',
|
59 |
+
LLL: 'D MMMM YYYY HH:mm',
|
60 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
61 |
+
},
|
62 |
+
calendar: {
|
63 |
+
sameDay: '[Имрӯз соати] LT',
|
64 |
+
nextDay: '[Фардо соати] LT',
|
65 |
+
lastDay: '[Дирӯз соати] LT',
|
66 |
+
nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',
|
67 |
+
lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',
|
68 |
+
sameElse: 'L',
|
69 |
+
},
|
70 |
+
relativeTime: {
|
71 |
+
future: 'баъди %s',
|
72 |
+
past: '%s пеш',
|
73 |
+
s: 'якчанд сония',
|
74 |
+
m: 'як дақиқа',
|
75 |
+
mm: '%d дақиқа',
|
76 |
+
h: 'як соат',
|
77 |
+
hh: '%d соат',
|
78 |
+
d: 'як рӯз',
|
79 |
+
dd: '%d рӯз',
|
80 |
+
M: 'як моҳ',
|
81 |
+
MM: '%d моҳ',
|
82 |
+
y: 'як сол',
|
83 |
+
yy: '%d сол',
|
84 |
+
},
|
85 |
+
meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,
|
86 |
+
meridiemHour: function (hour, meridiem) {
|
87 |
+
if (hour === 12) {
|
88 |
+
hour = 0;
|
89 |
+
}
|
90 |
+
if (meridiem === 'шаб') {
|
91 |
+
return hour < 4 ? hour : hour + 12;
|
92 |
+
} else if (meridiem === 'субҳ') {
|
93 |
+
return hour;
|
94 |
+
} else if (meridiem === 'рӯз') {
|
95 |
+
return hour >= 11 ? hour : hour + 12;
|
96 |
+
} else if (meridiem === 'бегоҳ') {
|
97 |
+
return hour + 12;
|
98 |
+
}
|
99 |
+
},
|
100 |
+
meridiem: function (hour, minute, isLower) {
|
101 |
+
if (hour < 4) {
|
102 |
+
return 'шаб';
|
103 |
+
} else if (hour < 11) {
|
104 |
+
return 'субҳ';
|
105 |
+
} else if (hour < 16) {
|
106 |
+
return 'рӯз';
|
107 |
+
} else if (hour < 19) {
|
108 |
+
return 'бегоҳ';
|
109 |
+
} else {
|
110 |
+
return 'шаб';
|
111 |
+
}
|
112 |
+
},
|
113 |
+
dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/,
|
114 |
+
ordinal: function (number) {
|
115 |
+
var a = number % 10,
|
116 |
+
b = number >= 100 ? 100 : null;
|
117 |
+
return number + (suffixes[number] || suffixes[a] || suffixes[b]);
|
118 |
+
},
|
119 |
+
week: {
|
120 |
+
dow: 1, // Monday is the first day of the week.
|
121 |
+
doy: 7, // The week that contains Jan 1th is the first week of the year.
|
122 |
+
},
|
123 |
+
});
|
124 |
+
|
125 |
+
return tg;
|
126 |
+
|
127 |
+
})));
|
assets/js/moment/locale/th.js
CHANGED
@@ -1,65 +1,75 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Kridsada Thanabulpong : https://github.com/sirn
|
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 |
|
13 |
var th = moment.defineLocale('th', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
|
28 |
isPM: function (input) {
|
29 |
return input === 'หลังเที่ยง';
|
30 |
},
|
31 |
-
meridiem
|
32 |
if (hour < 12) {
|
33 |
return 'ก่อนเที่ยง';
|
34 |
} else {
|
35 |
return 'หลังเที่ยง';
|
36 |
}
|
37 |
},
|
38 |
-
calendar
|
39 |
-
sameDay
|
40 |
-
nextDay
|
41 |
-
nextWeek
|
42 |
-
lastDay
|
43 |
-
lastWeek
|
44 |
-
sameElse
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
},
|
46 |
-
relativeTime : {
|
47 |
-
future : 'อีก %s',
|
48 |
-
past : '%sที่แล้ว',
|
49 |
-
s : 'ไม่กี่วินาที',
|
50 |
-
m : '1 นาที',
|
51 |
-
mm : '%d นาที',
|
52 |
-
h : '1 ชั่วโมง',
|
53 |
-
hh : '%d ชั่วโมง',
|
54 |
-
d : '1 วัน',
|
55 |
-
dd : '%d วัน',
|
56 |
-
M : '1 เดือน',
|
57 |
-
MM : '%d เดือน',
|
58 |
-
y : '1 ปี',
|
59 |
-
yy : '%d ปี'
|
60 |
-
}
|
61 |
});
|
62 |
|
63 |
return th;
|
64 |
|
65 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Thai [th]
|
3 |
//! author : Kridsada Thanabulpong : https://github.com/sirn
|
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 th = moment.defineLocale('th', {
|
15 |
+
months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsParseExact: true,
|
22 |
+
weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
|
23 |
+
weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
|
24 |
+
weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
|
25 |
+
weekdaysParseExact: true,
|
26 |
+
longDateFormat: {
|
27 |
+
LT: 'H:mm',
|
28 |
+
LTS: 'H:mm:ss',
|
29 |
+
L: 'DD/MM/YYYY',
|
30 |
+
LL: 'D MMMM YYYY',
|
31 |
+
LLL: 'D MMMM YYYY เวลา H:mm',
|
32 |
+
LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm',
|
33 |
},
|
34 |
meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
|
35 |
isPM: function (input) {
|
36 |
return input === 'หลังเที่ยง';
|
37 |
},
|
38 |
+
meridiem: function (hour, minute, isLower) {
|
39 |
if (hour < 12) {
|
40 |
return 'ก่อนเที่ยง';
|
41 |
} else {
|
42 |
return 'หลังเที่ยง';
|
43 |
}
|
44 |
},
|
45 |
+
calendar: {
|
46 |
+
sameDay: '[วันนี้ เวลา] LT',
|
47 |
+
nextDay: '[พรุ่งนี้ เวลา] LT',
|
48 |
+
nextWeek: 'dddd[หน้า เวลา] LT',
|
49 |
+
lastDay: '[เมื่อวานนี้ เวลา] LT',
|
50 |
+
lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',
|
51 |
+
sameElse: 'L',
|
52 |
+
},
|
53 |
+
relativeTime: {
|
54 |
+
future: 'อีก %s',
|
55 |
+
past: '%sที่แล้ว',
|
56 |
+
s: 'ไม่กี่วินาที',
|
57 |
+
ss: '%d วินาที',
|
58 |
+
m: '1 นาที',
|
59 |
+
mm: '%d นาที',
|
60 |
+
h: '1 ชั่วโมง',
|
61 |
+
hh: '%d ชั่วโมง',
|
62 |
+
d: '1 วัน',
|
63 |
+
dd: '%d วัน',
|
64 |
+
w: '1 สัปดาห์',
|
65 |
+
ww: '%d สัปดาห์',
|
66 |
+
M: '1 เดือน',
|
67 |
+
MM: '%d เดือน',
|
68 |
+
y: '1 ปี',
|
69 |
+
yy: '%d ปี',
|
70 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
});
|
72 |
|
73 |
return th;
|
74 |
|
75 |
+
})));
|
assets/js/moment/locale/tk.js
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Turkmen [tk]
|
3 |
+
//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy
|
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 suffixes = {
|
15 |
+
1: "'inji",
|
16 |
+
5: "'inji",
|
17 |
+
8: "'inji",
|
18 |
+
70: "'inji",
|
19 |
+
80: "'inji",
|
20 |
+
2: "'nji",
|
21 |
+
7: "'nji",
|
22 |
+
20: "'nji",
|
23 |
+
50: "'nji",
|
24 |
+
3: "'ünji",
|
25 |
+
4: "'ünji",
|
26 |
+
100: "'ünji",
|
27 |
+
6: "'njy",
|
28 |
+
9: "'unjy",
|
29 |
+
10: "'unjy",
|
30 |
+
30: "'unjy",
|
31 |
+
60: "'ynjy",
|
32 |
+
90: "'ynjy",
|
33 |
+
};
|
34 |
+
|
35 |
+
var tk = moment.defineLocale('tk', {
|
36 |
+
months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split(
|
37 |
+
'_'
|
38 |
+
),
|
39 |
+
monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'),
|
40 |
+
weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split(
|
41 |
+
'_'
|
42 |
+
),
|
43 |
+
weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'),
|
44 |
+
weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'),
|
45 |
+
longDateFormat: {
|
46 |
+
LT: 'HH:mm',
|
47 |
+
LTS: 'HH:mm:ss',
|
48 |
+
L: 'DD.MM.YYYY',
|
49 |
+
LL: 'D MMMM YYYY',
|
50 |
+
LLL: 'D MMMM YYYY HH:mm',
|
51 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
52 |
+
},
|
53 |
+
calendar: {
|
54 |
+
sameDay: '[bugün sagat] LT',
|
55 |
+
nextDay: '[ertir sagat] LT',
|
56 |
+
nextWeek: '[indiki] dddd [sagat] LT',
|
57 |
+
lastDay: '[düýn] LT',
|
58 |
+
lastWeek: '[geçen] dddd [sagat] LT',
|
59 |
+
sameElse: 'L',
|
60 |
+
},
|
61 |
+
relativeTime: {
|
62 |
+
future: '%s soň',
|
63 |
+
past: '%s öň',
|
64 |
+
s: 'birnäçe sekunt',
|
65 |
+
m: 'bir minut',
|
66 |
+
mm: '%d minut',
|
67 |
+
h: 'bir sagat',
|
68 |
+
hh: '%d sagat',
|
69 |
+
d: 'bir gün',
|
70 |
+
dd: '%d gün',
|
71 |
+
M: 'bir aý',
|
72 |
+
MM: '%d aý',
|
73 |
+
y: 'bir ýyl',
|
74 |
+
yy: '%d ýyl',
|
75 |
+
},
|
76 |
+
ordinal: function (number, period) {
|
77 |
+
switch (period) {
|
78 |
+
case 'd':
|
79 |
+
case 'D':
|
80 |
+
case 'Do':
|
81 |
+
case 'DD':
|
82 |
+
return number;
|
83 |
+
default:
|
84 |
+
if (number === 0) {
|
85 |
+
// special case for zero
|
86 |
+
return number + "'unjy";
|
87 |
+
}
|
88 |
+
var a = number % 10,
|
89 |
+
b = (number % 100) - a,
|
90 |
+
c = number >= 100 ? 100 : null;
|
91 |
+
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
92 |
+
}
|
93 |
+
},
|
94 |
+
week: {
|
95 |
+
dow: 1, // Monday is the first day of the week.
|
96 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
97 |
+
},
|
98 |
+
});
|
99 |
+
|
100 |
+
return tk;
|
101 |
+
|
102 |
+
})));
|
assets/js/moment/locale/tl-ph.js
CHANGED
@@ -1,62 +1,68 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Tagalog
|
3 |
-
//! author : Dan Hagman
|
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 |
|
13 |
-
var
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay: '[
|
29 |
-
nextDay: '[Bukas
|
30 |
-
nextWeek: '
|
31 |
-
lastDay: '[
|
32 |
-
lastWeek: '
|
33 |
-
sameElse: 'L'
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
49 |
},
|
50 |
-
|
51 |
-
ordinal
|
52 |
return number;
|
53 |
},
|
54 |
-
week
|
55 |
-
dow
|
56 |
-
doy
|
57 |
-
}
|
58 |
});
|
59 |
|
60 |
-
return
|
61 |
|
62 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Tagalog (Philippines) [tl-ph]
|
3 |
+
//! author : Dan Hagman : https://github.com/hagmandan
|
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 tlPh = moment.defineLocale('tl-ph', {
|
15 |
+
months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
|
19 |
+
weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
|
23 |
+
weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'HH:mm',
|
26 |
+
LTS: 'HH:mm:ss',
|
27 |
+
L: 'MM/D/YYYY',
|
28 |
+
LL: 'MMMM D, YYYY',
|
29 |
+
LLL: 'MMMM D, YYYY HH:mm',
|
30 |
+
LLLL: 'dddd, MMMM DD, YYYY HH:mm',
|
31 |
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: 'LT [ngayong araw]',
|
34 |
+
nextDay: '[Bukas ng] LT',
|
35 |
+
nextWeek: 'LT [sa susunod na] dddd',
|
36 |
+
lastDay: 'LT [kahapon]',
|
37 |
+
lastWeek: 'LT [noong nakaraang] dddd',
|
38 |
+
sameElse: 'L',
|
39 |
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'sa loob ng %s',
|
42 |
+
past: '%s ang nakalipas',
|
43 |
+
s: 'ilang segundo',
|
44 |
+
ss: '%d segundo',
|
45 |
+
m: 'isang minuto',
|
46 |
+
mm: '%d minuto',
|
47 |
+
h: 'isang oras',
|
48 |
+
hh: '%d oras',
|
49 |
+
d: 'isang araw',
|
50 |
+
dd: '%d araw',
|
51 |
+
M: 'isang buwan',
|
52 |
+
MM: '%d buwan',
|
53 |
+
y: 'isang taon',
|
54 |
+
yy: '%d taon',
|
55 |
},
|
56 |
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
57 |
+
ordinal: function (number) {
|
58 |
return number;
|
59 |
},
|
60 |
+
week: {
|
61 |
+
dow: 1, // Monday is the first day of the week.
|
62 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
63 |
+
},
|
64 |
});
|
65 |
|
66 |
+
return tlPh;
|
67 |
|
68 |
+
})));
|
assets/js/moment/locale/tlh.js
CHANGED
@@ -1,44 +1,49 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale : Klingon
|
3 |
//! author : Dominika Kruk : https://github.com/amaranthrose
|
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 |
|
13 |
var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
|
14 |
|
15 |
function translateFuture(output) {
|
16 |
var time = output;
|
17 |
-
time =
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
24 |
return time;
|
25 |
}
|
26 |
|
27 |
function translatePast(output) {
|
28 |
var time = output;
|
29 |
-
time =
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
36 |
return time;
|
37 |
}
|
38 |
|
39 |
function translate(number, withoutSuffix, string, isFuture) {
|
40 |
var numberNoun = numberAsNoun(number);
|
41 |
switch (string) {
|
|
|
|
|
42 |
case 'mm':
|
43 |
return numberNoun + ' tup';
|
44 |
case 'hh':
|
@@ -54,66 +59,78 @@
|
|
54 |
|
55 |
function numberAsNoun(number) {
|
56 |
var hundred = Math.floor((number % 1000) / 100),
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
if (hundred > 0) {
|
61 |
word += numbersNouns[hundred] + 'vatlh';
|
62 |
}
|
63 |
if (ten > 0) {
|
64 |
-
word += (
|
65 |
}
|
66 |
if (one > 0) {
|
67 |
-
word += (
|
68 |
}
|
69 |
-
return
|
70 |
}
|
71 |
|
72 |
var tlh = moment.defineLocale('tlh', {
|
73 |
-
months
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
},
|
86 |
-
calendar
|
87 |
sameDay: '[DaHjaj] LT',
|
88 |
nextDay: '[wa’leS] LT',
|
89 |
nextWeek: 'LLL',
|
90 |
lastDay: '[wa’Hu’] LT',
|
91 |
lastWeek: 'LLL',
|
92 |
-
sameElse: 'L'
|
93 |
},
|
94 |
-
relativeTime
|
95 |
-
future
|
96 |
-
past
|
97 |
-
s
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
},
|
109 |
-
ordinalParse: /\d{1,2}\./,
|
110 |
-
ordinal : '%d.',
|
111 |
-
week : {
|
112 |
-
dow : 1, // Monday is the first day of the week.
|
113 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
114 |
-
}
|
115 |
});
|
116 |
|
117 |
return tlh;
|
118 |
|
119 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Klingon [tlh]
|
3 |
//! author : Dominika Kruk : https://github.com/amaranthrose
|
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 numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
|
15 |
|
16 |
function translateFuture(output) {
|
17 |
var time = output;
|
18 |
+
time =
|
19 |
+
output.indexOf('jaj') !== -1
|
20 |
+
? time.slice(0, -3) + 'leS'
|
21 |
+
: output.indexOf('jar') !== -1
|
22 |
+
? time.slice(0, -3) + 'waQ'
|
23 |
+
: output.indexOf('DIS') !== -1
|
24 |
+
? time.slice(0, -3) + 'nem'
|
25 |
+
: time + ' pIq';
|
26 |
return time;
|
27 |
}
|
28 |
|
29 |
function translatePast(output) {
|
30 |
var time = output;
|
31 |
+
time =
|
32 |
+
output.indexOf('jaj') !== -1
|
33 |
+
? time.slice(0, -3) + 'Hu’'
|
34 |
+
: output.indexOf('jar') !== -1
|
35 |
+
? time.slice(0, -3) + 'wen'
|
36 |
+
: output.indexOf('DIS') !== -1
|
37 |
+
? time.slice(0, -3) + 'ben'
|
38 |
+
: time + ' ret';
|
39 |
return time;
|
40 |
}
|
41 |
|
42 |
function translate(number, withoutSuffix, string, isFuture) {
|
43 |
var numberNoun = numberAsNoun(number);
|
44 |
switch (string) {
|
45 |
+
case 'ss':
|
46 |
+
return numberNoun + ' lup';
|
47 |
case 'mm':
|
48 |
return numberNoun + ' tup';
|
49 |
case 'hh':
|
59 |
|
60 |
function numberAsNoun(number) {
|
61 |
var hundred = Math.floor((number % 1000) / 100),
|
62 |
+
ten = Math.floor((number % 100) / 10),
|
63 |
+
one = number % 10,
|
64 |
+
word = '';
|
65 |
if (hundred > 0) {
|
66 |
word += numbersNouns[hundred] + 'vatlh';
|
67 |
}
|
68 |
if (ten > 0) {
|
69 |
+
word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';
|
70 |
}
|
71 |
if (one > 0) {
|
72 |
+
word += (word !== '' ? ' ' : '') + numbersNouns[one];
|
73 |
}
|
74 |
+
return word === '' ? 'pagh' : word;
|
75 |
}
|
76 |
|
77 |
var tlh = moment.defineLocale('tlh', {
|
78 |
+
months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split(
|
79 |
+
'_'
|
80 |
+
),
|
81 |
+
monthsShort: 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split(
|
82 |
+
'_'
|
83 |
+
),
|
84 |
+
monthsParseExact: true,
|
85 |
+
weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
|
86 |
+
'_'
|
87 |
+
),
|
88 |
+
weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
|
89 |
+
'_'
|
90 |
+
),
|
91 |
+
weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
|
92 |
+
'_'
|
93 |
+
),
|
94 |
+
longDateFormat: {
|
95 |
+
LT: 'HH:mm',
|
96 |
+
LTS: 'HH:mm:ss',
|
97 |
+
L: 'DD.MM.YYYY',
|
98 |
+
LL: 'D MMMM YYYY',
|
99 |
+
LLL: 'D MMMM YYYY HH:mm',
|
100 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
101 |
},
|
102 |
+
calendar: {
|
103 |
sameDay: '[DaHjaj] LT',
|
104 |
nextDay: '[wa’leS] LT',
|
105 |
nextWeek: 'LLL',
|
106 |
lastDay: '[wa’Hu’] LT',
|
107 |
lastWeek: 'LLL',
|
108 |
+
sameElse: 'L',
|
109 |
},
|
110 |
+
relativeTime: {
|
111 |
+
future: translateFuture,
|
112 |
+
past: translatePast,
|
113 |
+
s: 'puS lup',
|
114 |
+
ss: translate,
|
115 |
+
m: 'wa’ tup',
|
116 |
+
mm: translate,
|
117 |
+
h: 'wa’ rep',
|
118 |
+
hh: translate,
|
119 |
+
d: 'wa’ jaj',
|
120 |
+
dd: translate,
|
121 |
+
M: 'wa’ jar',
|
122 |
+
MM: translate,
|
123 |
+
y: 'wa’ DIS',
|
124 |
+
yy: translate,
|
125 |
+
},
|
126 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
127 |
+
ordinal: '%d.',
|
128 |
+
week: {
|
129 |
+
dow: 1, // Monday is the first day of the week.
|
130 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
131 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
});
|
133 |
|
134 |
return tlh;
|
135 |
|
136 |
+
})));
|
assets/js/moment/locale/tr.js
CHANGED
@@ -1,90 +1,117 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! authors : Erhan Gundogan : https://github.com/erhangundogan,
|
4 |
//! Burak Yiğit Kaya: https://github.com/BYK
|
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 |
|
14 |
var suffixes = {
|
15 |
-
1: '
|
16 |
-
5: '
|
17 |
-
8: '
|
18 |
-
70: '
|
19 |
-
80: '
|
20 |
-
2: '
|
21 |
-
7: '
|
22 |
-
20: '
|
23 |
-
50: '
|
24 |
-
3: '
|
25 |
-
4: '
|
26 |
-
100: '
|
27 |
-
6: '
|
28 |
-
9: '
|
29 |
-
10: '
|
30 |
-
30: '
|
31 |
-
60: '
|
32 |
-
90: '
|
33 |
};
|
34 |
|
35 |
var tr = moment.defineLocale('tr', {
|
36 |
-
months
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
},
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
},
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
hh : '%d saat',
|
65 |
-
d : 'bir gün',
|
66 |
-
dd : '%d gün',
|
67 |
-
M : 'bir ay',
|
68 |
-
MM : '%d ay',
|
69 |
-
y : 'bir yıl',
|
70 |
-
yy : '%d yıl'
|
71 |
},
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
}
|
77 |
-
var a = number % 10,
|
78 |
-
b = number % 100 - a,
|
79 |
-
c = number >= 100 ? 100 : null;
|
80 |
-
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
81 |
},
|
82 |
-
week
|
83 |
-
dow
|
84 |
-
doy
|
85 |
-
}
|
86 |
});
|
87 |
|
88 |
return tr;
|
89 |
|
90 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Turkish [tr]
|
3 |
//! authors : Erhan Gundogan : https://github.com/erhangundogan,
|
4 |
//! Burak Yiğit Kaya: https://github.com/BYK
|
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 suffixes = {
|
16 |
+
1: "'inci",
|
17 |
+
5: "'inci",
|
18 |
+
8: "'inci",
|
19 |
+
70: "'inci",
|
20 |
+
80: "'inci",
|
21 |
+
2: "'nci",
|
22 |
+
7: "'nci",
|
23 |
+
20: "'nci",
|
24 |
+
50: "'nci",
|
25 |
+
3: "'üncü",
|
26 |
+
4: "'üncü",
|
27 |
+
100: "'üncü",
|
28 |
+
6: "'ncı",
|
29 |
+
9: "'uncu",
|
30 |
+
10: "'uncu",
|
31 |
+
30: "'uncu",
|
32 |
+
60: "'ıncı",
|
33 |
+
90: "'ıncı",
|
34 |
};
|
35 |
|
36 |
var tr = moment.defineLocale('tr', {
|
37 |
+
months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split(
|
38 |
+
'_'
|
39 |
+
),
|
40 |
+
monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
|
41 |
+
weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split(
|
42 |
+
'_'
|
43 |
+
),
|
44 |
+
weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
|
45 |
+
weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
|
46 |
+
meridiem: function (hours, minutes, isLower) {
|
47 |
+
if (hours < 12) {
|
48 |
+
return isLower ? 'öö' : 'ÖÖ';
|
49 |
+
} else {
|
50 |
+
return isLower ? 'ös' : 'ÖS';
|
51 |
+
}
|
52 |
+
},
|
53 |
+
meridiemParse: /öö|ÖÖ|ös|ÖS/,
|
54 |
+
isPM: function (input) {
|
55 |
+
return input === 'ös' || input === 'ÖS';
|
56 |
},
|
57 |
+
longDateFormat: {
|
58 |
+
LT: 'HH:mm',
|
59 |
+
LTS: 'HH:mm:ss',
|
60 |
+
L: 'DD.MM.YYYY',
|
61 |
+
LL: 'D MMMM YYYY',
|
62 |
+
LLL: 'D MMMM YYYY HH:mm',
|
63 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
64 |
},
|
65 |
+
calendar: {
|
66 |
+
sameDay: '[bugün saat] LT',
|
67 |
+
nextDay: '[yarın saat] LT',
|
68 |
+
nextWeek: '[gelecek] dddd [saat] LT',
|
69 |
+
lastDay: '[dün] LT',
|
70 |
+
lastWeek: '[geçen] dddd [saat] LT',
|
71 |
+
sameElse: 'L',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
},
|
73 |
+
relativeTime: {
|
74 |
+
future: '%s sonra',
|
75 |
+
past: '%s önce',
|
76 |
+
s: 'birkaç saniye',
|
77 |
+
ss: '%d saniye',
|
78 |
+
m: 'bir dakika',
|
79 |
+
mm: '%d dakika',
|
80 |
+
h: 'bir saat',
|
81 |
+
hh: '%d saat',
|
82 |
+
d: 'bir gün',
|
83 |
+
dd: '%d gün',
|
84 |
+
w: 'bir hafta',
|
85 |
+
ww: '%d hafta',
|
86 |
+
M: 'bir ay',
|
87 |
+
MM: '%d ay',
|
88 |
+
y: 'bir yıl',
|
89 |
+
yy: '%d yıl',
|
90 |
+
},
|
91 |
+
ordinal: function (number, period) {
|
92 |
+
switch (period) {
|
93 |
+
case 'd':
|
94 |
+
case 'D':
|
95 |
+
case 'Do':
|
96 |
+
case 'DD':
|
97 |
+
return number;
|
98 |
+
default:
|
99 |
+
if (number === 0) {
|
100 |
+
// special case for zero
|
101 |
+
return number + "'ıncı";
|
102 |
+
}
|
103 |
+
var a = number % 10,
|
104 |
+
b = (number % 100) - a,
|
105 |
+
c = number >= 100 ? 100 : null;
|
106 |
+
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
107 |
}
|
|
|
|
|
|
|
|
|
108 |
},
|
109 |
+
week: {
|
110 |
+
dow: 1, // Monday is the first day of the week.
|
111 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
112 |
+
},
|
113 |
});
|
114 |
|
115 |
return tr;
|
116 |
|
117 |
+
})));
|
assets/js/moment/locale/tzl.js
CHANGED
@@ -1,87 +1,100 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
-
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
|
|
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 |
|
|
|
13 |
|
14 |
// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
|
15 |
// This is currently too difficult (maybe even impossible) to add.
|
16 |
var tzl = moment.defineLocale('tzl', {
|
17 |
-
months
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
},
|
30 |
-
meridiem
|
31 |
if (hours > 11) {
|
32 |
-
return isLower ?
|
33 |
} else {
|
34 |
-
return isLower ?
|
35 |
}
|
36 |
},
|
37 |
-
calendar
|
38 |
-
sameDay
|
39 |
-
nextDay
|
40 |
-
nextWeek
|
41 |
-
lastDay
|
42 |
-
lastWeek
|
43 |
-
sameElse
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
},
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
mm : processRelativeTime,
|
51 |
-
h : processRelativeTime,
|
52 |
-
hh : processRelativeTime,
|
53 |
-
d : processRelativeTime,
|
54 |
-
dd : processRelativeTime,
|
55 |
-
M : processRelativeTime,
|
56 |
-
MM : processRelativeTime,
|
57 |
-
y : processRelativeTime,
|
58 |
-
yy : processRelativeTime
|
59 |
},
|
60 |
-
ordinalParse: /\d{1,2}\./,
|
61 |
-
ordinal : '%d.',
|
62 |
-
week : {
|
63 |
-
dow : 1, // Monday is the first day of the week.
|
64 |
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
65 |
-
}
|
66 |
});
|
67 |
|
68 |
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
69 |
var format = {
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
|
|
81 |
};
|
82 |
-
return isFuture
|
|
|
|
|
|
|
|
|
83 |
}
|
84 |
|
85 |
return tzl;
|
86 |
|
87 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Talossan [tzl]
|
3 |
+
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
4 |
+
//! author : Iustì Canun
|
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 |
// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
|
16 |
// This is currently too difficult (maybe even impossible) to add.
|
17 |
var tzl = moment.defineLocale('tzl', {
|
18 |
+
months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
|
22 |
+
weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
|
23 |
+
weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
|
24 |
+
weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
|
25 |
+
longDateFormat: {
|
26 |
+
LT: 'HH.mm',
|
27 |
+
LTS: 'HH.mm.ss',
|
28 |
+
L: 'DD.MM.YYYY',
|
29 |
+
LL: 'D. MMMM [dallas] YYYY',
|
30 |
+
LLL: 'D. MMMM [dallas] YYYY HH.mm',
|
31 |
+
LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
|
32 |
+
},
|
33 |
+
meridiemParse: /d\'o|d\'a/i,
|
34 |
+
isPM: function (input) {
|
35 |
+
return "d'o" === input.toLowerCase();
|
36 |
},
|
37 |
+
meridiem: function (hours, minutes, isLower) {
|
38 |
if (hours > 11) {
|
39 |
+
return isLower ? "d'o" : "D'O";
|
40 |
} else {
|
41 |
+
return isLower ? "d'a" : "D'A";
|
42 |
}
|
43 |
},
|
44 |
+
calendar: {
|
45 |
+
sameDay: '[oxhi à] LT',
|
46 |
+
nextDay: '[demà à] LT',
|
47 |
+
nextWeek: 'dddd [à] LT',
|
48 |
+
lastDay: '[ieiri à] LT',
|
49 |
+
lastWeek: '[sür el] dddd [lasteu à] LT',
|
50 |
+
sameElse: 'L',
|
51 |
+
},
|
52 |
+
relativeTime: {
|
53 |
+
future: 'osprei %s',
|
54 |
+
past: 'ja%s',
|
55 |
+
s: processRelativeTime,
|
56 |
+
ss: processRelativeTime,
|
57 |
+
m: processRelativeTime,
|
58 |
+
mm: processRelativeTime,
|
59 |
+
h: processRelativeTime,
|
60 |
+
hh: processRelativeTime,
|
61 |
+
d: processRelativeTime,
|
62 |
+
dd: processRelativeTime,
|
63 |
+
M: processRelativeTime,
|
64 |
+
MM: processRelativeTime,
|
65 |
+
y: processRelativeTime,
|
66 |
+
yy: processRelativeTime,
|
67 |
},
|
68 |
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
69 |
+
ordinal: '%d.',
|
70 |
+
week: {
|
71 |
+
dow: 1, // Monday is the first day of the week.
|
72 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
});
|
75 |
|
76 |
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
77 |
var format = {
|
78 |
+
s: ['viensas secunds', "'iensas secunds"],
|
79 |
+
ss: [number + ' secunds', '' + number + ' secunds'],
|
80 |
+
m: ["'n míut", "'iens míut"],
|
81 |
+
mm: [number + ' míuts', '' + number + ' míuts'],
|
82 |
+
h: ["'n þora", "'iensa þora"],
|
83 |
+
hh: [number + ' þoras', '' + number + ' þoras'],
|
84 |
+
d: ["'n ziua", "'iensa ziua"],
|
85 |
+
dd: [number + ' ziuas', '' + number + ' ziuas'],
|
86 |
+
M: ["'n mes", "'iens mes"],
|
87 |
+
MM: [number + ' mesen', '' + number + ' mesen'],
|
88 |
+
y: ["'n ar", "'iens ar"],
|
89 |
+
yy: [number + ' ars', '' + number + ' ars'],
|
90 |
};
|
91 |
+
return isFuture
|
92 |
+
? format[key][0]
|
93 |
+
: withoutSuffix
|
94 |
+
? format[key][0]
|
95 |
+
: format[key][1];
|
96 |
}
|
97 |
|
98 |
return tzl;
|
99 |
|
100 |
+
})));
|
assets/js/moment/locale/tzm-latn.js
CHANGED
@@ -1,58 +1,64 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Abdel Said : https://github.com/abdelsaid
|
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 |
|
13 |
-
var
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
sameDay: '[asdkh g] LT',
|
29 |
nextDay: '[aska g] LT',
|
30 |
nextWeek: 'dddd [g] LT',
|
31 |
lastDay: '[assant g] LT',
|
32 |
lastWeek: 'dddd [g] LT',
|
33 |
-
sameElse: 'L'
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
49 |
},
|
50 |
-
week : {
|
51 |
-
dow : 6, // Saturday is the first day of the week.
|
52 |
-
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
53 |
-
}
|
54 |
});
|
55 |
|
56 |
-
return
|
57 |
|
58 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Central Atlas Tamazight Latin [tzm-latn]
|
3 |
//! author : Abdel Said : https://github.com/abdelsaid
|
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 tzmLatn = moment.defineLocale('tzm-latn', {
|
15 |
+
months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
22 |
+
weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
23 |
+
weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'HH:mm',
|
26 |
+
LTS: 'HH:mm:ss',
|
27 |
+
L: 'DD/MM/YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY HH:mm',
|
30 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
31 |
},
|
32 |
+
calendar: {
|
33 |
sameDay: '[asdkh g] LT',
|
34 |
nextDay: '[aska g] LT',
|
35 |
nextWeek: 'dddd [g] LT',
|
36 |
lastDay: '[assant g] LT',
|
37 |
lastWeek: 'dddd [g] LT',
|
38 |
+
sameElse: 'L',
|
39 |
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'dadkh s yan %s',
|
42 |
+
past: 'yan %s',
|
43 |
+
s: 'imik',
|
44 |
+
ss: '%d imik',
|
45 |
+
m: 'minuḍ',
|
46 |
+
mm: '%d minuḍ',
|
47 |
+
h: 'saɛa',
|
48 |
+
hh: '%d tassaɛin',
|
49 |
+
d: 'ass',
|
50 |
+
dd: '%d ossan',
|
51 |
+
M: 'ayowr',
|
52 |
+
MM: '%d iyyirn',
|
53 |
+
y: 'asgas',
|
54 |
+
yy: '%d isgasn',
|
55 |
+
},
|
56 |
+
week: {
|
57 |
+
dow: 6, // Saturday is the first day of the week.
|
58 |
+
doy: 12, // The week that contains Jan 12th is the first week of the year.
|
59 |
},
|
|
|
|
|
|
|
|
|
60 |
});
|
61 |
|
62 |
+
return tzmLatn;
|
63 |
|
64 |
+
})));
|
assets/js/moment/locale/tzm.js
CHANGED
@@ -1,58 +1,64 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Abdel Said : https://github.com/abdelsaid
|
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 |
|
13 |
var tzm = moment.defineLocale('tzm', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
|
|
|
|
|
|
|
|
21 |
LTS: 'HH:mm:ss',
|
22 |
-
L
|
23 |
-
LL
|
24 |
-
LLL
|
25 |
-
LLLL
|
26 |
},
|
27 |
-
calendar
|
28 |
sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
|
29 |
nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
|
30 |
nextWeek: 'dddd [ⴴ] LT',
|
31 |
lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
|
32 |
lastWeek: 'dddd [ⴴ] LT',
|
33 |
-
sameElse: 'L'
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
49 |
},
|
50 |
-
week : {
|
51 |
-
dow : 6, // Saturday is the first day of the week.
|
52 |
-
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
53 |
-
}
|
54 |
});
|
55 |
|
56 |
return tzm;
|
57 |
|
58 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Central Atlas Tamazight [tzm]
|
3 |
//! author : Abdel Said : https://github.com/abdelsaid
|
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 tzm = moment.defineLocale('tzm', {
|
15 |
+
months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
22 |
+
weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
23 |
+
weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'HH:mm',
|
26 |
LTS: 'HH:mm:ss',
|
27 |
+
L: 'DD/MM/YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY HH:mm',
|
30 |
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
31 |
},
|
32 |
+
calendar: {
|
33 |
sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
|
34 |
nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
|
35 |
nextWeek: 'dddd [ⴴ] LT',
|
36 |
lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
|
37 |
lastWeek: 'dddd [ⴴ] LT',
|
38 |
+
sameElse: 'L',
|
39 |
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
|
42 |
+
past: 'ⵢⴰⵏ %s',
|
43 |
+
s: 'ⵉⵎⵉⴽ',
|
44 |
+
ss: '%d ⵉⵎⵉⴽ',
|
45 |
+
m: 'ⵎⵉⵏⵓⴺ',
|
46 |
+
mm: '%d ⵎⵉⵏⵓⴺ',
|
47 |
+
h: 'ⵙⴰⵄⴰ',
|
48 |
+
hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
|
49 |
+
d: 'ⴰⵙⵙ',
|
50 |
+
dd: '%d oⵙⵙⴰⵏ',
|
51 |
+
M: 'ⴰⵢoⵓⵔ',
|
52 |
+
MM: '%d ⵉⵢⵢⵉⵔⵏ',
|
53 |
+
y: 'ⴰⵙⴳⴰⵙ',
|
54 |
+
yy: '%d ⵉⵙⴳⴰⵙⵏ',
|
55 |
+
},
|
56 |
+
week: {
|
57 |
+
dow: 6, // Saturday is the first day of the week.
|
58 |
+
doy: 12, // The week that contains Jan 12th is the first week of the year.
|
59 |
},
|
|
|
|
|
|
|
|
|
60 |
});
|
61 |
|
62 |
return tzm;
|
63 |
|
64 |
+
})));
|
assets/js/moment/locale/ug-cn.js
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Uyghur (China) [ug-cn]
|
3 |
+
//! author: boyaq : https://github.com/boyaq
|
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 ugCn = moment.defineLocale('ug-cn', {
|
15 |
+
months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(
|
22 |
+
'_'
|
23 |
+
),
|
24 |
+
weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
|
25 |
+
weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
|
26 |
+
longDateFormat: {
|
27 |
+
LT: 'HH:mm',
|
28 |
+
LTS: 'HH:mm:ss',
|
29 |
+
L: 'YYYY-MM-DD',
|
30 |
+
LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',
|
31 |
+
LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
|
32 |
+
LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
|
33 |
+
},
|
34 |
+
meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,
|
35 |
+
meridiemHour: function (hour, meridiem) {
|
36 |
+
if (hour === 12) {
|
37 |
+
hour = 0;
|
38 |
+
}
|
39 |
+
if (
|
40 |
+
meridiem === 'يېرىم كېچە' ||
|
41 |
+
meridiem === 'سەھەر' ||
|
42 |
+
meridiem === 'چۈشتىن بۇرۇن'
|
43 |
+
) {
|
44 |
+
return hour;
|
45 |
+
} else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {
|
46 |
+
return hour + 12;
|
47 |
+
} else {
|
48 |
+
return hour >= 11 ? hour : hour + 12;
|
49 |
+
}
|
50 |
+
},
|
51 |
+
meridiem: function (hour, minute, isLower) {
|
52 |
+
var hm = hour * 100 + minute;
|
53 |
+
if (hm < 600) {
|
54 |
+
return 'يېرىم كېچە';
|
55 |
+
} else if (hm < 900) {
|
56 |
+
return 'سەھەر';
|
57 |
+
} else if (hm < 1130) {
|
58 |
+
return 'چۈشتىن بۇرۇن';
|
59 |
+
} else if (hm < 1230) {
|
60 |
+
return 'چۈش';
|
61 |
+
} else if (hm < 1800) {
|
62 |
+
return 'چۈشتىن كېيىن';
|
63 |
+
} else {
|
64 |
+
return 'كەچ';
|
65 |
+
}
|
66 |
+
},
|
67 |
+
calendar: {
|
68 |
+
sameDay: '[بۈگۈن سائەت] LT',
|
69 |
+
nextDay: '[ئەتە سائەت] LT',
|
70 |
+
nextWeek: '[كېلەركى] dddd [سائەت] LT',
|
71 |
+
lastDay: '[تۆنۈگۈن] LT',
|
72 |
+
lastWeek: '[ئالدىنقى] dddd [سائەت] LT',
|
73 |
+
sameElse: 'L',
|
74 |
+
},
|
75 |
+
relativeTime: {
|
76 |
+
future: '%s كېيىن',
|
77 |
+
past: '%s بۇرۇن',
|
78 |
+
s: 'نەچچە سېكونت',
|
79 |
+
ss: '%d سېكونت',
|
80 |
+
m: 'بىر مىنۇت',
|
81 |
+
mm: '%d مىنۇت',
|
82 |
+
h: 'بىر سائەت',
|
83 |
+
hh: '%d سائەت',
|
84 |
+
d: 'بىر كۈن',
|
85 |
+
dd: '%d كۈن',
|
86 |
+
M: 'بىر ئاي',
|
87 |
+
MM: '%d ئاي',
|
88 |
+
y: 'بىر يىل',
|
89 |
+
yy: '%d يىل',
|
90 |
+
},
|
91 |
+
|
92 |
+
dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
|
93 |
+
ordinal: function (number, period) {
|
94 |
+
switch (period) {
|
95 |
+
case 'd':
|
96 |
+
case 'D':
|
97 |
+
case 'DDD':
|
98 |
+
return number + '-كۈنى';
|
99 |
+
case 'w':
|
100 |
+
case 'W':
|
101 |
+
return number + '-ھەپتە';
|
102 |
+
default:
|
103 |
+
return number;
|
104 |
+
}
|
105 |
+
},
|
106 |
+
preparse: function (string) {
|
107 |
+
return string.replace(/،/g, ',');
|
108 |
+
},
|
109 |
+
postformat: function (string) {
|
110 |
+
return string.replace(/,/g, '،');
|
111 |
+
},
|
112 |
+
week: {
|
113 |
+
// GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
|
114 |
+
dow: 1, // Monday is the first day of the week.
|
115 |
+
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
116 |
+
},
|
117 |
+
});
|
118 |
+
|
119 |
+
return ugCn;
|
120 |
+
|
121 |
+
})));
|
assets/js/moment/locale/uk.js
CHANGED
@@ -1,49 +1,70 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : zemlanin : https://github.com/zemlanin
|
4 |
//! Author : Menelion Elensúle : https://github.com/Oire
|
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 |
|
14 |
function plural(word, num) {
|
15 |
var forms = word.split('_');
|
16 |
-
return num % 10 === 1 && num % 100 !== 11
|
|
|
|
|
|
|
|
|
17 |
}
|
18 |
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
19 |
var format = {
|
20 |
-
|
21 |
-
|
22 |
-
'
|
23 |
-
|
24 |
-
|
|
|
25 |
};
|
26 |
if (key === 'm') {
|
27 |
return withoutSuffix ? 'хвилина' : 'хвилину';
|
28 |
-
}
|
29 |
-
else if (key === 'h') {
|
30 |
return withoutSuffix ? 'година' : 'годину';
|
31 |
-
}
|
32 |
-
else {
|
33 |
return number + ' ' + plural(format[key], +number);
|
34 |
}
|
35 |
}
|
36 |
function weekdaysCaseReplace(m, format) {
|
37 |
var weekdays = {
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
return weekdays[nounCase][m.day()];
|
48 |
}
|
49 |
function processHoursFunction(str) {
|
@@ -53,63 +74,70 @@
|
|
53 |
}
|
54 |
|
55 |
var uk = moment.defineLocale('uk', {
|
56 |
-
months
|
57 |
-
|
58 |
-
|
|
|
|
|
|
|
|
|
59 |
},
|
60 |
-
monthsShort
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
|
|
|
|
71 |
},
|
72 |
-
calendar
|
73 |
sameDay: processHoursFunction('[Сьогодні '),
|
74 |
nextDay: processHoursFunction('[Завтра '),
|
75 |
lastDay: processHoursFunction('[Вчора '),
|
76 |
nextWeek: processHoursFunction('[У] dddd ['),
|
77 |
lastWeek: function () {
|
78 |
switch (this.day()) {
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
}
|
89 |
},
|
90 |
-
sameElse: 'L'
|
91 |
},
|
92 |
-
relativeTime
|
93 |
-
future
|
94 |
-
past
|
95 |
-
s
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
|
|
106 |
},
|
107 |
// M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
|
108 |
meridiemParse: /ночі|ранку|дня|вечора/,
|
109 |
isPM: function (input) {
|
110 |
return /^(дня|вечора)$/.test(input);
|
111 |
},
|
112 |
-
meridiem
|
113 |
if (hour < 4) {
|
114 |
return 'ночі';
|
115 |
} else if (hour < 12) {
|
@@ -120,27 +148,27 @@
|
|
120 |
return 'вечора';
|
121 |
}
|
122 |
},
|
123 |
-
|
124 |
ordinal: function (number, period) {
|
125 |
switch (period) {
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
}
|
137 |
},
|
138 |
-
week
|
139 |
-
dow
|
140 |
-
doy
|
141 |
-
}
|
142 |
});
|
143 |
|
144 |
return uk;
|
145 |
|
146 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Ukrainian [uk]
|
3 |
//! author : zemlanin : https://github.com/zemlanin
|
4 |
//! Author : Menelion Elensúle : https://github.com/Oire
|
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 |
function plural(word, num) {
|
16 |
var forms = word.split('_');
|
17 |
+
return num % 10 === 1 && num % 100 !== 11
|
18 |
+
? forms[0]
|
19 |
+
: num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
|
20 |
+
? forms[1]
|
21 |
+
: forms[2];
|
22 |
}
|
23 |
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
24 |
var format = {
|
25 |
+
ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',
|
26 |
+
mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
|
27 |
+
hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин',
|
28 |
+
dd: 'день_дні_днів',
|
29 |
+
MM: 'місяць_місяці_місяців',
|
30 |
+
yy: 'рік_роки_років',
|
31 |
};
|
32 |
if (key === 'm') {
|
33 |
return withoutSuffix ? 'хвилина' : 'хвилину';
|
34 |
+
} else if (key === 'h') {
|
|
|
35 |
return withoutSuffix ? 'година' : 'годину';
|
36 |
+
} else {
|
|
|
37 |
return number + ' ' + plural(format[key], +number);
|
38 |
}
|
39 |
}
|
40 |
function weekdaysCaseReplace(m, format) {
|
41 |
var weekdays = {
|
42 |
+
nominative: 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split(
|
43 |
+
'_'
|
44 |
+
),
|
45 |
+
accusative: 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split(
|
46 |
+
'_'
|
47 |
+
),
|
48 |
+
genitive: 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split(
|
49 |
+
'_'
|
50 |
+
),
|
51 |
+
},
|
52 |
+
nounCase;
|
53 |
+
|
54 |
+
if (m === true) {
|
55 |
+
return weekdays['nominative']
|
56 |
+
.slice(1, 7)
|
57 |
+
.concat(weekdays['nominative'].slice(0, 1));
|
58 |
+
}
|
59 |
+
if (!m) {
|
60 |
+
return weekdays['nominative'];
|
61 |
+
}
|
62 |
+
|
63 |
+
nounCase = /(\[[ВвУу]\]) ?dddd/.test(format)
|
64 |
+
? 'accusative'
|
65 |
+
: /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format)
|
66 |
+
? 'genitive'
|
67 |
+
: 'nominative';
|
68 |
return weekdays[nounCase][m.day()];
|
69 |
}
|
70 |
function processHoursFunction(str) {
|
74 |
}
|
75 |
|
76 |
var uk = moment.defineLocale('uk', {
|
77 |
+
months: {
|
78 |
+
format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split(
|
79 |
+
'_'
|
80 |
+
),
|
81 |
+
standalone: 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split(
|
82 |
+
'_'
|
83 |
+
),
|
84 |
},
|
85 |
+
monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split(
|
86 |
+
'_'
|
87 |
+
),
|
88 |
+
weekdays: weekdaysCaseReplace,
|
89 |
+
weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
|
90 |
+
weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
|
91 |
+
longDateFormat: {
|
92 |
+
LT: 'HH:mm',
|
93 |
+
LTS: 'HH:mm:ss',
|
94 |
+
L: 'DD.MM.YYYY',
|
95 |
+
LL: 'D MMMM YYYY р.',
|
96 |
+
LLL: 'D MMMM YYYY р., HH:mm',
|
97 |
+
LLLL: 'dddd, D MMMM YYYY р., HH:mm',
|
98 |
},
|
99 |
+
calendar: {
|
100 |
sameDay: processHoursFunction('[Сьогодні '),
|
101 |
nextDay: processHoursFunction('[Завтра '),
|
102 |
lastDay: processHoursFunction('[Вчора '),
|
103 |
nextWeek: processHoursFunction('[У] dddd ['),
|
104 |
lastWeek: function () {
|
105 |
switch (this.day()) {
|
106 |
+
case 0:
|
107 |
+
case 3:
|
108 |
+
case 5:
|
109 |
+
case 6:
|
110 |
+
return processHoursFunction('[Минулої] dddd [').call(this);
|
111 |
+
case 1:
|
112 |
+
case 2:
|
113 |
+
case 4:
|
114 |
+
return processHoursFunction('[Минулого] dddd [').call(this);
|
115 |
}
|
116 |
},
|
117 |
+
sameElse: 'L',
|
118 |
},
|
119 |
+
relativeTime: {
|
120 |
+
future: 'за %s',
|
121 |
+
past: '%s тому',
|
122 |
+
s: 'декілька секунд',
|
123 |
+
ss: relativeTimeWithPlural,
|
124 |
+
m: relativeTimeWithPlural,
|
125 |
+
mm: relativeTimeWithPlural,
|
126 |
+
h: 'годину',
|
127 |
+
hh: relativeTimeWithPlural,
|
128 |
+
d: 'день',
|
129 |
+
dd: relativeTimeWithPlural,
|
130 |
+
M: 'місяць',
|
131 |
+
MM: relativeTimeWithPlural,
|
132 |
+
y: 'рік',
|
133 |
+
yy: relativeTimeWithPlural,
|
134 |
},
|
135 |
// M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
|
136 |
meridiemParse: /ночі|ранку|дня|вечора/,
|
137 |
isPM: function (input) {
|
138 |
return /^(дня|вечора)$/.test(input);
|
139 |
},
|
140 |
+
meridiem: function (hour, minute, isLower) {
|
141 |
if (hour < 4) {
|
142 |
return 'ночі';
|
143 |
} else if (hour < 12) {
|
148 |
return 'вечора';
|
149 |
}
|
150 |
},
|
151 |
+
dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
|
152 |
ordinal: function (number, period) {
|
153 |
switch (period) {
|
154 |
+
case 'M':
|
155 |
+
case 'd':
|
156 |
+
case 'DDD':
|
157 |
+
case 'w':
|
158 |
+
case 'W':
|
159 |
+
return number + '-й';
|
160 |
+
case 'D':
|
161 |
+
return number + '-го';
|
162 |
+
default:
|
163 |
+
return number;
|
164 |
}
|
165 |
},
|
166 |
+
week: {
|
167 |
+
dow: 1, // Monday is the first day of the week.
|
168 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
169 |
+
},
|
170 |
});
|
171 |
|
172 |
return uk;
|
173 |
|
174 |
+
})));
|
assets/js/moment/locale/ur.js
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Urdu [ur]
|
3 |
+
//! author : Sawood Alam : https://github.com/ibnesayeed
|
4 |
+
//! author : Zack : https://github.com/ZackVision
|
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 months = [
|
16 |
+
'جنوری',
|
17 |
+
'فروری',
|
18 |
+
'مارچ',
|
19 |
+
'اپریل',
|
20 |
+
'مئی',
|
21 |
+
'جون',
|
22 |
+
'جولائی',
|
23 |
+
'اگست',
|
24 |
+
'ستمبر',
|
25 |
+
'اکتوبر',
|
26 |
+
'نومبر',
|
27 |
+
'دسمبر',
|
28 |
+
],
|
29 |
+
days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];
|
30 |
+
|
31 |
+
var ur = moment.defineLocale('ur', {
|
32 |
+
months: months,
|
33 |
+
monthsShort: months,
|
34 |
+
weekdays: days,
|
35 |
+
weekdaysShort: days,
|
36 |
+
weekdaysMin: days,
|
37 |
+
longDateFormat: {
|
38 |
+
LT: 'HH:mm',
|
39 |
+
LTS: 'HH:mm:ss',
|
40 |
+
L: 'DD/MM/YYYY',
|
41 |
+
LL: 'D MMMM YYYY',
|
42 |
+
LLL: 'D MMMM YYYY HH:mm',
|
43 |
+
LLLL: 'dddd، D MMMM YYYY HH:mm',
|
44 |
+
},
|
45 |
+
meridiemParse: /صبح|شام/,
|
46 |
+
isPM: function (input) {
|
47 |
+
return 'شام' === input;
|
48 |
+
},
|
49 |
+
meridiem: function (hour, minute, isLower) {
|
50 |
+
if (hour < 12) {
|
51 |
+
return 'صبح';
|
52 |
+
}
|
53 |
+
return 'شام';
|
54 |
+
},
|
55 |
+
calendar: {
|
56 |
+
sameDay: '[آج بوقت] LT',
|
57 |
+
nextDay: '[کل بوقت] LT',
|
58 |
+
nextWeek: 'dddd [بوقت] LT',
|
59 |
+
lastDay: '[گذشتہ روز بوقت] LT',
|
60 |
+
lastWeek: '[گذشتہ] dddd [بوقت] LT',
|
61 |
+
sameElse: 'L',
|
62 |
+
},
|
63 |
+
relativeTime: {
|
64 |
+
future: '%s بعد',
|
65 |
+
past: '%s قبل',
|
66 |
+
s: 'چند سیکنڈ',
|
67 |
+
ss: '%d سیکنڈ',
|
68 |
+
m: 'ایک منٹ',
|
69 |
+
mm: '%d منٹ',
|
70 |
+
h: 'ایک گھنٹہ',
|
71 |
+
hh: '%d گھنٹے',
|
72 |
+
d: 'ایک دن',
|
73 |
+
dd: '%d دن',
|
74 |
+
M: 'ایک ماہ',
|
75 |
+
MM: '%d ماہ',
|
76 |
+
y: 'ایک سال',
|
77 |
+
yy: '%d سال',
|
78 |
+
},
|
79 |
+
preparse: function (string) {
|
80 |
+
return string.replace(/،/g, ',');
|
81 |
+
},
|
82 |
+
postformat: function (string) {
|
83 |
+
return string.replace(/,/g, '،');
|
84 |
+
},
|
85 |
+
week: {
|
86 |
+
dow: 1, // Monday is the first day of the week.
|
87 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
88 |
+
},
|
89 |
+
});
|
90 |
+
|
91 |
+
return ur;
|
92 |
+
|
93 |
+
})));
|
assets/js/moment/locale/uz-latn.js
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Uzbek Latin [uz-latn]
|
3 |
+
//! author : Rasulbek Mirzayev : github.com/Rasulbeeek
|
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 uzLatn = moment.defineLocale('uz-latn', {
|
15 |
+
months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
|
19 |
+
weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
|
23 |
+
weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
|
24 |
+
longDateFormat: {
|
25 |
+
LT: 'HH:mm',
|
26 |
+
LTS: 'HH:mm:ss',
|
27 |
+
L: 'DD/MM/YYYY',
|
28 |
+
LL: 'D MMMM YYYY',
|
29 |
+
LLL: 'D MMMM YYYY HH:mm',
|
30 |
+
LLLL: 'D MMMM YYYY, dddd HH:mm',
|
31 |
+
},
|
32 |
+
calendar: {
|
33 |
+
sameDay: '[Bugun soat] LT [da]',
|
34 |
+
nextDay: '[Ertaga] LT [da]',
|
35 |
+
nextWeek: 'dddd [kuni soat] LT [da]',
|
36 |
+
lastDay: '[Kecha soat] LT [da]',
|
37 |
+
lastWeek: "[O'tgan] dddd [kuni soat] LT [da]",
|
38 |
+
sameElse: 'L',
|
39 |
+
},
|
40 |
+
relativeTime: {
|
41 |
+
future: 'Yaqin %s ichida',
|
42 |
+
past: 'Bir necha %s oldin',
|
43 |
+
s: 'soniya',
|
44 |
+
ss: '%d soniya',
|
45 |
+
m: 'bir daqiqa',
|
46 |
+
mm: '%d daqiqa',
|
47 |
+
h: 'bir soat',
|
48 |
+
hh: '%d soat',
|
49 |
+
d: 'bir kun',
|
50 |
+
dd: '%d kun',
|
51 |
+
M: 'bir oy',
|
52 |
+
MM: '%d oy',
|
53 |
+
y: 'bir yil',
|
54 |
+
yy: '%d yil',
|
55 |
+
},
|
56 |
+
week: {
|
57 |
+
dow: 1, // Monday is the first day of the week.
|
58 |
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
59 |
+
},
|
60 |
+
});
|
61 |
+
|
62 |
+
return uzLatn;
|
63 |
+
|
64 |
+
})));
|
assets/js/moment/locale/uz.js
CHANGED
@@ -1,58 +1,62 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Sardor Muminov : https://github.com/muminoff
|
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 |
|
13 |
var uz = moment.defineLocale('uz', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
26 |
},
|
27 |
-
calendar
|
28 |
-
sameDay
|
29 |
-
nextDay
|
30 |
-
nextWeek
|
31 |
-
lastDay
|
32 |
-
lastWeek
|
33 |
-
sameElse
|
34 |
},
|
35 |
-
relativeTime
|
36 |
-
future
|
37 |
-
past
|
38 |
-
s
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
49 |
},
|
50 |
-
week : {
|
51 |
-
dow : 1, // Monday is the first day of the week.
|
52 |
-
doy : 7 // The week that contains Jan 4th is the first week of the year.
|
53 |
-
}
|
54 |
});
|
55 |
|
56 |
return uz;
|
57 |
|
58 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Uzbek [uz]
|
3 |
//! author : Sardor Muminov : https://github.com/muminoff
|
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 uz = moment.defineLocale('uz', {
|
15 |
+
months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
|
19 |
+
weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
|
20 |
+
weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
|
21 |
+
weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
|
22 |
+
longDateFormat: {
|
23 |
+
LT: 'HH:mm',
|
24 |
+
LTS: 'HH:mm:ss',
|
25 |
+
L: 'DD/MM/YYYY',
|
26 |
+
LL: 'D MMMM YYYY',
|
27 |
+
LLL: 'D MMMM YYYY HH:mm',
|
28 |
+
LLLL: 'D MMMM YYYY, dddd HH:mm',
|
29 |
},
|
30 |
+
calendar: {
|
31 |
+
sameDay: '[Бугун соат] LT [да]',
|
32 |
+
nextDay: '[Эртага] LT [да]',
|
33 |
+
nextWeek: 'dddd [куни соат] LT [да]',
|
34 |
+
lastDay: '[Кеча соат] LT [да]',
|
35 |
+
lastWeek: '[Утган] dddd [куни соат] LT [да]',
|
36 |
+
sameElse: 'L',
|
37 |
},
|
38 |
+
relativeTime: {
|
39 |
+
future: 'Якин %s ичида',
|
40 |
+
past: 'Бир неча %s олдин',
|
41 |
+
s: 'фурсат',
|
42 |
+
ss: '%d фурсат',
|
43 |
+
m: 'бир дакика',
|
44 |
+
mm: '%d дакика',
|
45 |
+
h: 'бир соат',
|
46 |
+
hh: '%d соат',
|
47 |
+
d: 'бир кун',
|
48 |
+
dd: '%d кун',
|
49 |
+
M: 'бир ой',
|
50 |
+
MM: '%d ой',
|
51 |
+
y: 'бир йил',
|
52 |
+
yy: '%d йил',
|
53 |
+
},
|
54 |
+
week: {
|
55 |
+
dow: 1, // Monday is the first day of the week.
|
56 |
+
doy: 7, // The week that contains Jan 4th is the first week of the year.
|
57 |
},
|
|
|
|
|
|
|
|
|
58 |
});
|
59 |
|
60 |
return uz;
|
61 |
|
62 |
+
})));
|
assets/js/moment/locale/vi.js
CHANGED
@@ -1,66 +1,90 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Bang Nguyen : https://github.com/bangnk
|
|
|
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 |
|
13 |
var vi = moment.defineLocale('vi', {
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
},
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
sameDay: '[Hôm nay lúc] LT',
|
33 |
nextDay: '[Ngày mai lúc] LT',
|
34 |
nextWeek: 'dddd [tuần tới lúc] LT',
|
35 |
lastDay: '[Hôm qua lúc] LT',
|
36 |
-
lastWeek: 'dddd [tuần
|
37 |
-
sameElse: 'L'
|
38 |
},
|
39 |
-
relativeTime
|
40 |
-
future
|
41 |
-
past
|
42 |
-
s
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
|
|
|
|
53 |
},
|
54 |
-
|
55 |
-
ordinal
|
56 |
return number;
|
57 |
},
|
58 |
-
week
|
59 |
-
dow
|
60 |
-
doy
|
61 |
-
}
|
62 |
});
|
63 |
|
64 |
return vi;
|
65 |
|
66 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Vietnamese [vi]
|
3 |
//! author : Bang Nguyen : https://github.com/bangnk
|
4 |
+
//! author : Chien Kira : https://github.com/chienkira
|
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 vi = moment.defineLocale('vi', {
|
16 |
+
months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split(
|
17 |
+
'_'
|
18 |
+
),
|
19 |
+
monthsShort: 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
monthsParseExact: true,
|
23 |
+
weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split(
|
24 |
+
'_'
|
25 |
+
),
|
26 |
+
weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
|
27 |
+
weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
|
28 |
+
weekdaysParseExact: true,
|
29 |
+
meridiemParse: /sa|ch/i,
|
30 |
+
isPM: function (input) {
|
31 |
+
return /^ch$/i.test(input);
|
32 |
},
|
33 |
+
meridiem: function (hours, minutes, isLower) {
|
34 |
+
if (hours < 12) {
|
35 |
+
return isLower ? 'sa' : 'SA';
|
36 |
+
} else {
|
37 |
+
return isLower ? 'ch' : 'CH';
|
38 |
+
}
|
39 |
+
},
|
40 |
+
longDateFormat: {
|
41 |
+
LT: 'HH:mm',
|
42 |
+
LTS: 'HH:mm:ss',
|
43 |
+
L: 'DD/MM/YYYY',
|
44 |
+
LL: 'D MMMM [năm] YYYY',
|
45 |
+
LLL: 'D MMMM [năm] YYYY HH:mm',
|
46 |
+
LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',
|
47 |
+
l: 'DD/M/YYYY',
|
48 |
+
ll: 'D MMM YYYY',
|
49 |
+
lll: 'D MMM YYYY HH:mm',
|
50 |
+
llll: 'ddd, D MMM YYYY HH:mm',
|
51 |
+
},
|
52 |
+
calendar: {
|
53 |
sameDay: '[Hôm nay lúc] LT',
|
54 |
nextDay: '[Ngày mai lúc] LT',
|
55 |
nextWeek: 'dddd [tuần tới lúc] LT',
|
56 |
lastDay: '[Hôm qua lúc] LT',
|
57 |
+
lastWeek: 'dddd [tuần trước lúc] LT',
|
58 |
+
sameElse: 'L',
|
59 |
},
|
60 |
+
relativeTime: {
|
61 |
+
future: '%s tới',
|
62 |
+
past: '%s trước',
|
63 |
+
s: 'vài giây',
|
64 |
+
ss: '%d giây',
|
65 |
+
m: 'một phút',
|
66 |
+
mm: '%d phút',
|
67 |
+
h: 'một giờ',
|
68 |
+
hh: '%d giờ',
|
69 |
+
d: 'một ngày',
|
70 |
+
dd: '%d ngày',
|
71 |
+
w: 'một tuần',
|
72 |
+
ww: '%d tuần',
|
73 |
+
M: 'một tháng',
|
74 |
+
MM: '%d tháng',
|
75 |
+
y: 'một năm',
|
76 |
+
yy: '%d năm',
|
77 |
},
|
78 |
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
79 |
+
ordinal: function (number) {
|
80 |
return number;
|
81 |
},
|
82 |
+
week: {
|
83 |
+
dow: 1, // Monday is the first day of the week.
|
84 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
85 |
+
},
|
86 |
});
|
87 |
|
88 |
return vi;
|
89 |
|
90 |
+
})));
|
assets/js/moment/locale/x-pseudo.js
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Pseudo [x-pseudo]
|
3 |
+
//! author : Andrew Hood : https://github.com/andrewhood125
|
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 xPseudo = moment.defineLocale('x-pseudo', {
|
15 |
+
months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsParseExact: true,
|
22 |
+
weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(
|
23 |
+
'_'
|
24 |
+
),
|
25 |
+
weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
|
26 |
+
weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
|
27 |
+
weekdaysParseExact: true,
|
28 |
+
longDateFormat: {
|
29 |
+
LT: 'HH:mm',
|
30 |
+
L: 'DD/MM/YYYY',
|
31 |
+
LL: 'D MMMM YYYY',
|
32 |
+
LLL: 'D MMMM YYYY HH:mm',
|
33 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
34 |
+
},
|
35 |
+
calendar: {
|
36 |
+
sameDay: '[T~ódá~ý át] LT',
|
37 |
+
nextDay: '[T~ómó~rró~w át] LT',
|
38 |
+
nextWeek: 'dddd [át] LT',
|
39 |
+
lastDay: '[Ý~ést~érdá~ý át] LT',
|
40 |
+
lastWeek: '[L~ást] dddd [át] LT',
|
41 |
+
sameElse: 'L',
|
42 |
+
},
|
43 |
+
relativeTime: {
|
44 |
+
future: 'í~ñ %s',
|
45 |
+
past: '%s á~gó',
|
46 |
+
s: 'á ~féw ~sécó~ñds',
|
47 |
+
ss: '%d s~écóñ~ds',
|
48 |
+
m: 'á ~míñ~úté',
|
49 |
+
mm: '%d m~íñú~tés',
|
50 |
+
h: 'á~ñ hó~úr',
|
51 |
+
hh: '%d h~óúrs',
|
52 |
+
d: 'á ~dáý',
|
53 |
+
dd: '%d d~áýs',
|
54 |
+
M: 'á ~móñ~th',
|
55 |
+
MM: '%d m~óñt~hs',
|
56 |
+
y: 'á ~ýéár',
|
57 |
+
yy: '%d ý~éárs',
|
58 |
+
},
|
59 |
+
dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
|
60 |
+
ordinal: function (number) {
|
61 |
+
var b = number % 10,
|
62 |
+
output =
|
63 |
+
~~((number % 100) / 10) === 1
|
64 |
+
? 'th'
|
65 |
+
: b === 1
|
66 |
+
? 'st'
|
67 |
+
: b === 2
|
68 |
+
? 'nd'
|
69 |
+
: b === 3
|
70 |
+
? 'rd'
|
71 |
+
: 'th';
|
72 |
+
return number + output;
|
73 |
+
},
|
74 |
+
week: {
|
75 |
+
dow: 1, // Monday is the first day of the week.
|
76 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
77 |
+
},
|
78 |
+
});
|
79 |
+
|
80 |
+
return xPseudo;
|
81 |
+
|
82 |
+
})));
|
assets/js/moment/locale/yo.js
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Yoruba Nigeria [yo]
|
3 |
+
//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe
|
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 yo = moment.defineLocale('yo', {
|
15 |
+
months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(
|
16 |
+
'_'
|
17 |
+
),
|
18 |
+
monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
|
19 |
+
weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
|
20 |
+
weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
|
21 |
+
weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
|
22 |
+
longDateFormat: {
|
23 |
+
LT: 'h:mm A',
|
24 |
+
LTS: 'h:mm:ss A',
|
25 |
+
L: 'DD/MM/YYYY',
|
26 |
+
LL: 'D MMMM YYYY',
|
27 |
+
LLL: 'D MMMM YYYY h:mm A',
|
28 |
+
LLLL: 'dddd, D MMMM YYYY h:mm A',
|
29 |
+
},
|
30 |
+
calendar: {
|
31 |
+
sameDay: '[Ònì ni] LT',
|
32 |
+
nextDay: '[Ọ̀la ni] LT',
|
33 |
+
nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT",
|
34 |
+
lastDay: '[Àna ni] LT',
|
35 |
+
lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
|
36 |
+
sameElse: 'L',
|
37 |
+
},
|
38 |
+
relativeTime: {
|
39 |
+
future: 'ní %s',
|
40 |
+
past: '%s kọjá',
|
41 |
+
s: 'ìsẹjú aayá die',
|
42 |
+
ss: 'aayá %d',
|
43 |
+
m: 'ìsẹjú kan',
|
44 |
+
mm: 'ìsẹjú %d',
|
45 |
+
h: 'wákati kan',
|
46 |
+
hh: 'wákati %d',
|
47 |
+
d: 'ọjọ́ kan',
|
48 |
+
dd: 'ọjọ́ %d',
|
49 |
+
M: 'osù kan',
|
50 |
+
MM: 'osù %d',
|
51 |
+
y: 'ọdún kan',
|
52 |
+
yy: 'ọdún %d',
|
53 |
+
},
|
54 |
+
dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
|
55 |
+
ordinal: 'ọjọ́ %d',
|
56 |
+
week: {
|
57 |
+
dow: 1, // Monday is the first day of the week.
|
58 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
59 |
+
},
|
60 |
+
});
|
61 |
+
|
62 |
+
return yo;
|
63 |
+
|
64 |
+
})));
|
assets/js/moment/locale/zh-cn.js
CHANGED
@@ -1,41 +1,46 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : suupic : https://github.com/suupic
|
4 |
//! author : Zeno Zeng : https://github.com/zenozeng
|
|
|
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 |
|
14 |
-
var
|
15 |
-
months
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
|
|
|
|
|
|
|
|
31 |
},
|
32 |
meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
|
33 |
meridiemHour: function (hour, meridiem) {
|
34 |
if (hour === 12) {
|
35 |
hour = 0;
|
36 |
}
|
37 |
-
if (meridiem === '凌晨' || meridiem === '早上' ||
|
38 |
-
meridiem === '上午') {
|
39 |
return hour;
|
40 |
} else if (meridiem === '下午' || meridiem === '晚上') {
|
41 |
return hour + 12;
|
@@ -44,7 +49,7 @@
|
|
44 |
return hour >= 11 ? hour : hour + 12;
|
45 |
}
|
46 |
},
|
47 |
-
meridiem
|
48 |
var hm = hour * 100 + minute;
|
49 |
if (hm < 600) {
|
50 |
return '凌晨';
|
@@ -60,68 +65,67 @@
|
|
60 |
return '晚上';
|
61 |
}
|
62 |
},
|
63 |
-
calendar
|
64 |
-
sameDay
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
},
|
67 |
-
|
68 |
-
|
|
|
|
|
|
|
|
|
|
|
69 |
},
|
70 |
-
|
71 |
-
return this.minutes() === 0 ? '[昨天]Ah[点整]' : '[昨天]LT';
|
72 |
-
},
|
73 |
-
nextWeek : function () {
|
74 |
-
var startOfWeek, prefix;
|
75 |
-
startOfWeek = moment().startOf('week');
|
76 |
-
prefix = this.unix() - startOfWeek.unix() >= 7 * 24 * 3600 ? '[下]' : '[本]';
|
77 |
-
return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm';
|
78 |
-
},
|
79 |
-
lastWeek : function () {
|
80 |
-
var startOfWeek, prefix;
|
81 |
-
startOfWeek = moment().startOf('week');
|
82 |
-
prefix = this.unix() < startOfWeek.unix() ? '[上]' : '[本]';
|
83 |
-
return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm';
|
84 |
-
},
|
85 |
-
sameElse : 'LL'
|
86 |
},
|
87 |
-
|
88 |
-
ordinal
|
89 |
switch (period) {
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
}
|
102 |
},
|
103 |
-
relativeTime
|
104 |
-
future
|
105 |
-
past
|
106 |
-
s
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
|
|
|
|
|
|
117 |
},
|
118 |
-
week
|
119 |
// GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
|
120 |
-
dow
|
121 |
-
doy
|
122 |
-
}
|
123 |
});
|
124 |
|
125 |
-
return
|
126 |
|
127 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Chinese (China) [zh-cn]
|
3 |
//! author : suupic : https://github.com/suupic
|
4 |
//! author : Zeno Zeng : https://github.com/zenozeng
|
5 |
+
//! author : uu109 : https://github.com/uu109
|
6 |
|
7 |
;(function (global, factory) {
|
8 |
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
factory(global.moment)
|
12 |
+
}(this, (function (moment) { 'use strict';
|
13 |
|
14 |
+
//! moment.js locale configuration
|
15 |
|
16 |
+
var zhCn = moment.defineLocale('zh-cn', {
|
17 |
+
months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
|
18 |
+
'_'
|
19 |
+
),
|
20 |
+
monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
|
21 |
+
'_'
|
22 |
+
),
|
23 |
+
weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
|
24 |
+
weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
|
25 |
+
weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
|
26 |
+
longDateFormat: {
|
27 |
+
LT: 'HH:mm',
|
28 |
+
LTS: 'HH:mm:ss',
|
29 |
+
L: 'YYYY/MM/DD',
|
30 |
+
LL: 'YYYY年M月D日',
|
31 |
+
LLL: 'YYYY年M月D日Ah点mm分',
|
32 |
+
LLLL: 'YYYY年M月D日ddddAh点mm分',
|
33 |
+
l: 'YYYY/M/D',
|
34 |
+
ll: 'YYYY年M月D日',
|
35 |
+
lll: 'YYYY年M月D日 HH:mm',
|
36 |
+
llll: 'YYYY年M月D日dddd HH:mm',
|
37 |
},
|
38 |
meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
|
39 |
meridiemHour: function (hour, meridiem) {
|
40 |
if (hour === 12) {
|
41 |
hour = 0;
|
42 |
}
|
43 |
+
if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
|
|
|
44 |
return hour;
|
45 |
} else if (meridiem === '下午' || meridiem === '晚上') {
|
46 |
return hour + 12;
|
49 |
return hour >= 11 ? hour : hour + 12;
|
50 |
}
|
51 |
},
|
52 |
+
meridiem: function (hour, minute, isLower) {
|
53 |
var hm = hour * 100 + minute;
|
54 |
if (hm < 600) {
|
55 |
return '凌晨';
|
65 |
return '晚上';
|
66 |
}
|
67 |
},
|
68 |
+
calendar: {
|
69 |
+
sameDay: '[今天]LT',
|
70 |
+
nextDay: '[明天]LT',
|
71 |
+
nextWeek: function (now) {
|
72 |
+
if (now.week() !== this.week()) {
|
73 |
+
return '[下]dddLT';
|
74 |
+
} else {
|
75 |
+
return '[本]dddLT';
|
76 |
+
}
|
77 |
},
|
78 |
+
lastDay: '[昨天]LT',
|
79 |
+
lastWeek: function (now) {
|
80 |
+
if (this.week() !== now.week()) {
|
81 |
+
return '[上]dddLT';
|
82 |
+
} else {
|
83 |
+
return '[本]dddLT';
|
84 |
+
}
|
85 |
},
|
86 |
+
sameElse: 'L',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
},
|
88 |
+
dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
|
89 |
+
ordinal: function (number, period) {
|
90 |
switch (period) {
|
91 |
+
case 'd':
|
92 |
+
case 'D':
|
93 |
+
case 'DDD':
|
94 |
+
return number + '日';
|
95 |
+
case 'M':
|
96 |
+
return number + '月';
|
97 |
+
case 'w':
|
98 |
+
case 'W':
|
99 |
+
return number + '周';
|
100 |
+
default:
|
101 |
+
return number;
|
102 |
}
|
103 |
},
|
104 |
+
relativeTime: {
|
105 |
+
future: '%s后',
|
106 |
+
past: '%s前',
|
107 |
+
s: '几秒',
|
108 |
+
ss: '%d 秒',
|
109 |
+
m: '1 分钟',
|
110 |
+
mm: '%d 分钟',
|
111 |
+
h: '1 小时',
|
112 |
+
hh: '%d 小时',
|
113 |
+
d: '1 天',
|
114 |
+
dd: '%d 天',
|
115 |
+
w: '1 周',
|
116 |
+
ww: '%d 周',
|
117 |
+
M: '1 个月',
|
118 |
+
MM: '%d 个月',
|
119 |
+
y: '1 年',
|
120 |
+
yy: '%d 年',
|
121 |
},
|
122 |
+
week: {
|
123 |
// GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
|
124 |
+
dow: 1, // Monday is the first day of the week.
|
125 |
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
126 |
+
},
|
127 |
});
|
128 |
|
129 |
+
return zhCn;
|
130 |
|
131 |
+
})));
|
assets/js/moment/locale/zh-hk.js
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Chinese (Hong Kong) [zh-hk]
|
3 |
+
//! author : Ben : https://github.com/ben-lin
|
4 |
+
//! author : Chris Lam : https://github.com/hehachris
|
5 |
+
//! author : Konstantin : https://github.com/skfd
|
6 |
+
//! author : Anthony : https://github.com/anthonylau
|
7 |
+
|
8 |
+
;(function (global, factory) {
|
9 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
10 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
11 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
12 |
+
factory(global.moment)
|
13 |
+
}(this, (function (moment) { 'use strict';
|
14 |
+
|
15 |
+
//! moment.js locale configuration
|
16 |
+
|
17 |
+
var zhHk = moment.defineLocale('zh-hk', {
|
18 |
+
months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
|
19 |
+
'_'
|
20 |
+
),
|
21 |
+
monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
|
22 |
+
'_'
|
23 |
+
),
|
24 |
+
weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
|
25 |
+
weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
|
26 |
+
weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
|
27 |
+
longDateFormat: {
|
28 |
+
LT: 'HH:mm',
|
29 |
+
LTS: 'HH:mm:ss',
|
30 |
+
L: 'YYYY/MM/DD',
|
31 |
+
LL: 'YYYY年M月D日',
|
32 |
+
LLL: 'YYYY年M月D日 HH:mm',
|
33 |
+
LLLL: 'YYYY年M月D日dddd HH:mm',
|
34 |
+
l: 'YYYY/M/D',
|
35 |
+
ll: 'YYYY年M月D日',
|
36 |
+
lll: 'YYYY年M月D日 HH:mm',
|
37 |
+
llll: 'YYYY年M月D日dddd HH:mm',
|
38 |
+
},
|
39 |
+
meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
|
40 |
+
meridiemHour: function (hour, meridiem) {
|
41 |
+
if (hour === 12) {
|
42 |
+
hour = 0;
|
43 |
+
}
|
44 |
+
if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
|
45 |
+
return hour;
|
46 |
+
} else if (meridiem === '中午') {
|
47 |
+
return hour >= 11 ? hour : hour + 12;
|
48 |
+
} else if (meridiem === '下午' || meridiem === '晚上') {
|
49 |
+
return hour + 12;
|
50 |
+
}
|
51 |
+
},
|
52 |
+
meridiem: function (hour, minute, isLower) {
|
53 |
+
var hm = hour * 100 + minute;
|
54 |
+
if (hm < 600) {
|
55 |
+
return '凌晨';
|
56 |
+
} else if (hm < 900) {
|
57 |
+
return '早上';
|
58 |
+
} else if (hm < 1200) {
|
59 |
+
return '上午';
|
60 |
+
} else if (hm === 1200) {
|
61 |
+
return '中午';
|
62 |
+
} else if (hm < 1800) {
|
63 |
+
return '下午';
|
64 |
+
} else {
|
65 |
+
return '晚上';
|
66 |
+
}
|
67 |
+
},
|
68 |
+
calendar: {
|
69 |
+
sameDay: '[今天]LT',
|
70 |
+
nextDay: '[明天]LT',
|
71 |
+
nextWeek: '[下]ddddLT',
|
72 |
+
lastDay: '[昨天]LT',
|
73 |
+
lastWeek: '[上]ddddLT',
|
74 |
+
sameElse: 'L',
|
75 |
+
},
|
76 |
+
dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
|
77 |
+
ordinal: function (number, period) {
|
78 |
+
switch (period) {
|
79 |
+
case 'd':
|
80 |
+
case 'D':
|
81 |
+
case 'DDD':
|
82 |
+
return number + '日';
|
83 |
+
case 'M':
|
84 |
+
return number + '月';
|
85 |
+
case 'w':
|
86 |
+
case 'W':
|
87 |
+
return number + '週';
|
88 |
+
default:
|
89 |
+
return number;
|
90 |
+
}
|
91 |
+
},
|
92 |
+
relativeTime: {
|
93 |
+
future: '%s後',
|
94 |
+
past: '%s前',
|
95 |
+
s: '幾秒',
|
96 |
+
ss: '%d 秒',
|
97 |
+
m: '1 分鐘',
|
98 |
+
mm: '%d 分鐘',
|
99 |
+
h: '1 小時',
|
100 |
+
hh: '%d 小時',
|
101 |
+
d: '1 天',
|
102 |
+
dd: '%d 天',
|
103 |
+
M: '1 個月',
|
104 |
+
MM: '%d 個月',
|
105 |
+
y: '1 年',
|
106 |
+
yy: '%d 年',
|
107 |
+
},
|
108 |
+
});
|
109 |
+
|
110 |
+
return zhHk;
|
111 |
+
|
112 |
+
})));
|
assets/js/moment/locale/zh-mo.js
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Chinese (Macau) [zh-mo]
|
3 |
+
//! author : Ben : https://github.com/ben-lin
|
4 |
+
//! author : Chris Lam : https://github.com/hehachris
|
5 |
+
//! author : Tan Yuanhong : https://github.com/le0tan
|
6 |
+
|
7 |
+
;(function (global, factory) {
|
8 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
+
factory(global.moment)
|
12 |
+
}(this, (function (moment) { 'use strict';
|
13 |
+
|
14 |
+
//! moment.js locale configuration
|
15 |
+
|
16 |
+
var zhMo = moment.defineLocale('zh-mo', {
|
17 |
+
months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
|
18 |
+
'_'
|
19 |
+
),
|
20 |
+
monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
|
21 |
+
'_'
|
22 |
+
),
|
23 |
+
weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
|
24 |
+
weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
|
25 |
+
weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
|
26 |
+
longDateFormat: {
|
27 |
+
LT: 'HH:mm',
|
28 |
+
LTS: 'HH:mm:ss',
|
29 |
+
L: 'DD/MM/YYYY',
|
30 |
+
LL: 'YYYY年M月D日',
|
31 |
+
LLL: 'YYYY年M月D日 HH:mm',
|
32 |
+
LLLL: 'YYYY年M月D日dddd HH:mm',
|
33 |
+
l: 'D/M/YYYY',
|
34 |
+
ll: 'YYYY年M月D日',
|
35 |
+
lll: 'YYYY年M月D日 HH:mm',
|
36 |
+
llll: 'YYYY年M月D日dddd HH:mm',
|
37 |
+
},
|
38 |
+
meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
|
39 |
+
meridiemHour: function (hour, meridiem) {
|
40 |
+
if (hour === 12) {
|
41 |
+
hour = 0;
|
42 |
+
}
|
43 |
+
if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
|
44 |
+
return hour;
|
45 |
+
} else if (meridiem === '中午') {
|
46 |
+
return hour >= 11 ? hour : hour + 12;
|
47 |
+
} else if (meridiem === '下午' || meridiem === '晚上') {
|
48 |
+
return hour + 12;
|
49 |
+
}
|
50 |
+
},
|
51 |
+
meridiem: function (hour, minute, isLower) {
|
52 |
+
var hm = hour * 100 + minute;
|
53 |
+
if (hm < 600) {
|
54 |
+
return '凌晨';
|
55 |
+
} else if (hm < 900) {
|
56 |
+
return '早上';
|
57 |
+
} else if (hm < 1130) {
|
58 |
+
return '上午';
|
59 |
+
} else if (hm < 1230) {
|
60 |
+
return '中午';
|
61 |
+
} else if (hm < 1800) {
|
62 |
+
return '下午';
|
63 |
+
} else {
|
64 |
+
return '晚上';
|
65 |
+
}
|
66 |
+
},
|
67 |
+
calendar: {
|
68 |
+
sameDay: '[今天] LT',
|
69 |
+
nextDay: '[明天] LT',
|
70 |
+
nextWeek: '[下]dddd LT',
|
71 |
+
lastDay: '[昨天] LT',
|
72 |
+
lastWeek: '[上]dddd LT',
|
73 |
+
sameElse: 'L',
|
74 |
+
},
|
75 |
+
dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
|
76 |
+
ordinal: function (number, period) {
|
77 |
+
switch (period) {
|
78 |
+
case 'd':
|
79 |
+
case 'D':
|
80 |
+
case 'DDD':
|
81 |
+
return number + '日';
|
82 |
+
case 'M':
|
83 |
+
return number + '月';
|
84 |
+
case 'w':
|
85 |
+
case 'W':
|
86 |
+
return number + '週';
|
87 |
+
default:
|
88 |
+
return number;
|
89 |
+
}
|
90 |
+
},
|
91 |
+
relativeTime: {
|
92 |
+
future: '%s內',
|
93 |
+
past: '%s前',
|
94 |
+
s: '幾秒',
|
95 |
+
ss: '%d 秒',
|
96 |
+
m: '1 分鐘',
|
97 |
+
mm: '%d 分鐘',
|
98 |
+
h: '1 小時',
|
99 |
+
hh: '%d 小時',
|
100 |
+
d: '1 天',
|
101 |
+
dd: '%d 天',
|
102 |
+
M: '1 個月',
|
103 |
+
MM: '%d 個月',
|
104 |
+
y: '1 年',
|
105 |
+
yy: '%d 年',
|
106 |
+
},
|
107 |
+
});
|
108 |
+
|
109 |
+
return zhMo;
|
110 |
+
|
111 |
+
})));
|
assets/js/moment/locale/zh-tw.js
CHANGED
@@ -1,39 +1,45 @@
|
|
1 |
//! moment.js locale configuration
|
2 |
-
//! locale :
|
3 |
//! author : Ben : https://github.com/ben-lin
|
|
|
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 |
|
13 |
-
var
|
14 |
-
months
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
|
|
|
|
|
|
|
|
30 |
},
|
31 |
-
meridiemParse:
|
32 |
-
meridiemHour
|
33 |
if (hour === 12) {
|
34 |
hour = 0;
|
35 |
}
|
36 |
-
if (meridiem === '早上' || meridiem === '上午') {
|
37 |
return hour;
|
38 |
} else if (meridiem === '中午') {
|
39 |
return hour >= 11 ? hour : hour + 12;
|
@@ -41,9 +47,11 @@
|
|
41 |
return hour + 12;
|
42 |
}
|
43 |
},
|
44 |
-
meridiem
|
45 |
var hm = hour * 100 + minute;
|
46 |
-
if (hm <
|
|
|
|
|
47 |
return '早上';
|
48 |
} else if (hm < 1130) {
|
49 |
return '上午';
|
@@ -55,47 +63,48 @@
|
|
55 |
return '晚上';
|
56 |
}
|
57 |
},
|
58 |
-
calendar
|
59 |
-
sameDay
|
60 |
-
nextDay
|
61 |
-
nextWeek
|
62 |
-
lastDay
|
63 |
-
lastWeek
|
64 |
-
sameElse
|
65 |
},
|
66 |
-
|
67 |
-
ordinal
|
68 |
switch (period) {
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
}
|
81 |
},
|
82 |
-
relativeTime
|
83 |
-
future
|
84 |
-
past
|
85 |
-
s
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
|
|
97 |
});
|
98 |
|
99 |
-
return
|
100 |
|
101 |
-
}));
|
1 |
//! moment.js locale configuration
|
2 |
+
//! locale : Chinese (Taiwan) [zh-tw]
|
3 |
//! author : Ben : https://github.com/ben-lin
|
4 |
+
//! author : Chris Lam : https://github.com/hehachris
|
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 zhTw = moment.defineLocale('zh-tw', {
|
16 |
+
months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
|
17 |
+
'_'
|
18 |
+
),
|
19 |
+
monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
|
20 |
+
'_'
|
21 |
+
),
|
22 |
+
weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
|
23 |
+
weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
|
24 |
+
weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
|
25 |
+
longDateFormat: {
|
26 |
+
LT: 'HH:mm',
|
27 |
+
LTS: 'HH:mm:ss',
|
28 |
+
L: 'YYYY/MM/DD',
|
29 |
+
LL: 'YYYY年M月D日',
|
30 |
+
LLL: 'YYYY年M月D日 HH:mm',
|
31 |
+
LLLL: 'YYYY年M月D日dddd HH:mm',
|
32 |
+
l: 'YYYY/M/D',
|
33 |
+
ll: 'YYYY年M月D日',
|
34 |
+
lll: 'YYYY年M月D日 HH:mm',
|
35 |
+
llll: 'YYYY年M月D日dddd HH:mm',
|
36 |
},
|
37 |
+
meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
|
38 |
+
meridiemHour: function (hour, meridiem) {
|
39 |
if (hour === 12) {
|
40 |
hour = 0;
|
41 |
}
|
42 |
+
if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
|
43 |
return hour;
|
44 |
} else if (meridiem === '中午') {
|
45 |
return hour >= 11 ? hour : hour + 12;
|
47 |
return hour + 12;
|
48 |
}
|
49 |
},
|
50 |
+
meridiem: function (hour, minute, isLower) {
|
51 |
var hm = hour * 100 + minute;
|
52 |
+
if (hm < 600) {
|
53 |
+
return '凌晨';
|
54 |
+
} else if (hm < 900) {
|
55 |
return '早上';
|
56 |
} else if (hm < 1130) {
|
57 |
return '上午';
|
63 |
return '晚上';
|
64 |
}
|
65 |
},
|
66 |
+
calendar: {
|
67 |
+
sameDay: '[今天] LT',
|
68 |
+
nextDay: '[明天] LT',
|
69 |
+
nextWeek: '[下]dddd LT',
|
70 |
+
lastDay: '[昨天] LT',
|
71 |
+
lastWeek: '[上]dddd LT',
|
72 |
+
sameElse: 'L',
|
73 |
},
|
74 |
+
dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
|
75 |
+
ordinal: function (number, period) {
|
76 |
switch (period) {
|
77 |
+
case 'd':
|
78 |
+
case 'D':
|
79 |
+
case 'DDD':
|
80 |
+
return number + '日';
|
81 |
+
case 'M':
|
82 |
+
return number + '月';
|
83 |
+
case 'w':
|
84 |
+
case 'W':
|
85 |
+
return number + '週';
|
86 |
+
default:
|
87 |
+
return number;
|
88 |
}
|
89 |
},
|
90 |
+
relativeTime: {
|
91 |
+
future: '%s後',
|
92 |
+
past: '%s前',
|
93 |
+
s: '幾秒',
|
94 |
+
ss: '%d 秒',
|
95 |
+
m: '1 分鐘',
|
96 |
+
mm: '%d 分鐘',
|
97 |
+
h: '1 小時',
|
98 |
+
hh: '%d 小時',
|
99 |
+
d: '1 天',
|
100 |
+
dd: '%d 天',
|
101 |
+
M: '1 個月',
|
102 |
+
MM: '%d 個月',
|
103 |
+
y: '1 年',
|
104 |
+
yy: '%d 年',
|
105 |
+
},
|
106 |
});
|
107 |
|
108 |
+
return zhTw;
|
109 |
|
110 |
+
})));
|
assets/js/moment/moment.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
//! moment.js
|
2 |
-
//! version : 2.
|
3 |
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
4 |
//! license : MIT
|
5 |
//! momentjs.com
|
6 |
-
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return sd.apply(null,arguments)}function b(a){sd=a}function c(a){return a instanceof Array||"[object Array]"===Object.prototype.toString.call(a)}function d(a){return null!=a&&"[object Object]"===Object.prototype.toString.call(a)}function e(a){var b;for(b in a)return!1;return!0}function f(a){return void 0===a}function g(a){return"number"==typeof a||"[object Number]"===Object.prototype.toString.call(a)}function h(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function i(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function j(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function k(a,b){for(var c in b)j(b,c)&&(a[c]=b[c]);return j(b,"toString")&&(a.toString=b.toString),j(b,"valueOf")&&(a.valueOf=b.valueOf),a}function l(a,b,c,d){return sb(a,b,c,d,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function n(a){return null==a._pf&&(a._pf=m()),a._pf}function o(a){if(null==a._isValid){var b=n(a),c=ud.call(b.parsedDateParts,function(a){return null!=a}),d=!isNaN(a._d.getTime())&&b.overflow<0&&!b.empty&&!b.invalidMonth&&!b.invalidWeekday&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&c);if(a._strict&&(d=d&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void 0===b.bigHour),null!=Object.isFrozen&&Object.isFrozen(a))return d;a._isValid=d}return a._isValid}function p(a){var b=l(NaN);return null!=a?k(n(b),a):n(b).userInvalidated=!0,b}function q(a,b){var c,d,e;if(f(b._isAMomentObject)||(a._isAMomentObject=b._isAMomentObject),f(b._i)||(a._i=b._i),f(b._f)||(a._f=b._f),f(b._l)||(a._l=b._l),f(b._strict)||(a._strict=b._strict),f(b._tzm)||(a._tzm=b._tzm),f(b._isUTC)||(a._isUTC=b._isUTC),f(b._offset)||(a._offset=b._offset),f(b._pf)||(a._pf=n(b)),f(b._locale)||(a._locale=b._locale),vd.length>0)for(c=0;c<vd.length;c++)d=vd[c],e=b[d],f(e)||(a[d]=e);return a}function r(b){q(this,b),this._d=new Date(null!=b._d?b._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),wd===!1&&(wd=!0,a.updateOffset(this),wd=!1)}function s(a){return a instanceof r||null!=a&&null!=a._isAMomentObject}function t(a){return a<0?Math.ceil(a)||0:Math.floor(a)}function u(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=t(b)),c}function v(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;d<e;d++)(c&&a[d]!==b[d]||!c&&u(a[d])!==u(b[d]))&&g++;return g+f}function w(b){a.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function x(b,c){var d=!0;return k(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,b),d){for(var e,f=[],g=0;g<arguments.length;g++){if(e="","object"==typeof arguments[g]){e+="\n["+g+"] ";for(var h in arguments[0])e+=h+": "+arguments[0][h]+", ";e=e.slice(0,-2)}else e=arguments[g];f.push(e)}w(b+"\nArguments: "+Array.prototype.slice.call(f).join("")+"\n"+(new Error).stack),d=!1}return c.apply(this,arguments)},c)}function y(b,c){null!=a.deprecationHandler&&a.deprecationHandler(b,c),xd[b]||(w(c),xd[b]=!0)}function z(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}function A(a){var b,c;for(c in a)b=a[c],z(b)?this[c]=b:this["_"+c]=b;this._config=a,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function B(a,b){var c,e=k({},a);for(c in b)j(b,c)&&(d(a[c])&&d(b[c])?(e[c]={},k(e[c],a[c]),k(e[c],b[c])):null!=b[c]?e[c]=b[c]:delete e[c]);for(c in a)j(a,c)&&!j(b,c)&&d(a[c])&&(e[c]=k({},e[c]));return e}function C(a){null!=a&&this.set(a)}function D(a,b,c){var d=this._calendar[a]||this._calendar.sameElse;return z(d)?d.call(b,c):d}function E(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a])}function F(){return this._invalidDate}function G(a){return this._ordinal.replace("%d",a)}function H(a,b,c,d){var e=this._relativeTime[c];return z(e)?e(a,b,c,d):e.replace(/%d/i,a)}function I(a,b){var c=this._relativeTime[a>0?"future":"past"];return z(c)?c(b):c.replace(/%s/i,b)}function J(a,b){var c=a.toLowerCase();Hd[c]=Hd[c+"s"]=Hd[b]=a}function K(a){return"string"==typeof a?Hd[a]||Hd[a.toLowerCase()]:void 0}function L(a){var b,c,d={};for(c in a)j(a,c)&&(b=K(c),b&&(d[b]=a[c]));return d}function M(a,b){Id[a]=b}function N(a){var b=[];for(var c in a)b.push({unit:c,priority:Id[c]});return b.sort(function(a,b){return a.priority-b.priority}),b}function O(b,c){return function(d){return null!=d?(Q(this,b,d),a.updateOffset(this,c),this):P(this,b)}}function P(a,b){return a.isValid()?a._d["get"+(a._isUTC?"UTC":"")+b]():NaN}function Q(a,b,c){a.isValid()&&a._d["set"+(a._isUTC?"UTC":"")+b](c)}function R(a){return a=K(a),z(this[a])?this[a]():this}function S(a,b){if("object"==typeof a){a=L(a);for(var c=N(a),d=0;d<c.length;d++)this[c[d].unit](a[c[d].unit])}else if(a=K(a),z(this[a]))return this[a](b);return this}function T(a,b,c){var d=""+Math.abs(a),e=b-d.length,f=a>=0;return(f?c?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+d}function U(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(Md[a]=e),b&&(Md[b[0]]=function(){return T(e.apply(this,arguments),b[1],b[2])}),c&&(Md[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function V(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function W(a){var b,c,d=a.match(Jd);for(b=0,c=d.length;b<c;b++)Md[d[b]]?d[b]=Md[d[b]]:d[b]=V(d[b]);return function(b){var e,f="";for(e=0;e<c;e++)f+=z(d[e])?d[e].call(b,a):d[e];return f}}function X(a,b){return a.isValid()?(b=Y(b,a.localeData()),Ld[b]=Ld[b]||W(b),Ld[b](a)):a.localeData().invalidDate()}function Y(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Kd.lastIndex=0;d>=0&&Kd.test(a);)a=a.replace(Kd,c),Kd.lastIndex=0,d-=1;return a}function Z(a,b,c){ce[a]=z(b)?b:function(a,d){return a&&c?c:b}}function $(a,b){return j(ce,a)?ce[a](b._strict,b._locale):new RegExp(_(a))}function _(a){return aa(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}))}function aa(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ba(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),g(b)&&(d=function(a,c){c[b]=u(a)}),c=0;c<a.length;c++)de[a[c]]=d}function ca(a,b){ba(a,function(a,c,d,e){d._w=d._w||{},b(a,d._w,d,e)})}function da(a,b,c){null!=b&&j(de,a)&&de[a](b,c._a,c,a)}function ea(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function fa(a,b){return a?c(this._months)?this._months[a.month()]:this._months[(this._months.isFormat||oe).test(b)?"format":"standalone"][a.month()]:c(this._months)?this._months:this._months.standalone}function ga(a,b){return a?c(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[oe.test(b)?"format":"standalone"][a.month()]:c(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ha(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;d<12;++d)f=l([2e3,d]),this._shortMonthsParse[d]=this.monthsShort(f,"").toLocaleLowerCase(),this._longMonthsParse[d]=this.months(f,"").toLocaleLowerCase();return c?"MMM"===b?(e=ne.call(this._shortMonthsParse,g),e!==-1?e:null):(e=ne.call(this._longMonthsParse,g),e!==-1?e:null):"MMM"===b?(e=ne.call(this._shortMonthsParse,g),e!==-1?e:(e=ne.call(this._longMonthsParse,g),e!==-1?e:null)):(e=ne.call(this._longMonthsParse,g),e!==-1?e:(e=ne.call(this._shortMonthsParse,g),e!==-1?e:null))}function ia(a,b,c){var d,e,f;if(this._monthsParseExact)return ha.call(this,a,b,c);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;d<12;d++){if(e=l([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}}function ja(a,b){var c;if(!a.isValid())return a;if("string"==typeof b)if(/^\d+$/.test(b))b=u(b);else if(b=a.localeData().monthsParse(b),!g(b))return a;return c=Math.min(a.date(),ea(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a}function ka(b){return null!=b?(ja(this,b),a.updateOffset(this,!0),this):P(this,"Month")}function la(){return ea(this.year(),this.month())}function ma(a){return this._monthsParseExact?(j(this,"_monthsRegex")||oa.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):(j(this,"_monthsShortRegex")||(this._monthsShortRegex=re),this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex)}function na(a){return this._monthsParseExact?(j(this,"_monthsRegex")||oa.call(this),a?this._monthsStrictRegex:this._monthsRegex):(j(this,"_monthsRegex")||(this._monthsRegex=se),this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex)}function oa(){function a(a,b){return b.length-a.length}var b,c,d=[],e=[],f=[];for(b=0;b<12;b++)c=l([2e3,b]),d.push(this.monthsShort(c,"")),e.push(this.months(c,"")),f.push(this.months(c,"")),f.push(this.monthsShort(c,""));for(d.sort(a),e.sort(a),f.sort(a),b=0;b<12;b++)d[b]=aa(d[b]),e[b]=aa(e[b]);for(b=0;b<24;b++)f[b]=aa(f[b]);this._monthsRegex=new RegExp("^("+f.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+e.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+d.join("|")+")","i")}function pa(a){return qa(a)?366:365}function qa(a){return a%4===0&&a%100!==0||a%400===0}function ra(){return qa(this.year())}function sa(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return a<100&&a>=0&&isFinite(h.getFullYear())&&h.setFullYear(a),h}function ta(a){var b=new Date(Date.UTC.apply(null,arguments));return a<100&&a>=0&&isFinite(b.getUTCFullYear())&&b.setUTCFullYear(a),b}function ua(a,b,c){var d=7+b-c,e=(7+ta(a,0,d).getUTCDay()-b)%7;return-e+d-1}function va(a,b,c,d,e){var f,g,h=(7+c-d)%7,i=ua(a,d,e),j=1+7*(b-1)+h+i;return j<=0?(f=a-1,g=pa(f)+j):j>pa(a)?(f=a+1,g=j-pa(a)):(f=a,g=j),{year:f,dayOfYear:g}}function wa(a,b,c){var d,e,f=ua(a.year(),b,c),g=Math.floor((a.dayOfYear()-f-1)/7)+1;return g<1?(e=a.year()-1,d=g+xa(e,b,c)):g>xa(a.year(),b,c)?(d=g-xa(a.year(),b,c),e=a.year()+1):(e=a.year(),d=g),{week:d,year:e}}function xa(a,b,c){var d=ua(a,b,c),e=ua(a+1,b,c);return(pa(a)-d+e)/7}function ya(a){return wa(a,this._week.dow,this._week.doy).week}function za(){return this._week.dow}function Aa(){return this._week.doy}function Ba(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")}function Ca(a){var b=wa(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function Da(a,b){return"string"!=typeof a?a:isNaN(a)?(a=b.weekdaysParse(a),"number"==typeof a?a:null):parseInt(a,10)}function Ea(a,b){return"string"==typeof a?b.weekdaysParse(a)%7||7:isNaN(a)?null:a}function Fa(a,b){return a?c(this._weekdays)?this._weekdays[a.day()]:this._weekdays[this._weekdays.isFormat.test(b)?"format":"standalone"][a.day()]:c(this._weekdays)?this._weekdays:this._weekdays.standalone}function Ga(a){return a?this._weekdaysShort[a.day()]:this._weekdaysShort}function Ha(a){return a?this._weekdaysMin[a.day()]:this._weekdaysMin}function Ia(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;d<7;++d)f=l([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(f,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(f,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(f,"").toLocaleLowerCase();return c?"dddd"===b?(e=ne.call(this._weekdaysParse,g),e!==-1?e:null):"ddd"===b?(e=ne.call(this._shortWeekdaysParse,g),e!==-1?e:null):(e=ne.call(this._minWeekdaysParse,g),e!==-1?e:null):"dddd"===b?(e=ne.call(this._weekdaysParse,g),e!==-1?e:(e=ne.call(this._shortWeekdaysParse,g),e!==-1?e:(e=ne.call(this._minWeekdaysParse,g),e!==-1?e:null))):"ddd"===b?(e=ne.call(this._shortWeekdaysParse,g),e!==-1?e:(e=ne.call(this._weekdaysParse,g),e!==-1?e:(e=ne.call(this._minWeekdaysParse,g),e!==-1?e:null))):(e=ne.call(this._minWeekdaysParse,g),e!==-1?e:(e=ne.call(this._weekdaysParse,g),e!==-1?e:(e=ne.call(this._shortWeekdaysParse,g),e!==-1?e:null)))}function Ja(a,b,c){var d,e,f;if(this._weekdaysParseExact)return Ia.call(this,a,b,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;d<7;d++){if(e=l([2e3,1]).day(d),c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(e,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(e,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(e,"").replace(".",".?")+"$","i")),this._weekdaysParse[d]||(f="^"+this.weekdays(e,"")+"|^"+this.weekdaysShort(e,"")+"|^"+this.weekdaysMin(e,""),this._weekdaysParse[d]=new RegExp(f.replace(".",""),"i")),c&&"dddd"===b&&this._fullWeekdaysParse[d].test(a))return d;if(c&&"ddd"===b&&this._shortWeekdaysParse[d].test(a))return d;if(c&&"dd"===b&&this._minWeekdaysParse[d].test(a))return d;if(!c&&this._weekdaysParse[d].test(a))return d}}function Ka(a){if(!this.isValid())return null!=a?this:NaN;var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=Da(a,this.localeData()),this.add(a-b,"d")):b}function La(a){if(!this.isValid())return null!=a?this:NaN;var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function Ma(a){if(!this.isValid())return null!=a?this:NaN;if(null!=a){var b=Ea(a,this.localeData());return this.day(this.day()%7?b:b-7)}return this.day()||7}function Na(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):(j(this,"_weekdaysRegex")||(this._weekdaysRegex=ye),this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex)}function Oa(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(j(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ze),this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Pa(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(j(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ae),this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qa(){function a(a,b){return b.length-a.length}var b,c,d,e,f,g=[],h=[],i=[],j=[];for(b=0;b<7;b++)c=l([2e3,1]).day(b),d=this.weekdaysMin(c,""),e=this.weekdaysShort(c,""),f=this.weekdays(c,""),g.push(d),h.push(e),i.push(f),j.push(d),j.push(e),j.push(f);for(g.sort(a),h.sort(a),i.sort(a),j.sort(a),b=0;b<7;b++)h[b]=aa(h[b]),i[b]=aa(i[b]),j[b]=aa(j[b]);this._weekdaysRegex=new RegExp("^("+j.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+g.join("|")+")","i")}function Ra(){return this.hours()%12||12}function Sa(){return this.hours()||24}function Ta(a,b){U(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function Ua(a,b){return b._meridiemParse}function Va(a){return"p"===(a+"").toLowerCase().charAt(0)}function Wa(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"}function Xa(a){return a?a.toLowerCase().replace("_","-"):a}function Ya(a){for(var b,c,d,e,f=0;f<a.length;){for(e=Xa(a[f]).split("-"),b=e.length,c=Xa(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=Za(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&v(e,c,!0)>=b-1)break;b--}f++}return null}function Za(a){var b=null;if(!Fe[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=Be._abbr,require("./locale/"+a),$a(b)}catch(a){}return Fe[a]}function $a(a,b){var c;return a&&(c=f(b)?bb(a):_a(a,b),c&&(Be=c)),Be._abbr}function _a(a,b){if(null!==b){var c=Ee;if(b.abbr=a,null!=Fe[a])y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),c=Fe[a]._config;else if(null!=b.parentLocale){if(null==Fe[b.parentLocale])return Ge[b.parentLocale]||(Ge[b.parentLocale]=[]),Ge[b.parentLocale].push({name:a,config:b}),null;c=Fe[b.parentLocale]._config}return Fe[a]=new C(B(c,b)),Ge[a]&&Ge[a].forEach(function(a){_a(a.name,a.config)}),$a(a),Fe[a]}return delete Fe[a],null}function ab(a,b){if(null!=b){var c,d=Ee;null!=Fe[a]&&(d=Fe[a]._config),b=B(d,b),c=new C(b),c.parentLocale=Fe[a],Fe[a]=c,$a(a)}else null!=Fe[a]&&(null!=Fe[a].parentLocale?Fe[a]=Fe[a].parentLocale:null!=Fe[a]&&delete Fe[a]);return Fe[a]}function bb(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return Be;if(!c(a)){if(b=Za(a))return b;a=[a]}return Ya(a)}function cb(){return Ad(Fe)}function db(a){var b,c=a._a;return c&&n(a).overflow===-2&&(b=c[fe]<0||c[fe]>11?fe:c[ge]<1||c[ge]>ea(c[ee],c[fe])?ge:c[he]<0||c[he]>24||24===c[he]&&(0!==c[ie]||0!==c[je]||0!==c[ke])?he:c[ie]<0||c[ie]>59?ie:c[je]<0||c[je]>59?je:c[ke]<0||c[ke]>999?ke:-1,n(a)._overflowDayOfYear&&(b<ee||b>ge)&&(b=ge),n(a)._overflowWeeks&&b===-1&&(b=le),n(a)._overflowWeekday&&b===-1&&(b=me),n(a).overflow=b),a}function eb(a){var b,c,d,e,f,g,h=a._i,i=He.exec(h)||Ie.exec(h);if(i){for(n(a).iso=!0,b=0,c=Ke.length;b<c;b++)if(Ke[b][1].exec(i[1])){e=Ke[b][0],d=Ke[b][2]!==!1;break}if(null==e)return void(a._isValid=!1);if(i[3]){for(b=0,c=Le.length;b<c;b++)if(Le[b][1].exec(i[3])){f=(i[2]||" ")+Le[b][0];break}if(null==f)return void(a._isValid=!1)}if(!d&&null!=f)return void(a._isValid=!1);if(i[4]){if(!Je.exec(i[4]))return void(a._isValid=!1);g="Z"}a._f=e+(f||"")+(g||""),lb(a)}else a._isValid=!1}function fb(a){var b,c,d,e,f,g,h,i,j={" GMT":" +0000"," EDT":" -0400"," EST":" -0500"," CDT":" -0500"," CST":" -0600"," MDT":" -0600"," MST":" -0700"," PDT":" -0700"," PST":" -0800"},k="YXWVUTSRQPONZABCDEFGHIKLM";if(b=a._i.replace(/\([^\)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s|\s$/g,""),c=Ne.exec(b)){if(d=c[1]?"ddd"+(5===c[1].length?", ":" "):"",e="D MMM "+(c[2].length>10?"YYYY ":"YY "),f="HH:mm"+(c[4]?":ss":""),c[1]){var l=new Date(c[2]),m=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][l.getDay()];if(c[1].substr(0,3)!==m)return n(a).weekdayMismatch=!0,void(a._isValid=!1)}switch(c[5].length){case 2:0===i?h=" +0000":(i=k.indexOf(c[5][1].toUpperCase())-12,h=(i<0?" -":" +")+(""+i).replace(/^-?/,"0").match(/..$/)[0]+"00");break;case 4:h=j[c[5]];break;default:h=j[" GMT"]}c[5]=h,a._i=c.splice(1).join(""),g=" ZZ",a._f=d+e+f+g,lb(a),n(a).rfc2822=!0}else a._isValid=!1}function gb(b){var c=Me.exec(b._i);return null!==c?void(b._d=new Date(+c[1])):(eb(b),void(b._isValid===!1&&(delete b._isValid,fb(b),b._isValid===!1&&(delete b._isValid,a.createFromInputFallback(b)))))}function hb(a,b,c){return null!=a?a:null!=b?b:c}function ib(b){var c=new Date(a.now());return b._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()]}function jb(a){var b,c,d,e,f=[];if(!a._d){for(d=ib(a),a._w&&null==a._a[ge]&&null==a._a[fe]&&kb(a),null!=a._dayOfYear&&(e=hb(a._a[ee],d[ee]),(a._dayOfYear>pa(e)||0===a._dayOfYear)&&(n(a)._overflowDayOfYear=!0),c=ta(e,0,a._dayOfYear),a._a[fe]=c.getUTCMonth(),a._a[ge]=c.getUTCDate()),b=0;b<3&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;b<7;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[he]&&0===a._a[ie]&&0===a._a[je]&&0===a._a[ke]&&(a._nextDay=!0,a._a[he]=0),a._d=(a._useUTC?ta:sa).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[he]=24)}}function kb(a){var b,c,d,e,f,g,h,i;if(b=a._w,null!=b.GG||null!=b.W||null!=b.E)f=1,g=4,c=hb(b.GG,a._a[ee],wa(tb(),1,4).year),d=hb(b.W,1),e=hb(b.E,1),(e<1||e>7)&&(i=!0);else{f=a._locale._week.dow,g=a._locale._week.doy;var j=wa(tb(),f,g);c=hb(b.gg,a._a[ee],j.year),d=hb(b.w,j.week),null!=b.d?(e=b.d,(e<0||e>6)&&(i=!0)):null!=b.e?(e=b.e+f,(b.e<0||b.e>6)&&(i=!0)):e=f}d<1||d>xa(c,f,g)?n(a)._overflowWeeks=!0:null!=i?n(a)._overflowWeekday=!0:(h=va(c,d,e,f,g),a._a[ee]=h.year,a._dayOfYear=h.dayOfYear)}function lb(b){if(b._f===a.ISO_8601)return void eb(b);if(b._f===a.RFC_2822)return void fb(b);b._a=[],n(b).empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=Y(b._f,b._locale).match(Jd)||[],c=0;c<e.length;c++)f=e[c],d=(h.match($(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&n(b).unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),Md[f]?(d?n(b).empty=!1:n(b).unusedTokens.push(f),da(f,d,b)):b._strict&&!d&&n(b).unusedTokens.push(f);n(b).charsLeftOver=i-j,h.length>0&&n(b).unusedInput.push(h),b._a[he]<=12&&n(b).bigHour===!0&&b._a[he]>0&&(n(b).bigHour=void 0),n(b).parsedDateParts=b._a.slice(0),n(b).meridiem=b._meridiem,b._a[he]=mb(b._locale,b._a[he],b._meridiem),jb(b),db(b)}function mb(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&b<12&&(b+=12),d||12!==b||(b=0),b):b}function nb(a){var b,c,d,e,f;if(0===a._f.length)return n(a).invalidFormat=!0,void(a._d=new Date(NaN));for(e=0;e<a._f.length;e++)f=0,b=q({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._f=a._f[e],lb(b),o(b)&&(f+=n(b).charsLeftOver,f+=10*n(b).unusedTokens.length,n(b).score=f,(null==d||f<d)&&(d=f,c=b));k(a,c||b)}function ob(a){if(!a._d){var b=L(a._i);a._a=i([b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],function(a){return a&&parseInt(a,10)}),jb(a)}}function pb(a){var b=new r(db(qb(a)));return b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}function qb(a){var b=a._i,d=a._f;return a._locale=a._locale||bb(a._l),null===b||void 0===d&&""===b?p({nullInput:!0}):("string"==typeof b&&(a._i=b=a._locale.preparse(b)),s(b)?new r(db(b)):(h(b)?a._d=b:c(d)?nb(a):d?lb(a):rb(a),o(a)||(a._d=null),a))}function rb(b){var e=b._i;f(e)?b._d=new Date(a.now()):h(e)?b._d=new Date(e.valueOf()):"string"==typeof e?gb(b):c(e)?(b._a=i(e.slice(0),function(a){return parseInt(a,10)}),jb(b)):d(e)?ob(b):g(e)?b._d=new Date(e):a.createFromInputFallback(b)}function sb(a,b,f,g,h){var i={};return f!==!0&&f!==!1||(g=f,f=void 0),(d(a)&&e(a)||c(a)&&0===a.length)&&(a=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=h,i._l=f,i._i=a,i._f=b,i._strict=g,pb(i)}function tb(a,b,c,d){return sb(a,b,c,d,!1)}function ub(a,b){var d,e;if(1===b.length&&c(b[0])&&(b=b[0]),!b.length)return tb();for(d=b[0],e=1;e<b.length;++e)b[e].isValid()&&!b[e][a](d)||(d=b[e]);return d}function vb(){var a=[].slice.call(arguments,0);return ub("isBefore",a)}function wb(){var a=[].slice.call(arguments,0);return ub("isAfter",a)}function xb(a){for(var b in a)if(Re.indexOf(b)===-1||null!=a[b]&&isNaN(a[b]))return!1;for(var c=!1,d=0;d<Re.length;++d)if(a[Re[d]]){if(c)return!1;parseFloat(a[Re[d]])!==u(a[Re[d]])&&(c=!0)}return!0}function yb(){return this._isValid}function zb(){return Sb(NaN)}function Ab(a){var b=L(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._isValid=xb(b),this._milliseconds=+k+1e3*j+6e4*i+1e3*h*60*60,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=bb(),this._bubble()}function Bb(a){return a instanceof Ab}function Cb(a){return a<0?Math.round(-1*a)*-1:Math.round(a)}function Db(a,b){U(a,0,0,function(){var a=this.utcOffset(),c="+";return a<0&&(a=-a,c="-"),c+T(~~(a/60),2)+b+T(~~a%60,2)})}function Eb(a,b){var c=(b||"").match(a);if(null===c)return null;var d=c[c.length-1]||[],e=(d+"").match(Se)||["-",0,0],f=+(60*e[1])+u(e[2]);return 0===f?0:"+"===e[0]?f:-f}function Fb(b,c){var d,e;return c._isUTC?(d=c.clone(),e=(s(b)||h(b)?b.valueOf():tb(b).valueOf())-d.valueOf(),d._d.setTime(d._d.valueOf()+e),a.updateOffset(d,!1),d):tb(b).local()}function Gb(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function Hb(b,c,d){var e,f=this._offset||0;if(!this.isValid())return null!=b?this:NaN;if(null!=b){if("string"==typeof b){if(b=Eb(_d,b),null===b)return this}else Math.abs(b)<16&&!d&&(b=60*b);return!this._isUTC&&c&&(e=Gb(this)),this._offset=b,this._isUTC=!0,null!=e&&this.add(e,"m"),f!==b&&(!c||this._changeInProgress?Xb(this,Sb(b-f,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?f:Gb(this)}function Ib(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}function Jb(a){return this.utcOffset(0,a)}function Kb(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Gb(this),"m")),this}function Lb(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var a=Eb($d,this._i);null!=a?this.utcOffset(a):this.utcOffset(0,!0)}return this}function Mb(a){return!!this.isValid()&&(a=a?tb(a).utcOffset():0,(this.utcOffset()-a)%60===0)}function Nb(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ob(){if(!f(this._isDSTShifted))return this._isDSTShifted;var a={};if(q(a,this),a=qb(a),a._a){var b=a._isUTC?l(a._a):tb(a._a);this._isDSTShifted=this.isValid()&&v(a._a,b.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Pb(){return!!this.isValid()&&!this._isUTC}function Qb(){return!!this.isValid()&&this._isUTC}function Rb(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Sb(a,b){var c,d,e,f=a,h=null;return Bb(a)?f={ms:a._milliseconds,d:a._days,M:a._months}:g(a)?(f={},b?f[b]=a:f.milliseconds=a):(h=Te.exec(a))?(c="-"===h[1]?-1:1,f={y:0,d:u(h[ge])*c,h:u(h[he])*c,m:u(h[ie])*c,s:u(h[je])*c,ms:u(Cb(1e3*h[ke]))*c}):(h=Ue.exec(a))?(c="-"===h[1]?-1:1,f={y:Tb(h[2],c),M:Tb(h[3],c),w:Tb(h[4],c),d:Tb(h[5],c),h:Tb(h[6],c),m:Tb(h[7],c),s:Tb(h[8],c)}):null==f?f={}:"object"==typeof f&&("from"in f||"to"in f)&&(e=Vb(tb(f.from),tb(f.to)),f={},f.ms=e.milliseconds,f.M=e.months),d=new Ab(f),Bb(a)&&j(a,"_locale")&&(d._locale=a._locale),d}function Tb(a,b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function Ub(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function Vb(a,b){var c;return a.isValid()&&b.isValid()?(b=Fb(b,a),a.isBefore(b)?c=Ub(a,b):(c=Ub(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function Wb(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(y(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=Sb(c,d),Xb(this,e,a),this}}function Xb(b,c,d,e){var f=c._milliseconds,g=Cb(c._days),h=Cb(c._months);b.isValid()&&(e=null==e||e,f&&b._d.setTime(b._d.valueOf()+f*d),g&&Q(b,"Date",P(b,"Date")+g*d),h&&ja(b,P(b,"Month")+h*d),e&&a.updateOffset(b,g||h))}function Yb(a,b){var c=a.diff(b,"days",!0);return c<-6?"sameElse":c<-1?"lastWeek":c<0?"lastDay":c<1?"sameDay":c<2?"nextDay":c<7?"nextWeek":"sameElse"}function Zb(b,c){var d=b||tb(),e=Fb(d,this).startOf("day"),f=a.calendarFormat(this,e)||"sameElse",g=c&&(z(c[f])?c[f].call(this,d):c[f]);return this.format(g||this.localeData().calendar(f,this,tb(d)))}function $b(){return new r(this)}function _b(a,b){var c=s(a)?a:tb(a);return!(!this.isValid()||!c.isValid())&&(b=K(f(b)?"millisecond":b),"millisecond"===b?this.valueOf()>c.valueOf():c.valueOf()<this.clone().startOf(b).valueOf())}function ac(a,b){var c=s(a)?a:tb(a);return!(!this.isValid()||!c.isValid())&&(b=K(f(b)?"millisecond":b),"millisecond"===b?this.valueOf()<c.valueOf():this.clone().endOf(b).valueOf()<c.valueOf())}function bc(a,b,c,d){return d=d||"()",("("===d[0]?this.isAfter(a,c):!this.isBefore(a,c))&&(")"===d[1]?this.isBefore(b,c):!this.isAfter(b,c))}function cc(a,b){var c,d=s(a)?a:tb(a);return!(!this.isValid()||!d.isValid())&&(b=K(b||"millisecond"),"millisecond"===b?this.valueOf()===d.valueOf():(c=d.valueOf(),this.clone().startOf(b).valueOf()<=c&&c<=this.clone().endOf(b).valueOf()))}function dc(a,b){return this.isSame(a,b)||this.isAfter(a,b)}function ec(a,b){return this.isSame(a,b)||this.isBefore(a,b)}function fc(a,b,c){var d,e,f,g;return this.isValid()?(d=Fb(a,this),d.isValid()?(e=6e4*(d.utcOffset()-this.utcOffset()),b=K(b),"year"===b||"month"===b||"quarter"===b?(g=gc(this,d),"quarter"===b?g/=3:"year"===b&&(g/=12)):(f=this-d,g="second"===b?f/1e3:"minute"===b?f/6e4:"hour"===b?f/36e5:"day"===b?(f-e)/864e5:"week"===b?(f-e)/6048e5:f),c?g:t(g)):NaN):NaN}function gc(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return b-f<0?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)||0}function hc(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ic(){if(!this.isValid())return null;var a=this.clone().utc();return a.year()<0||a.year()>9999?X(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):z(Date.prototype.toISOString)?this.toDate().toISOString():X(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function jc(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var a="moment",b="";this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",b="Z");var c="["+a+'("]',d=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",e="-MM-DD[T]HH:mm:ss.SSS",f=b+'[")]';return this.format(c+d+e+f)}function kc(b){b||(b=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var c=X(this,b);return this.localeData().postformat(c)}function lc(a,b){return this.isValid()&&(s(a)&&a.isValid()||tb(a).isValid())?Sb({to:this,from:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function mc(a){return this.from(tb(),a)}function nc(a,b){return this.isValid()&&(s(a)&&a.isValid()||tb(a).isValid())?Sb({from:this,to:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function oc(a){return this.to(tb(),a)}function pc(a){var b;return void 0===a?this._locale._abbr:(b=bb(a),null!=b&&(this._locale=b),this)}function qc(){return this._locale}function rc(a){switch(a=K(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a&&this.weekday(0),"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this}function sc(a){return a=K(a),void 0===a||"millisecond"===a?this:("date"===a&&(a="day"),this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms"))}function tc(){return this._d.valueOf()-6e4*(this._offset||0)}function uc(){return Math.floor(this.valueOf()/1e3)}function vc(){return new Date(this.valueOf())}function wc(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function xc(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function yc(){return this.isValid()?this.toISOString():null}function zc(){return o(this)}function Ac(){
|
7 |
-
return k({},n(this))}function Bc(){return n(this).overflow}function Cc(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Dc(a,b){U(0,[a,a.length],0,b)}function Ec(a){return Ic.call(this,a,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Fc(a){return Ic.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)}function Gc(){return xa(this.year(),1,4)}function Hc(){var a=this.localeData()._week;return xa(this.year(),a.dow,a.doy)}function Ic(a,b,c,d,e){var f;return null==a?wa(this,d,e).year:(f=xa(a,d,e),b>f&&(b=f),Jc.call(this,a,b,c,d,e))}function Jc(a,b,c,d,e){var f=va(a,b,c,d,e),g=ta(f.year,0,f.dayOfYear);return this.year(g.getUTCFullYear()),this.month(g.getUTCMonth()),this.date(g.getUTCDate()),this}function Kc(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)}function Lc(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function Mc(a,b){b[ke]=u(1e3*("0."+a))}function Nc(){return this._isUTC?"UTC":""}function Oc(){return this._isUTC?"Coordinated Universal Time":""}function Pc(a){return tb(1e3*a)}function Qc(){return tb.apply(null,arguments).parseZone()}function Rc(a){return a}function Sc(a,b,c,d){var e=bb(),f=l().set(d,b);return e[c](f,a)}function Tc(a,b,c){if(g(a)&&(b=a,a=void 0),a=a||"",null!=b)return Sc(a,b,c,"month");var d,e=[];for(d=0;d<12;d++)e[d]=Sc(a,d,c,"month");return e}function Uc(a,b,c,d){"boolean"==typeof a?(g(b)&&(c=b,b=void 0),b=b||""):(b=a,c=b,a=!1,g(b)&&(c=b,b=void 0),b=b||"");var e=bb(),f=a?e._week.dow:0;if(null!=c)return Sc(b,(c+f)%7,d,"day");var h,i=[];for(h=0;h<7;h++)i[h]=Sc(b,(h+f)%7,d,"day");return i}function Vc(a,b){return Tc(a,b,"months")}function Wc(a,b){return Tc(a,b,"monthsShort")}function Xc(a,b,c){return Uc(a,b,c,"weekdays")}function Yc(a,b,c){return Uc(a,b,c,"weekdaysShort")}function Zc(a,b,c){return Uc(a,b,c,"weekdaysMin")}function $c(){var a=this._data;return this._milliseconds=df(this._milliseconds),this._days=df(this._days),this._months=df(this._months),a.milliseconds=df(a.milliseconds),a.seconds=df(a.seconds),a.minutes=df(a.minutes),a.hours=df(a.hours),a.months=df(a.months),a.years=df(a.years),this}function _c(a,b,c,d){var e=Sb(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function ad(a,b){return _c(this,a,b,1)}function bd(a,b){return _c(this,a,b,-1)}function cd(a){return a<0?Math.floor(a):Math.ceil(a)}function dd(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;return f>=0&&g>=0&&h>=0||f<=0&&g<=0&&h<=0||(f+=864e5*cd(fd(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=t(f/1e3),i.seconds=a%60,b=t(a/60),i.minutes=b%60,c=t(b/60),i.hours=c%24,g+=t(c/24),e=t(ed(g)),h+=e,g-=cd(fd(e)),d=t(h/12),h%=12,i.days=g,i.months=h,i.years=d,this}function ed(a){return 4800*a/146097}function fd(a){return 146097*a/4800}function gd(a){if(!this.isValid())return NaN;var b,c,d=this._milliseconds;if(a=K(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+ed(b),"month"===a?c:c/12;switch(b=this._days+Math.round(fd(this._months)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 1440*b+d/6e4;case"second":return 86400*b+d/1e3;case"millisecond":return Math.floor(864e5*b)+d;default:throw new Error("Unknown unit "+a)}}function hd(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*u(this._months/12):NaN}function id(a){return function(){return this.as(a)}}function jd(a){return a=K(a),this.isValid()?this[a+"s"]():NaN}function kd(a){return function(){return this.isValid()?this._data[a]:NaN}}function ld(){return t(this.days()/7)}function md(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function nd(a,b,c){var d=Sb(a).abs(),e=uf(d.as("s")),f=uf(d.as("m")),g=uf(d.as("h")),h=uf(d.as("d")),i=uf(d.as("M")),j=uf(d.as("y")),k=e<=vf.ss&&["s",e]||e<vf.s&&["ss",e]||f<=1&&["m"]||f<vf.m&&["mm",f]||g<=1&&["h"]||g<vf.h&&["hh",g]||h<=1&&["d"]||h<vf.d&&["dd",h]||i<=1&&["M"]||i<vf.M&&["MM",i]||j<=1&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,md.apply(null,k)}function od(a){return void 0===a?uf:"function"==typeof a&&(uf=a,!0)}function pd(a,b){return void 0!==vf[a]&&(void 0===b?vf[a]:(vf[a]=b,"s"===a&&(vf.ss=b-1),!0))}function qd(a){if(!this.isValid())return this.localeData().invalidDate();var b=this.localeData(),c=nd(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function rd(){if(!this.isValid())return this.localeData().invalidDate();var a,b,c,d=wf(this._milliseconds)/1e3,e=wf(this._days),f=wf(this._months);a=t(d/60),b=t(a/60),d%=60,a%=60,c=t(f/12),f%=12;var g=c,h=f,i=e,j=b,k=a,l=d,m=this.asSeconds();return m?(m<0?"-":"")+"P"+(g?g+"Y":"")+(h?h+"M":"")+(i?i+"D":"")+(j||k||l?"T":"")+(j?j+"H":"")+(k?k+"M":"")+(l?l+"S":""):"P0D"}var sd,td;td=Array.prototype.some?Array.prototype.some:function(a){for(var b=Object(this),c=b.length>>>0,d=0;d<c;d++)if(d in b&&a.call(this,b[d],d,b))return!0;return!1};var ud=td,vd=a.momentProperties=[],wd=!1,xd={};a.suppressDeprecationWarnings=!1,a.deprecationHandler=null;var yd;yd=Object.keys?Object.keys:function(a){var b,c=[];for(b in a)j(a,b)&&c.push(b);return c};var zd,Ad=yd,Bd={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Cd={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Dd="Invalid date",Ed="%d",Fd=/\d{1,2}/,Gd={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Hd={},Id={},Jd=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Kd=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ld={},Md={},Nd=/\d/,Od=/\d\d/,Pd=/\d{3}/,Qd=/\d{4}/,Rd=/[+-]?\d{6}/,Sd=/\d\d?/,Td=/\d\d\d\d?/,Ud=/\d\d\d\d\d\d?/,Vd=/\d{1,3}/,Wd=/\d{1,4}/,Xd=/[+-]?\d{1,6}/,Yd=/\d+/,Zd=/[+-]?\d+/,$d=/Z|[+-]\d\d:?\d\d/gi,_d=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[+-]?\d+(\.\d{1,3})?/,be=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ce={},de={},ee=0,fe=1,ge=2,he=3,ie=4,je=5,ke=6,le=7,me=8;zd=Array.prototype.indexOf?Array.prototype.indexOf:function(a){var b;for(b=0;b<this.length;++b)if(this[b]===a)return b;return-1};var ne=zd;U("M",["MM",2],"Mo",function(){return this.month()+1}),U("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),U("MMMM",0,0,function(a){return this.localeData().months(this,a)}),J("month","M"),M("month",8),Z("M",Sd),Z("MM",Sd,Od),Z("MMM",function(a,b){return b.monthsShortRegex(a)}),Z("MMMM",function(a,b){return b.monthsRegex(a)}),ba(["M","MM"],function(a,b){b[fe]=u(a)-1}),ba(["MMM","MMMM"],function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=e?b[fe]=e:n(c).invalidMonth=a});var oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),qe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),re=be,se=be;U("Y",0,0,function(){var a=this.year();return a<=9999?""+a:"+"+a}),U(0,["YY",2],0,function(){return this.year()%100}),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),J("year","y"),M("year",1),Z("Y",Zd),Z("YY",Sd,Od),Z("YYYY",Wd,Qd),Z("YYYYY",Xd,Rd),Z("YYYYYY",Xd,Rd),ba(["YYYYY","YYYYYY"],ee),ba("YYYY",function(b,c){c[ee]=2===b.length?a.parseTwoDigitYear(b):u(b)}),ba("YY",function(b,c){c[ee]=a.parseTwoDigitYear(b)}),ba("Y",function(a,b){b[ee]=parseInt(a,10)}),a.parseTwoDigitYear=function(a){return u(a)+(u(a)>68?1900:2e3)};var te=O("FullYear",!0);U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),M("week",5),M("isoWeek",5),Z("w",Sd),Z("ww",Sd,Od),Z("W",Sd),Z("WW",Sd,Od),ca(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=u(a)});var ue={dow:0,doy:6};U("d",0,"do","day"),U("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),U("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),U("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),M("day",11),M("weekday",11),M("isoWeekday",11),Z("d",Sd),Z("e",Sd),Z("E",Sd),Z("dd",function(a,b){return b.weekdaysMinRegex(a)}),Z("ddd",function(a,b){return b.weekdaysShortRegex(a)}),Z("dddd",function(a,b){return b.weekdaysRegex(a)}),ca(["dd","ddd","dddd"],function(a,b,c,d){var e=c._locale.weekdaysParse(a,d,c._strict);null!=e?b.d=e:n(c).invalidWeekday=a}),ca(["d","e","E"],function(a,b,c,d){b[d]=u(a)});var ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),we="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ye=be,ze=be,Ae=be;U("H",["HH",2],0,"hour"),U("h",["hh",2],0,Ra),U("k",["kk",2],0,Sa),U("hmm",0,0,function(){return""+Ra.apply(this)+T(this.minutes(),2)}),U("hmmss",0,0,function(){return""+Ra.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),Ta("a",!0),Ta("A",!1),J("hour","h"),M("hour",13),Z("a",Ua),Z("A",Ua),Z("H",Sd),Z("h",Sd),Z("k",Sd),Z("HH",Sd,Od),Z("hh",Sd,Od),Z("kk",Sd,Od),Z("hmm",Td),Z("hmmss",Ud),Z("Hmm",Td),Z("Hmmss",Ud),ba(["H","HH"],he),ba(["k","kk"],function(a,b,c){var d=u(a);b[he]=24===d?0:d}),ba(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),ba(["h","hh"],function(a,b,c){b[he]=u(a),n(c).bigHour=!0}),ba("hmm",function(a,b,c){var d=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d)),n(c).bigHour=!0}),ba("hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d,2)),b[je]=u(a.substr(e)),n(c).bigHour=!0}),ba("Hmm",function(a,b,c){var d=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d))}),ba("Hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d,2)),b[je]=u(a.substr(e))});var Be,Ce=/[ap]\.?m?\.?/i,De=O("Hours",!0),Ee={calendar:Bd,longDateFormat:Cd,invalidDate:Dd,ordinal:Ed,dayOfMonthOrdinalParse:Fd,relativeTime:Gd,months:pe,monthsShort:qe,week:ue,weekdays:ve,weekdaysMin:xe,weekdaysShort:we,meridiemParse:Ce},Fe={},Ge={},He=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ie=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Je=/Z|[+-]\d\d(?::?\d\d)?/,Ke=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Le=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Me=/^\/?Date\((\-?\d+)/i,Ne=/^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;a.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var Oe=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=tb.apply(null,arguments);return this.isValid()&&a.isValid()?a<this?this:a:p()}),Pe=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=tb.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:a:p()}),Qe=function(){return Date.now?Date.now():+new Date},Re=["year","quarter","month","week","day","hour","minute","second","millisecond"];Db("Z",":"),Db("ZZ",""),Z("Z",_d),Z("ZZ",_d),ba(["Z","ZZ"],function(a,b,c){c._useUTC=!0,c._tzm=Eb(_d,a)});var Se=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var Te=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ue=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Sb.fn=Ab.prototype,Sb.invalid=zb;var Ve=Wb(1,"add"),We=Wb(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xe=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Dc("gggg","weekYear"),Dc("ggggg","weekYear"),Dc("GGGG","isoWeekYear"),Dc("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),M("weekYear",1),M("isoWeekYear",1),Z("G",Zd),Z("g",Zd),Z("GG",Sd,Od),Z("gg",Sd,Od),Z("GGGG",Wd,Qd),Z("gggg",Wd,Qd),Z("GGGGG",Xd,Rd),Z("ggggg",Xd,Rd),ca(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=u(a)}),ca(["gg","GG"],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)}),U("Q",0,"Qo","quarter"),J("quarter","Q"),M("quarter",7),Z("Q",Nd),ba("Q",function(a,b){b[fe]=3*(u(a)-1)}),U("D",["DD",2],"Do","date"),J("date","D"),M("date",9),Z("D",Sd),Z("DD",Sd,Od),Z("Do",function(a,b){return a?b._dayOfMonthOrdinalParse||b._ordinalParse:b._dayOfMonthOrdinalParseLenient}),ba(["D","DD"],ge),ba("Do",function(a,b){b[ge]=u(a.match(Sd)[0],10)});var Ye=O("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),M("dayOfYear",4),Z("DDD",Vd),Z("DDDD",Pd),ba(["DDD","DDDD"],function(a,b,c){c._dayOfYear=u(a)}),U("m",["mm",2],0,"minute"),J("minute","m"),M("minute",14),Z("m",Sd),Z("mm",Sd,Od),ba(["m","mm"],ie);var Ze=O("Minutes",!1);U("s",["ss",2],0,"second"),J("second","s"),M("second",15),Z("s",Sd),Z("ss",Sd,Od),ba(["s","ss"],je);var $e=O("Seconds",!1);U("S",0,0,function(){return~~(this.millisecond()/100)}),U(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,function(){return 10*this.millisecond()}),U(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),U(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),U(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),U(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),U(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),J("millisecond","ms"),M("millisecond",16),Z("S",Vd,Nd),Z("SS",Vd,Od),Z("SSS",Vd,Pd);var _e;for(_e="SSSS";_e.length<=9;_e+="S")Z(_e,Yd);for(_e="S";_e.length<=9;_e+="S")ba(_e,Mc);var af=O("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var bf=r.prototype;bf.add=Ve,bf.calendar=Zb,bf.clone=$b,bf.diff=fc,bf.endOf=sc,bf.format=kc,bf.from=lc,bf.fromNow=mc,bf.to=nc,bf.toNow=oc,bf.get=R,bf.invalidAt=Bc,bf.isAfter=_b,bf.isBefore=ac,bf.isBetween=bc,bf.isSame=cc,bf.isSameOrAfter=dc,bf.isSameOrBefore=ec,bf.isValid=zc,bf.lang=Xe,bf.locale=pc,bf.localeData=qc,bf.max=Pe,bf.min=Oe,bf.parsingFlags=Ac,bf.set=S,bf.startOf=rc,bf.subtract=We,bf.toArray=wc,bf.toObject=xc,bf.toDate=vc,bf.toISOString=ic,bf.inspect=jc,bf.toJSON=yc,bf.toString=hc,bf.unix=uc,bf.valueOf=tc,bf.creationData=Cc,bf.year=te,bf.isLeapYear=ra,bf.weekYear=Ec,bf.isoWeekYear=Fc,bf.quarter=bf.quarters=Kc,bf.month=ka,bf.daysInMonth=la,bf.week=bf.weeks=Ba,bf.isoWeek=bf.isoWeeks=Ca,bf.weeksInYear=Hc,bf.isoWeeksInYear=Gc,bf.date=Ye,bf.day=bf.days=Ka,bf.weekday=La,bf.isoWeekday=Ma,bf.dayOfYear=Lc,bf.hour=bf.hours=De,bf.minute=bf.minutes=Ze,bf.second=bf.seconds=$e,bf.millisecond=bf.milliseconds=af,bf.utcOffset=Hb,bf.utc=Jb,bf.local=Kb,bf.parseZone=Lb,bf.hasAlignedHourOffset=Mb,bf.isDST=Nb,bf.isLocal=Pb,bf.isUtcOffset=Qb,bf.isUtc=Rb,bf.isUTC=Rb,bf.zoneAbbr=Nc,bf.zoneName=Oc,bf.dates=x("dates accessor is deprecated. Use date instead.",Ye),bf.months=x("months accessor is deprecated. Use month instead",ka),bf.years=x("years accessor is deprecated. Use year instead",te),bf.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ib),bf.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ob);var cf=C.prototype;cf.calendar=D,cf.longDateFormat=E,cf.invalidDate=F,cf.ordinal=G,cf.preparse=Rc,cf.postformat=Rc,cf.relativeTime=H,cf.pastFuture=I,cf.set=A,cf.months=fa,cf.monthsShort=ga,cf.monthsParse=ia,cf.monthsRegex=na,cf.monthsShortRegex=ma,cf.week=ya,cf.firstDayOfYear=Aa,cf.firstDayOfWeek=za,cf.weekdays=Fa,cf.weekdaysMin=Ha,cf.weekdaysShort=Ga,cf.weekdaysParse=Ja,cf.weekdaysRegex=Na,cf.weekdaysShortRegex=Oa,cf.weekdaysMinRegex=Pa,cf.isPM=Va,cf.meridiem=Wa,$a("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===u(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=x("moment.lang is deprecated. Use moment.locale instead.",$a),a.langData=x("moment.langData is deprecated. Use moment.localeData instead.",bb);var df=Math.abs,ef=id("ms"),ff=id("s"),gf=id("m"),hf=id("h"),jf=id("d"),kf=id("w"),lf=id("M"),mf=id("y"),nf=kd("milliseconds"),of=kd("seconds"),pf=kd("minutes"),qf=kd("hours"),rf=kd("days"),sf=kd("months"),tf=kd("years"),uf=Math.round,vf={ss:44,s:45,m:45,h:22,d:26,M:11},wf=Math.abs,xf=Ab.prototype;return xf.isValid=yb,xf.abs=$c,xf.add=ad,xf.subtract=bd,xf.as=gd,xf.asMilliseconds=ef,xf.asSeconds=ff,xf.asMinutes=gf,xf.asHours=hf,xf.asDays=jf,xf.asWeeks=kf,xf.asMonths=lf,xf.asYears=mf,xf.valueOf=hd,xf._bubble=dd,xf.get=jd,xf.milliseconds=nf,xf.seconds=of,xf.minutes=pf,xf.hours=qf,xf.days=rf,xf.weeks=ld,xf.months=sf,xf.years=tf,xf.humanize=qd,xf.toISOString=rd,xf.toString=rd,xf.toJSON=rd,xf.locale=pc,xf.localeData=qc,xf.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rd),xf.lang=Xe,U("X",0,0,"unix"),U("x",0,0,"valueOf"),Z("x",Zd),Z("X",ae),ba("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),ba("x",function(a,b,c){c._d=new Date(u(a))}),a.version="2.18.1",b(tb),a.fn=bf,a.min=vb,a.max=wb,a.now=Qe,a.utc=l,a.unix=Pc,a.months=Vc,a.isDate=h,a.locale=$a,a.invalid=p,a.duration=Sb,a.isMoment=s,a.weekdays=Xc,a.parseZone=Qc,a.localeData=bb,a.isDuration=Bb,a.monthsShort=Wc,a.weekdaysMin=Zc,a.defineLocale=_a,a.updateLocale=ab,a.locales=cb,a.weekdaysShort=Yc,a.normalizeUnits=K,a.relativeTimeRounding=od,a.relativeTimeThreshold=pd,a.calendarFormat=Yb,a.prototype=bf,a});
|
1 |
//! moment.js
|
2 |
+
//! version : 2.29.1
|
3 |
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
4 |
//! license : MIT
|
5 |
//! momentjs.com
|
6 |
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var e,i;function f(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function u(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(m(e,t))return;return 1}function r(e){return void 0===e}function h(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function a(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){for(var n=[],s=0;s<e.length;++s)n.push(t(e[s],s));return n}function c(e,t){for(var n in t)m(t,n)&&(e[n]=t[n]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function _(e,t,n,s){return xt(e,t,n,s,!0).utc()}function y(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=y(e),n=i.call(t.parsedDateParts,function(e){return null!=e}),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function w(e){var t=_(NaN);return null!=e?c(y(t),e):y(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};var p=f.momentProperties=[],t=!1;function v(e,t){var n,s,i;if(r(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),r(t._i)||(e._i=t._i),r(t._f)||(e._f=t._f),r(t._l)||(e._l=t._l),r(t._strict)||(e._strict=t._strict),r(t._tzm)||(e._tzm=t._tzm),r(t._isUTC)||(e._isUTC=t._isUTC),r(t._offset)||(e._offset=t._offset),r(t._pf)||(e._pf=y(t)),r(t._locale)||(e._locale=t._locale),0<p.length)for(n=0;n<p.length;n++)r(i=t[s=p[n]])||(e[s]=i);return e}function k(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,f.updateOffset(this),t=!1)}function M(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function D(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,r){var a=!0;return c(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,i),a){for(var e,t,n=[],s=0;s<arguments.length;s++){if(e="","object"==typeof arguments[s]){for(t in e+="\n["+s+"] ",arguments[0])m(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[s];n.push(e)}D(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),a=!1}return r.apply(this,arguments)},r)}var s,S={};function Y(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),S[e]||(D(t),S[e]=!0)}function O(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function b(e,t){var n,s=c({},e);for(n in t)m(t,n)&&(u(e[n])&&u(t[n])?(s[n]={},c(s[n],e[n]),c(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)m(e,n)&&!m(t,n)&&u(e[n])&&(s[n]=c({},s[n]));return s}function x(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null,s=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)m(e,t)&&n.push(t);return n};function T(e,t,n){var s=""+Math.abs(e),i=t-s.length;return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},W={};function C(e,t,n,s){var i="string"==typeof s?function(){return this[s]()}:s;e&&(W[e]=i),t&&(W[t[0]]=function(){return T(i.apply(this,arguments),t[1],t[2])}),n&&(W[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(t=H(t,e.localeData()),R[t]=R[t]||function(s){for(var e,i=s.match(N),t=0,r=i.length;t<r;t++)W[i[t]]?i[t]=W[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=O(i[n])?i[n].call(e,s):i[n];return t}}(t),R[t](e)):e.localeData().invalidDate()}function H(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(P.lastIndex=0;0<=n&&P.test(e);)e=e.replace(P,s),P.lastIndex=0,--n;return e}var F={};function L(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function V(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function G(e){var t,n,s={};for(n in e)m(e,n)&&(t=V(n))&&(s[t]=e[n]);return s}var E={};function A(e,t){E[e]=t}function j(e){return e%4==0&&e%100!=0||e%400==0}function I(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Z(e){var t=+e,n=0;return 0!=t&&isFinite(t)&&(n=I(t)),n}function z(t,n){return function(e){return null!=e?(q(this,t,e),f.updateOffset(this,n),this):$(this,t)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&j(e.year())&&1===e.month()&&29===e.date()?(n=Z(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),xe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var B,J=/\d/,Q=/\d\d/,X=/\d{3}/,K=/\d{4}/,ee=/[+-]?\d{6}/,te=/\d\d?/,ne=/\d\d\d\d?/,se=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,re=/\d{1,4}/,ae=/[+-]?\d{1,6}/,oe=/\d+/,ue=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ce(e,n,s){B[e]=O(n)?n:function(e,t){return e&&s?s:n}}function fe(e,t){return m(B,e)?B[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}B={};var _e={};function ye(e,n){var t,s=n;for("string"==typeof e&&(e=[e]),h(n)&&(s=function(e,t){t[n]=Z(e)}),t=0;t<e.length;t++)_e[e[t]]=s}function ge(e,i){ye(e,function(e,t,n,s){n._w=n._w||{},i(e,n._w,n,s)})}var we,pe=0,ve=1,ke=2,Me=3,De=4,Se=5,Ye=6,Oe=7,be=8;function xe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,s=(t%(n=12)+n)%n;return e+=(t-s)/12,1==s?j(e)?29:28:31-s%7%2}we=Array.prototype.indexOf?Array.prototype.indexOf:function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},C("M",["MM",2],"Mo",function(){return this.month()+1}),C("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),C("MMMM",0,0,function(e){return this.localeData().months(this,e)}),L("month","M"),A("month",8),ce("M",te),ce("MM",te,Q),ce("MMM",function(e,t){return t.monthsShortRegex(e)}),ce("MMMM",function(e,t){return t.monthsRegex(e)}),ye(["M","MM"],function(e,t){t[ve]=Z(e)-1}),ye(["MMM","MMMM"],function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);null!=i?t[ve]=i:y(n).invalidMonth=e});var Te="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Pe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re=de,We=de;function Ce(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Z(t);else if(!h(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),xe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ue(e){return null!=e?(Ce(this,e),f.updateOffset(this,!0),this):$(this,"Month")}function He(){function e(e,t){return t.length-e.length}for(var t,n=[],s=[],i=[],r=0;r<12;r++)t=_([2e3,r]),n.push(this.monthsShort(t,"")),s.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),s.sort(e),i.sort(e),r=0;r<12;r++)n[r]=me(n[r]),s[r]=me(s[r]);for(r=0;r<24;r++)i[r]=me(i[r]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Fe(e){return j(e)?366:365}C("Y",0,0,function(){var e=this.year();return e<=9999?T(e,4):"+"+e}),C(0,["YY",2],0,function(){return this.year()%100}),C(0,["YYYY",4],0,"year"),C(0,["YYYYY",5],0,"year"),C(0,["YYYYYY",6,!0],0,"year"),L("year","y"),A("year",1),ce("Y",ue),ce("YY",te,Q),ce("YYYY",re,K),ce("YYYYY",ae,ee),ce("YYYYYY",ae,ee),ye(["YYYYY","YYYYYY"],pe),ye("YYYY",function(e,t){t[pe]=2===e.length?f.parseTwoDigitYear(e):Z(e)}),ye("YY",function(e,t){t[pe]=f.parseTwoDigitYear(e)}),ye("Y",function(e,t){t[pe]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return Z(e)+(68<Z(e)?1900:2e3)};var Le=z("FullYear",!0);function Ve(e){var t,n;return e<100&&0<=e?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ge(e,t,n){var s=7+t-n;return s-(7+Ve(e,0,s).getUTCDay()-t)%7-1}function Ee(e,t,n,s,i){var r,a=1+7*(t-1)+(7+n-s)%7+Ge(e,s,i),o=a<=0?Fe(r=e-1)+a:a>Fe(e)?(r=e+1,a-Fe(e)):(r=e,a);return{year:r,dayOfYear:o}}function Ae(e,t,n){var s,i,r=Ge(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+je(i=e.year()-1,t,n):a>je(e.year(),t,n)?(s=a-je(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function je(e,t,n){var s=Ge(e,t,n),i=Ge(e+1,t,n);return(Fe(e)-s+i)/7}C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),A("week",5),A("isoWeek",5),ce("w",te),ce("ww",te,Q),ce("W",te),ce("WW",te,Q),ge(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=Z(e)});function Ie(e,t){return e.slice(t,7).concat(e.slice(0,t))}C("d",0,"do","day"),C("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),C("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),C("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),A("day",11),A("weekday",11),A("isoWeekday",11),ce("d",te),ce("e",te),ce("E",te),ce("dd",function(e,t){return t.weekdaysMinRegex(e)}),ce("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ce("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:y(n).invalidWeekday=e}),ge(["d","e","E"],function(e,t,n,s){t[s]=Z(e)});var Ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$e="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qe=de,Be=de,Je=de;function Qe(){function e(e,t){return t.length-e.length}for(var t,n,s,i,r=[],a=[],o=[],u=[],l=0;l<7;l++)t=_([2e3,1]).day(l),n=me(this.weekdaysMin(t,"")),s=me(this.weekdaysShort(t,"")),i=me(this.weekdays(t,"")),r.push(n),a.push(s),o.push(i),u.push(n),u.push(s),u.push(i);r.sort(e),a.sort(e),o.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Xe(){return this.hours()%12||12}function Ke(e,t){C(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function et(e,t){return t._meridiemParse}C("H",["HH",2],0,"hour"),C("h",["hh",2],0,Xe),C("k",["kk",2],0,function(){return this.hours()||24}),C("hmm",0,0,function(){return""+Xe.apply(this)+T(this.minutes(),2)}),C("hmmss",0,0,function(){return""+Xe.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),C("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),C("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),Ke("a",!0),Ke("A",!1),L("hour","h"),A("hour",13),ce("a",et),ce("A",et),ce("H",te),ce("h",te),ce("k",te),ce("HH",te,Q),ce("hh",te,Q),ce("kk",te,Q),ce("hmm",ne),ce("hmmss",se),ce("Hmm",ne),ce("Hmmss",se),ye(["H","HH"],Me),ye(["k","kk"],function(e,t,n){var s=Z(e);t[Me]=24===s?0:s}),ye(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ye(["h","hh"],function(e,t,n){t[Me]=Z(e),y(n).bigHour=!0}),ye("hmm",function(e,t,n){var s=e.length-2;t[Me]=Z(e.substr(0,s)),t[De]=Z(e.substr(s)),y(n).bigHour=!0}),ye("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[Me]=Z(e.substr(0,s)),t[De]=Z(e.substr(s,2)),t[Se]=Z(e.substr(i)),y(n).bigHour=!0}),ye("Hmm",function(e,t,n){var s=e.length-2;t[Me]=Z(e.substr(0,s)),t[De]=Z(e.substr(s))}),ye("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[Me]=Z(e.substr(0,s)),t[De]=Z(e.substr(s,2)),t[Se]=Z(e.substr(i))});var tt=z("Hours",!0);var nt,st={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Te,monthsShort:Ne,week:{dow:0,doy:6},weekdays:Ze,weekdaysMin:$e,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},it={},rt={};function at(e){return e?e.toLowerCase().replace("_","-"):e}function ot(e){for(var t,n,s,i,r=0;r<e.length;){for(t=(i=at(e[r]).split("-")).length,n=(n=at(e[r+1]))?n.split("-"):null;0<t;){if(s=ut(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),s=0;s<n;s+=1)if(e[s]!==t[s])return s;return n}(i,n)>=t-1)break;t--}r++}return nt}function ut(t){var e;if(void 0===it[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=nt._abbr,require("./locale/"+t),lt(e)}catch(e){it[t]=null}return it[t]}function lt(e,t){var n;return e&&((n=r(t)?dt(e):ht(e,t))?nt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nt._abbr}function ht(e,t){if(null===t)return delete it[e],null;var n,s=st;if(t.abbr=e,null!=it[e])Y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=it[e]._config;else if(null!=t.parentLocale)if(null!=it[t.parentLocale])s=it[t.parentLocale]._config;else{if(null==(n=ut(t.parentLocale)))return rt[t.parentLocale]||(rt[t.parentLocale]=[]),rt[t.parentLocale].push({name:e,config:t}),null;s=n._config}return it[e]=new x(b(s,t)),rt[e]&&rt[e].forEach(function(e){ht(e.name,e.config)}),lt(e),it[e]}function dt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return nt;if(!o(e)){if(t=ut(e))return t;e=[e]}return ot(e)}function ct(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[ve]<0||11<n[ve]?ve:n[ke]<1||n[ke]>xe(n[pe],n[ve])?ke:n[Me]<0||24<n[Me]||24===n[Me]&&(0!==n[De]||0!==n[Se]||0!==n[Ye])?Me:n[De]<0||59<n[De]?De:n[Se]<0||59<n[Se]?Se:n[Ye]<0||999<n[Ye]?Ye:-1,y(e)._overflowDayOfYear&&(t<pe||ke<t)&&(t=ke),y(e)._overflowWeeks&&-1===t&&(t=Oe),y(e)._overflowWeekday&&-1===t&&(t=be),y(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],gt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,pt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kt(e){var t,n,s,i,r,a,o=e._i,u=ft.exec(o)||mt.exec(o);if(u){for(y(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(u[1])){i=yt[t][0],s=!1!==yt[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=gt.length;t<n;t++)if(gt[t][1].exec(u[3])){r=(u[2]||" ")+gt[t][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&null!=r)return void(e._isValid=!1);if(u[4]){if(!_t.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),Ot(e)}else e._isValid=!1}function Mt(e,t,n,s,i,r){var a=[function(e){var t=parseInt(e,10);{if(t<=49)return 2e3+t;if(t<=999)return 1900+t}return t}(e),Ne.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&a.push(parseInt(r,10)),a}function Dt(e){var t,n,s,i,r=pt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(r){if(t=Mt(r[4],r[3],r[2],r[5],r[6],r[7]),n=r[1],s=t,i=e,n&&ze.indexOf(n)!==new Date(s[0],s[1],s[2]).getDay()&&(y(i).weekdayMismatch=!0,!void(i._isValid=!1)))return;e._a=t,e._tzm=function(e,t,n){if(e)return vt[e];if(t)return 0;var s=parseInt(n,10),i=s%100;return 60*((s-i)/100)+i}(r[8],r[9],r[10]),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function St(e,t,n){return null!=e?e:null!=t?t:n}function Yt(e){var t,n,s,i,r,a,o,u=[];if(!e._d){for(a=e,o=new Date(f.now()),s=a._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()],e._w&&null==e._a[ke]&&null==e._a[ve]&&function(e){var t,n,s,i,r,a,o,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,a=4,n=St(t.GG,e._a[pe],Ae(Tt(),1,4).year),s=St(t.W,1),((i=St(t.E,1))<1||7<i)&&(u=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,l=Ae(Tt(),r,a),n=St(t.gg,e._a[pe],l.year),s=St(t.w,l.week),null!=t.d?((i=t.d)<0||6<i)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||6<t.e)&&(u=!0)):i=r);s<1||s>je(n,r,a)?y(e)._overflowWeeks=!0:null!=u?y(e)._overflowWeekday=!0:(o=Ee(n,s,i,r,a),e._a[pe]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(r=St(e._a[pe],s[pe]),(e._dayOfYear>Fe(r)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=Ve(r,0,e._dayOfYear),e._a[ve]=n.getUTCMonth(),e._a[ke]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=u[t]=s[t];for(;t<7;t++)e._a[t]=u[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Me]&&0===e._a[De]&&0===e._a[Se]&&0===e._a[Ye]&&(e._nextDay=!0,e._a[Me]=0),e._d=(e._useUTC?Ve:function(e,t,n,s,i,r,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}).apply(null,u),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Me]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(y(e).weekdayMismatch=!0)}}function Ot(e){if(e._f!==f.ISO_8601)if(e._f!==f.RFC_2822){e._a=[],y(e).empty=!0;for(var t,n,s,i,r,a,o,u=""+e._i,l=u.length,h=0,d=H(e._f,e._locale).match(N)||[],c=0;c<d.length;c++)n=d[c],(t=(u.match(fe(n,e))||[])[0])&&(0<(s=u.substr(0,u.indexOf(t))).length&&y(e).unusedInput.push(s),u=u.slice(u.indexOf(t)+t.length),h+=t.length),W[n]?(t?y(e).empty=!1:y(e).unusedTokens.push(n),r=n,o=e,null!=(a=t)&&m(_e,r)&&_e[r](a,o._a,o,r)):e._strict&&!t&&y(e).unusedTokens.push(n);y(e).charsLeftOver=l-h,0<u.length&&y(e).unusedInput.push(u),e._a[Me]<=12&&!0===y(e).bigHour&&0<e._a[Me]&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[Me]=function(e,t,n){var s;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):(null!=e.isPM&&((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0)),t)}(e._locale,e._a[Me],e._meridiem),null!==(i=y(e).era)&&(e._a[pe]=e._locale.erasConvertYear(i,e._a[pe])),Yt(e),ct(e)}else Dt(e);else kt(e)}function bt(e){var t,n,s=e._i,i=e._f;return e._locale=e._locale||dt(e._l),null===s||void 0===i&&""===s?w({nullInput:!0}):("string"==typeof s&&(e._i=s=e._locale.preparse(s)),M(s)?new k(ct(s)):(a(s)?e._d=s:o(i)?function(e){var t,n,s,i,r,a,o=!1;if(0===e._f.length)return y(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)r=0,a=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ot(t),g(t)&&(a=!0),r+=y(t).charsLeftOver,r+=10*y(t).unusedTokens.length,y(t).score=r,o?r<s&&(s=r,n=t):(null==s||r<s||a)&&(s=r,n=t,a&&(o=!0));c(e,n||t)}(e):i?Ot(e):r(n=(t=e)._i)?t._d=new Date(f.now()):a(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=wt.exec(e._i);null===t?(kt(e),!1===e._isValid&&(delete e._isValid,Dt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:f.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):o(n)?(t._a=d(n.slice(0),function(e){return parseInt(e,10)}),Yt(t)):u(n)?function(e){var t,n;e._d||(n=void 0===(t=G(e._i)).day?t.date:t.day,e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Yt(e))}(t):h(n)?t._d=new Date(n):f.createFromInputFallback(t),g(e)||(e._d=null),e))}function xt(e,t,n,s,i){var r,a={};return!0!==t&&!1!==t||(s=t,t=void 0),!0!==n&&!1!==n||(s=n,n=void 0),(u(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=s,(r=new k(ct(bt(a))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function Tt(e,t,n,s){return xt(e,t,n,s,!1)}f.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};var Nt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:w()}),Pt=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:w()});function Rt(e,t){var n,s;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}var Wt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ct(e){var t=G(e),n=t.year||0,s=t.quarter||0,i=t.month||0,r=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,h=t.millisecond||0;this._isValid=function(e){var t,n,s=!1;for(t in e)if(m(e,t)&&(-1===we.call(Wt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Wt.length;++n)if(e[Wt[n]]){if(s)return!1;parseFloat(e[Wt[n]])!==Z(e[Wt[n]])&&(s=!0)}return!0}(t),this._milliseconds=+h+1e3*l+6e4*u+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*s+12*n,this._data={},this._locale=dt(),this._bubble()}function Ut(e){return e instanceof Ct}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){C(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+T(~~(e/60),2)+n+T(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),ce("Z",he),ce("ZZ",he),ye(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Vt(he,e)});var Lt=/([\+\-]|\d\d)/gi;function Vt(e,t){var n,s,i=(t||"").match(e);return null===i?null:0===(s=60*(n=((i[i.length-1]||[])+"").match(Lt)||["-",0,0])[1]+Z(n[2]))?0:"+"===n[0]?s:-s}function Gt(e,t){var n,s;return t._isUTC?(n=t.clone(),s=(M(e)||a(e)?e.valueOf():Tt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),f.updateOffset(n,!1),n):Tt(e).local()}function Et(e){return-Math.round(e._d.getTimezoneOffset())}function At(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}f.updateOffset=function(){};var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,It=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Zt(e,t){var n,s,i,r=e,a=null;return Ut(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(a=jt.exec(e))?(n="-"===a[1]?-1:1,r={y:0,d:Z(a[ke])*n,h:Z(a[Me])*n,m:Z(a[De])*n,s:Z(a[Se])*n,ms:Z(Ht(1e3*a[Ye]))*n}):(a=It.exec(e))?(n="-"===a[1]?-1:1,r={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(i=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Gt(t,e),e.isBefore(t)?n=$t(e,t):((n=$t(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Tt(r.from),Tt(r.to)),(r={}).ms=i.milliseconds,r.M=i.months),s=new Ct(r),Ut(e)&&m(e,"_locale")&&(s._locale=e._locale),Ut(e)&&m(e,"_isValid")&&(s._isValid=e._isValid),s}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function $t(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=t-e.clone().add(n.months,"M"),n}function qt(s,i){return function(e,t){var n;return null===t||isNaN(+t)||(Y(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Bt(this,Zt(e,t),s),this}}function Bt(e,t,n,s){var i=t._milliseconds,r=Ht(t._days),a=Ht(t._months);e.isValid()&&(s=null==s||s,a&&Ce(e,$(e,"Month")+a*n),r&&q(e,"Date",$(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),s&&f.updateOffset(e,r||a))}Zt.fn=Ct.prototype,Zt.invalid=function(){return Zt(NaN)};var Jt=qt(1,"add"),Qt=qt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function Kt(e){return M(e)||a(e)||Xt(e)||h(e)||function(t){var e=o(t),n=!1;e&&(n=0===t.filter(function(e){return!h(e)&&Xt(t)}).length);return e&&n}(e)||function(e){var t,n,s=u(e)&&!l(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<r.length;t+=1)n=r[t],i=i||m(e,n);return s&&i}(e)||null==e}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months"),i=t-s<0?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(1+n,"months")-s);return-(n+i)||0}function tn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=dt(e))&&(this._locale=t),this)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var nn=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function sn(){return this._locale}var rn=126227808e5;function an(e,t){return(e%t+t)%t}function on(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function un(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function hn(){for(var e=[],t=[],n=[],s=[],i=this.eras(),r=0,a=i.length;r<a;++r)t.push(me(i[r].name)),e.push(me(i[r].abbr)),n.push(me(i[r].narrow)),s.push(me(i[r].name)),s.push(me(i[r].abbr)),s.push(me(i[r].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function dn(e,t){C(0,[e,e.length],0,t)}function cn(e,t,n,s,i){var r;return null==e?Ae(this,s,i).year:((r=je(e,s,i))<t&&(t=r),function(e,t,n,s,i){var r=Ee(e,t,n,s,i),a=Ve(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,s,i))}C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),ce("N",ln),ce("NN",ln),ce("NNN",ln),ce("NNNN",function(e,t){return t.erasNameRegex(e)}),ce("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ye(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,s){var i=n._locale.erasParse(e,s,n._strict);i?y(n).era=i:y(n).invalidEra=e}),ce("y",oe),ce("yy",oe),ce("yyy",oe),ce("yyyy",oe),ce("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),ye(["y","yy","yyy","yyyy"],pe),ye(["yo"],function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[pe]=n._locale.eraYearOrdinalParse(e,i):t[pe]=parseInt(e,10)}),C(0,["gg",2],0,function(){return this.weekYear()%100}),C(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),A("weekYear",1),A("isoWeekYear",1),ce("G",ue),ce("g",ue),ce("GG",te,Q),ce("gg",te,Q),ce("GGGG",re,K),ce("gggg",re,K),ce("GGGGG",ae,ee),ce("ggggg",ae,ee),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=Z(e)}),ge(["gg","GG"],function(e,t,n,s){t[s]=f.parseTwoDigitYear(e)}),C("Q",0,"Qo","quarter"),L("quarter","Q"),A("quarter",7),ce("Q",J),ye("Q",function(e,t){t[ve]=3*(Z(e)-1)}),C("D",["DD",2],"Do","date"),L("date","D"),A("date",9),ce("D",te),ce("DD",te,Q),ce("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ye(["D","DD"],ke),ye("Do",function(e,t){t[ke]=Z(e.match(te)[0])});var fn=z("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),A("dayOfYear",4),ce("DDD",ie),ce("DDDD",X),ye(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Z(e)}),C("m",["mm",2],0,"minute"),L("minute","m"),A("minute",14),ce("m",te),ce("mm",te,Q),ye(["m","mm"],De);var mn=z("Minutes",!1);C("s",["ss",2],0,"second"),L("second","s"),A("second",15),ce("s",te),ce("ss",te,Q),ye(["s","ss"],Se);var _n,yn,gn=z("Seconds",!1);for(C("S",0,0,function(){return~~(this.millisecond()/100)}),C(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,function(){return 10*this.millisecond()}),C(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),C(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),C(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),C(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),C(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),L("millisecond","ms"),A("millisecond",16),ce("S",ie,J),ce("SS",ie,Q),ce("SSS",ie,X),_n="SSSS";_n.length<=9;_n+="S")ce(_n,oe);function wn(e,t){t[Ye]=Z(1e3*("0."+e))}for(_n="S";_n.length<=9;_n+="S")ye(_n,wn);yn=z("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var pn=k.prototype;function vn(e){return e}pn.add=Jt,pn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=u(e)&&!l(e),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<s.length;i+=1)n=n||m(e,s[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Tt(),s=Gt(n,this).startOf("day"),i=f.calendarFormat(this,s)||"sameElse",r=t&&(O(t[i])?t[i].call(this,n):t[i]);return this.format(r||this.localeData().calendar(i,this,Tt(n)))},pn.clone=function(){return new k(this)},pn.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Gt(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=V(t)){case"year":r=en(this,s)/12;break;case"month":r=en(this,s);break;case"quarter":r=en(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:I(r)},pn.endOf=function(e){var t,n;if(void 0===(e=V(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?un:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-an(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-an(t,1e3)-1;break}return this._d.setTime(t),f.updateOffset(this,!0),this},pn.format=function(e){e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)},pn.from=function(e,t){return this.isValid()&&(M(e)&&e.isValid()||Tt(e).isValid())?Zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},pn.fromNow=function(e){return this.from(Tt(),e)},pn.to=function(e,t){return this.isValid()&&(M(e)&&e.isValid()||Tt(e).isValid())?Zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},pn.toNow=function(e){return this.to(Tt(),e)},pn.get=function(e){return O(this[e=V(e)])?this[e]():this},pn.invalidAt=function(){return y(this).overflow},pn.isAfter=function(e,t){var n=M(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},pn.isBefore=function(e,t){var n=M(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},pn.isBetween=function(e,t,n,s){var i=M(e)?e:Tt(e),r=M(t)?t:Tt(t);return!!(this.isValid()&&i.isValid()&&r.isValid())&&(("("===(s=s||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===s[1]?this.isBefore(r,n):!this.isAfter(r,n)))},pn.isSame=function(e,t){var n,s=M(e)?e:Tt(e);return!(!this.isValid()||!s.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},pn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},pn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},pn.isValid=function(){return g(this)},pn.lang=nn,pn.locale=tn,pn.localeData=sn,pn.max=Pt,pn.min=Nt,pn.parsingFlags=function(){return c({},y(this))},pn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)m(e,t)&&n.push({unit:t,priority:E[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=G(e)),s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit]);else if(O(this[e=V(e)]))return this[e](t);return this},pn.startOf=function(e){var t,n;if(void 0===(e=V(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?un:on,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=an(t,6e4);break;case"second":t=this._d.valueOf(),t-=an(t,1e3);break}return this._d.setTime(t),f.updateOffset(this,!0),this},pn.subtract=Qt,pn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},pn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},pn.toDate=function(){return new Date(this.valueOf())},pn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||9999<n.year()?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},pn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,s="moment",i="";return this.isLocal()||(s=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+s+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(pn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),pn.toJSON=function(){return this.isValid()?this.toISOString():null},pn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},pn.unix=function(){return Math.floor(this.valueOf()/1e3)},pn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},pn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},pn.eraName=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},pn.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},pn.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},pn.eraYear=function(){for(var e,t,n=this.localeData().eras(),s=0,i=n.length;s<i;++s)if(e=n[s].since<=n[s].until?1:-1,t=this.clone().startOf("day").valueOf(),n[s].since<=t&&t<=n[s].until||n[s].until<=t&&t<=n[s].since)return(this.year()-f(n[s].since).year())*e+n[s].offset;return this.year()},pn.year=Le,pn.isLeapYear=function(){return j(this.year())},pn.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},pn.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},pn.quarter=pn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},pn.month=Ue,pn.daysInMonth=function(){return xe(this.year(),this.month())},pn.week=pn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},pn.isoWeek=pn.isoWeeks=function(e){var t=Ae(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},pn.weeksInYear=function(){var e=this.localeData()._week;return je(this.year(),e.dow,e.doy)},pn.weeksInWeekYear=function(){var e=this.localeData()._week;return je(this.weekYear(),e.dow,e.doy)},pn.isoWeeksInYear=function(){return je(this.year(),1,4)},pn.isoWeeksInISOWeekYear=function(){return je(this.isoWeekYear(),1,4)},pn.date=fn,pn.day=pn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,s=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-s,"d")):s},pn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},pn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t,n,s=(t=e,n=this.localeData(),"string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?s:s-7)},pn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},pn.hour=pn.hours=tt,pn.minute=pn.minutes=mn,pn.second=pn.seconds=gn,pn.millisecond=pn.milliseconds=yn,pn.utcOffset=function(e,t,n){var s,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Et(this);if("string"==typeof e){if(null===(e=Vt(he,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(s=Et(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),i!==e&&(!t||this._changeInProgress?Bt(this,Zt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this},pn.utc=function(e){return this.utcOffset(0,e)},pn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Et(this),"m")),this},pn.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Vt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},pn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},pn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},pn.isLocal=function(){return!!this.isValid()&&!this._isUTC},pn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},pn.isUtc=At,pn.isUTC=At,pn.zoneAbbr=function(){return this._isUTC?"UTC":""},pn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},pn.dates=n("dates accessor is deprecated. Use date instead.",fn),pn.months=n("months accessor is deprecated. Use month instead",Ue),pn.years=n("years accessor is deprecated. Use year instead",Le),pn.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),pn.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=bt(t))._a?(e=(t._isUTC?_:Tt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,a=0;a<s;a++)(n&&e[a]!==t[a]||!n&&Z(e[a])!==Z(t[a]))&&r++;return r+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});var kn=x.prototype;function Mn(e,t,n,s){var i=dt(),r=_().set(s,t);return i[n](r,e)}function Dn(e,t,n){if(h(e)&&(t=e,e=void 0),e=e||"",null!=t)return Mn(e,t,n,"month");for(var s=[],i=0;i<12;i++)s[i]=Mn(e,i,n,"month");return s}function Sn(e,t,n,s){t=("boolean"==typeof e?h(t)&&(n=t,t=void 0):(t=e,e=!1,h(n=t)&&(n=t,t=void 0)),t||"");var i,r=dt(),a=e?r._week.dow:0,o=[];if(null!=n)return Mn(t,(n+a)%7,s,"day");for(i=0;i<7;i++)o[i]=Mn(t,(i+a)%7,s,"day");return o}kn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return O(s)?s.call(t,n):s},kn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},kn.invalidDate=function(){return this._invalidDate},kn.ordinal=function(e){return this._ordinal.replace("%d",e)},kn.preparse=vn,kn.postformat=vn,kn.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return O(i)?i(e,t,n,s):i.replace(/%d/i,e)},kn.pastFuture=function(e,t){var n=this._relativeTime[0<e?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)},kn.set=function(e){var t,n;for(n in e)m(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},kn.eras=function(e,t){for(var n,s=this._eras||dt("en")._eras,i=0,r=s.length;i<r;++i){switch(typeof s[i].since){case"string":n=f(s[i].since).startOf("day"),s[i].since=n.valueOf();break}switch(typeof s[i].until){case"undefined":s[i].until=1/0;break;case"string":n=f(s[i].until).startOf("day").valueOf(),s[i].until=n.valueOf();break}}return s},kn.erasParse=function(e,t,n){var s,i,r,a,o,u=this.eras();for(e=e.toUpperCase(),s=0,i=u.length;s<i;++s)if(r=u[s].name.toUpperCase(),a=u[s].abbr.toUpperCase(),o=u[s].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[s];break;case"NNNN":if(r===e)return u[s];break;case"NNNNN":if(o===e)return u[s];break}else if(0<=[r,a,o].indexOf(e))return u[s]},kn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*n},kn.erasAbbrRegex=function(e){return m(this,"_erasAbbrRegex")||hn.call(this),e?this._erasAbbrRegex:this._erasRegex},kn.erasNameRegex=function(e){return m(this,"_erasNameRegex")||hn.call(this),e?this._erasNameRegex:this._erasRegex},kn.erasNarrowRegex=function(e){return m(this,"_erasNarrowRegex")||hn.call(this),e?this._erasNarrowRegex:this._erasRegex},kn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Pe).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},kn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Pe.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},kn.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=_([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=we.call(this._shortMonthsParse,a))?i:null:-1!==(i=we.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=we.call(this._shortMonthsParse,a))||-1!==(i=we.call(this._longMonthsParse,a))?i:null:-1!==(i=we.call(this._longMonthsParse,a))||-1!==(i=we.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=_([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},kn.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||He.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=We),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},kn.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||He.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},kn.week=function(e){return Ae(e,this._week.dow,this._week.doy).week},kn.firstDayOfYear=function(){return this._week.doy},kn.firstDayOfWeek=function(){return this._week.dow},kn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ie(n,this._week.dow):e?n[e.day()]:n},kn.weekdaysMin=function(e){return!0===e?Ie(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},kn.weekdaysShort=function(e){return!0===e?Ie(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},kn.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=_([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=we.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=we.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=we.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=we.call(this._weekdaysParse,a))||-1!==(i=we.call(this._shortWeekdaysParse,a))||-1!==(i=we.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=we.call(this._shortWeekdaysParse,a))||-1!==(i=we.call(this._weekdaysParse,a))||-1!==(i=we.call(this._minWeekdaysParse,a))?i:null:-1!==(i=we.call(this._minWeekdaysParse,a))||-1!==(i=we.call(this._weekdaysParse,a))||-1!==(i=we.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=_([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},kn.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},kn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Be),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},kn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},kn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},kn.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},lt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Z(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=n("moment.lang is deprecated. Use moment.locale instead.",lt),f.langData=n("moment.langData is deprecated. Use moment.localeData instead.",dt);var Yn=Math.abs;function On(e,t,n,s){var i=Zt(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function bn(e){return e<0?Math.floor(e):Math.ceil(e)}function xn(e){return 4800*e/146097}function Tn(e){return 146097*e/4800}function Nn(e){return function(){return this.as(e)}}var Pn=Nn("ms"),Rn=Nn("s"),Wn=Nn("m"),Cn=Nn("h"),Un=Nn("d"),Hn=Nn("w"),Fn=Nn("M"),Ln=Nn("Q"),Vn=Nn("y");function Gn(e){return function(){return this.isValid()?this._data[e]:NaN}}var En=Gn("milliseconds"),An=Gn("seconds"),jn=Gn("minutes"),In=Gn("hours"),Zn=Gn("days"),zn=Gn("months"),$n=Gn("years");var qn=Math.round,Bn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Jn(e,t,n,s){var i=Zt(e).abs(),r=qn(i.as("s")),a=qn(i.as("m")),o=qn(i.as("h")),u=qn(i.as("d")),l=qn(i.as("M")),h=qn(i.as("w")),d=qn(i.as("y")),c=(r<=n.ss?["s",r]:r<n.s&&["ss",r])||a<=1&&["m"]||a<n.m&&["mm",a]||o<=1&&["h"]||o<n.h&&["hh",o]||u<=1&&["d"]||u<n.d&&["dd",u];return null!=n.w&&(c=c||h<=1&&["w"]||h<n.w&&["ww",h]),(c=c||l<=1&&["M"]||l<n.M&&["MM",l]||d<=1&&["y"]||["yy",d])[2]=t,c[3]=0<+e,c[4]=s,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,c)}var Qn=Math.abs;function Xn(e){return(0<e)-(e<0)||+e}function Kn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,i,r,a,o,u=Qn(this._milliseconds)/1e3,l=Qn(this._days),h=Qn(this._months),d=this.asSeconds();return d?(e=I(u/60),t=I(e/60),u%=60,e%=60,n=I(h/12),h%=12,s=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",r=Xn(this._months)!==Xn(d)?"-":"",a=Xn(this._days)!==Xn(d)?"-":"",o=Xn(this._milliseconds)!==Xn(d)?"-":"",i+"P"+(n?r+n+"Y":"")+(h?r+h+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(u?o+s+"S":"")):"P0D"}var es=Ct.prototype;return es.isValid=function(){return this._isValid},es.abs=function(){var e=this._data;return this._milliseconds=Yn(this._milliseconds),this._days=Yn(this._days),this._months=Yn(this._months),e.milliseconds=Yn(e.milliseconds),e.seconds=Yn(e.seconds),e.minutes=Yn(e.minutes),e.hours=Yn(e.hours),e.months=Yn(e.months),e.years=Yn(e.years),this},es.add=function(e,t){return On(this,e,t,1)},es.subtract=function(e,t){return On(this,e,t,-1)},es.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=V(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+xn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Tn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},es.asMilliseconds=Pn,es.asSeconds=Rn,es.asMinutes=Wn,es.asHours=Cn,es.asDays=Un,es.asWeeks=Hn,es.asMonths=Fn,es.asQuarters=Ln,es.asYears=Vn,es.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Z(this._months/12):NaN},es._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return 0<=r&&0<=a&&0<=o||r<=0&&a<=0&&o<=0||(r+=864e5*bn(Tn(o)+a),o=a=0),u.milliseconds=r%1e3,e=I(r/1e3),u.seconds=e%60,t=I(e/60),u.minutes=t%60,n=I(t/60),u.hours=n%24,a+=I(n/24),o+=i=I(xn(a)),a-=bn(Tn(i)),s=I(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},es.clone=function(){return Zt(this)},es.get=function(e){return e=V(e),this.isValid()?this[e+"s"]():NaN},es.milliseconds=En,es.seconds=An,es.minutes=jn,es.hours=In,es.days=Zn,es.weeks=function(){return I(this.days()/7)},es.months=zn,es.years=$n,es.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,s,i=!1,r=Bn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},Bn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),n=this.localeData(),s=Jn(this,!i,r,n),i&&(s=n.pastFuture(+this,s)),n.postformat(s)},es.toISOString=Kn,es.toString=Kn,es.toJSON=Kn,es.locale=tn,es.localeData=sn,es.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kn),es.lang=nn,C("X",0,0,"unix"),C("x",0,0,"valueOf"),ce("x",ue),ce("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ye("x",function(e,t,n){n._d=new Date(Z(e))}),f.version="2.29.1",e=Tt,f.fn=pn,f.min=function(){return Rt("isBefore",[].slice.call(arguments,0))},f.max=function(){return Rt("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=_,f.unix=function(e){return Tt(1e3*e)},f.months=function(e,t){return Dn(e,t,"months")},f.isDate=a,f.locale=lt,f.invalid=w,f.duration=Zt,f.isMoment=M,f.weekdays=function(e,t,n){return Sn(e,t,n,"weekdays")},f.parseZone=function(){return Tt.apply(null,arguments).parseZone()},f.localeData=dt,f.isDuration=Ut,f.monthsShort=function(e,t){return Dn(e,t,"monthsShort")},f.weekdaysMin=function(e,t,n){return Sn(e,t,n,"weekdaysMin")},f.defineLocale=ht,f.updateLocale=function(e,t){var n,s,i;return null!=t?(i=st,null!=it[e]&&null!=it[e].parentLocale?it[e].set(b(it[e]._config,t)):(null!=(s=ut(e))&&(i=s._config),t=b(i,t),null==s&&(t.abbr=e),(n=new x(t)).parentLocale=it[e],it[e]=n),lt(e)):null!=it[e]&&(null!=it[e].parentLocale?(it[e]=it[e].parentLocale,e===lt()&<(e)):null!=it[e]&&delete it[e]),it[e]},f.locales=function(){return s(it)},f.weekdaysShort=function(e,t,n){return Sn(e,t,n,"weekdaysShort")},f.normalizeUnits=V,f.relativeTimeRounding=function(e){return void 0===e?qn:"function"==typeof e&&(qn=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==Bn[e]&&(void 0===t?Bn[e]:(Bn[e]=t,"s"===e&&(Bn.ss=t-1),!0))},f.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},f.prototype=pn,f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},f});
|
|
assets/js/wpdatatables/admin/constructor/wdt.simpleTable.js
CHANGED
@@ -47,8 +47,8 @@
|
|
47 |
{
|
48 |
key: 'alignment:left',
|
49 |
name: 'Left',
|
50 |
-
callback: function(key, selection, clickEvent) {
|
51 |
-
setTimeout(function() {
|
52 |
cellActionButtons[5].click()
|
53 |
}, 0);
|
54 |
}
|
@@ -56,8 +56,8 @@
|
|
56 |
{
|
57 |
key: 'alignment:center',
|
58 |
name: 'Center',
|
59 |
-
callback: function(key, selection, clickEvent) {
|
60 |
-
setTimeout(function() {
|
61 |
cellActionButtons[6].click()
|
62 |
}, 0);
|
63 |
}
|
@@ -65,8 +65,8 @@
|
|
65 |
{
|
66 |
key: 'alignment:right',
|
67 |
name: 'Right',
|
68 |
-
callback: function(key, selection, clickEvent) {
|
69 |
-
setTimeout(function() {
|
70 |
cellActionButtons[7].click()
|
71 |
}, 0);
|
72 |
}
|
@@ -74,8 +74,8 @@
|
|
74 |
{
|
75 |
key: 'alignment:justify',
|
76 |
name: 'Justify',
|
77 |
-
callback: function(key, selection, clickEvent) {
|
78 |
-
setTimeout(function() {
|
79 |
cellActionButtons[8].click()
|
80 |
}, 0);
|
81 |
}
|
@@ -86,8 +86,8 @@
|
|
86 |
{
|
87 |
key: 'alignment:top',
|
88 |
name: 'Top',
|
89 |
-
callback: function(key, selection, clickEvent) {
|
90 |
-
setTimeout(function() {
|
91 |
cellActionButtons[10].click()
|
92 |
}, 0);
|
93 |
}
|
@@ -95,8 +95,8 @@
|
|
95 |
{
|
96 |
key: 'alignment:middle',
|
97 |
name: 'Middle',
|
98 |
-
callback: function(key, selection, clickEvent) {
|
99 |
-
setTimeout(function() {
|
100 |
cellActionButtons[9].click()
|
101 |
}, 0);
|
102 |
}
|
@@ -104,8 +104,8 @@
|
|
104 |
{
|
105 |
key: 'alignment:bottom',
|
106 |
name: 'Bottom',
|
107 |
-
callback: function(key, selection, clickEvent) {
|
108 |
-
setTimeout(function() {
|
109 |
cellActionButtons[11].click()
|
110 |
}, 0);
|
111 |
}
|
@@ -122,8 +122,8 @@
|
|
122 |
{
|
123 |
key: 'wrapping:wrap',
|
124 |
name: 'Wrap',
|
125 |
-
callback: function(key, selection, clickEvent) {
|
126 |
-
setTimeout(function() {
|
127 |
cellActionButtons[12].click()
|
128 |
}, 0);
|
129 |
}
|
@@ -131,8 +131,8 @@
|
|
131 |
{
|
132 |
key: 'wrapping:overflow',
|
133 |
name: 'Overflow',
|
134 |
-
callback: function(key, selection, clickEvent) {
|
135 |
-
setTimeout(function() {
|
136 |
cellActionButtons[13].click()
|
137 |
}, 0);
|
138 |
}
|
@@ -140,8 +140,8 @@
|
|
140 |
{
|
141 |
key: 'wrapping:clip',
|
142 |
name: 'Clip',
|
143 |
-
callback: function(key, selection, clickEvent) {
|
144 |
-
setTimeout(function() {
|
145 |
cellActionButtons[14].click()
|
146 |
}, 0);
|
147 |
}
|
@@ -162,8 +162,8 @@
|
|
162 |
{
|
163 |
key: 'add:link',
|
164 |
name: 'Link',
|
165 |
-
callback: function(key, selection, clickEvent) {
|
166 |
-
setTimeout(function() {
|
167 |
$('#wpdt-link').click()
|
168 |
}, 0);
|
169 |
}
|
@@ -171,8 +171,8 @@
|
|
171 |
{
|
172 |
key: 'add:media',
|
173 |
name: 'Media',
|
174 |
-
callback: function(key, selection, clickEvent) {
|
175 |
-
setTimeout(function() {
|
176 |
$('#wpdt-media').click()
|
177 |
}, 0);
|
178 |
}
|
@@ -180,8 +180,8 @@
|
|
180 |
{
|
181 |
key: 'add:html',
|
182 |
name: 'HTML code',
|
183 |
-
callback: function(key, selection, clickEvent) {
|
184 |
-
setTimeout(function() {
|
185 |
$('#wpdt-html').click()
|
186 |
}, 0);
|
187 |
}
|
@@ -189,8 +189,8 @@
|
|
189 |
{
|
190 |
key: 'add:shortcode',
|
191 |
name: 'Shortcode',
|
192 |
-
callback: function(key, selection, clickEvent) {
|
193 |
-
setTimeout(function() {
|
194 |
$('#wpdt-do-shortcode').click()
|
195 |
}, 0);
|
196 |
}
|
@@ -198,8 +198,8 @@
|
|
198 |
{
|
199 |
key: 'add:star',
|
200 |
name: 'Star rating',
|
201 |
-
callback: function(key, selection, clickEvent) {
|
202 |
-
setTimeout(function() {
|
203 |
$('#wpdt-star-rating').click()
|
204 |
}, 0);
|
205 |
}
|
@@ -210,8 +210,8 @@
|
|
210 |
'separator7': Handsontable.plugins.ContextMenu.SEPARATOR,
|
211 |
'clear': {
|
212 |
name: 'Clear table data',
|
213 |
-
callback: function(key, selection, clickEvent) {
|
214 |
-
setTimeout(function() {
|
215 |
$('#wpdt-clear').click()
|
216 |
}, 0);
|
217 |
}
|
@@ -250,7 +250,7 @@
|
|
250 |
type: 'POST',
|
251 |
data: {
|
252 |
action: 'wpdatatables_get_handsontable_data',
|
253 |
-
tableID: wpdatatable_config.id,
|
254 |
wdtNonce: $('#wdtNonce').val()
|
255 |
},
|
256 |
success: function (result) {
|
@@ -430,9 +430,9 @@
|
|
430 |
$('#wdt-error-modal').modal('show');
|
431 |
$('.wdt-preload-layer').animateFadeOut();
|
432 |
} else {
|
433 |
-
if (data.reload){
|
434 |
location.reload()
|
435 |
-
}else {
|
436 |
$('.wdt-preload-layer').animateFadeOut();
|
437 |
var heightHT = jQuery('.ht_master .wtHider');
|
438 |
wpdtEditor.updateSettings({
|
@@ -520,6 +520,8 @@
|
|
520 |
mainValignButtonIcon = $('#wpdt-valign-button i:first-child'),
|
521 |
mainWrapButtonIcon = $('#wpdt-wrap-button i:first-child'),
|
522 |
textColorButton = $('#wpdt-text-color'),
|
|
|
|
|
523 |
linkButton = $('#wpdt-link'),
|
524 |
mediaButton = $('#wpdt-media'),
|
525 |
htmlButton = $('#wpdt-html'),
|
@@ -561,6 +563,28 @@
|
|
561 |
bgColorButton.removeAttr('style');
|
562 |
bgColorButton.css("border-bottom-color", "#FFFFFF");
|
563 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
564 |
// Update Horizontal right align button
|
565 |
if (cellClasses.indexOf('wpdt-align-right') !== -1) {
|
566 |
$('#wpdt-align-right').addClass('selected');
|
@@ -728,9 +752,10 @@
|
|
728 |
}
|
729 |
|
730 |
/**
|
731 |
-
* Add dynamic
|
732 |
*/
|
733 |
-
function addDynamicStyle(selectedCells,
|
|
|
734 |
for (var index = 0; index < selectedCells.length; index += 1) {
|
735 |
var item = selectedCells[index],
|
736 |
startRow = Math.min(item[0], item[2]),
|
@@ -745,9 +770,18 @@
|
|
745 |
cell.className = typeof cell.className == 'string' ? cell.className : '';
|
746 |
|
747 |
if (cell.className.indexOf(partClass) !== -1) {
|
748 |
-
|
|
|
|
|
|
|
|
|
|
|
749 |
} else {
|
750 |
-
|
|
|
|
|
|
|
|
|
751 |
}
|
752 |
wpdtEditor.setCellMeta(rowIndex, columnIndex, 'className', newClassName.trimStart());
|
753 |
}
|
@@ -755,9 +789,14 @@
|
|
755 |
}
|
756 |
wpdtEditor.render();
|
757 |
if (partClass === 'wpdt-tc-') {
|
758 |
-
addStylesheetRules('.' + partClass +
|
759 |
-
} else {
|
760 |
-
addStylesheetRules('.' + partClass +
|
|
|
|
|
|
|
|
|
|
|
761 |
}
|
762 |
}
|
763 |
|
@@ -1204,6 +1243,19 @@
|
|
1204 |
wdtApplyColorPickerHT(selectedCells, target)
|
1205 |
});
|
1206 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1207 |
/**
|
1208 |
* Insert media in cell
|
1209 |
*/
|
@@ -1416,7 +1468,7 @@
|
|
1416 |
editor.setContent($('#wpdt-tiny-mce').val());
|
1417 |
}
|
1418 |
},
|
1419 |
-
height
|
1420 |
menubar: false,
|
1421 |
forced_root_block: "div",
|
1422 |
forced_root_block_attrs: {
|
@@ -1610,16 +1662,16 @@
|
|
1610 |
isInt = Number.isInteger(rating);
|
1611 |
ratingEnd = rating % 1 === 0 ? rating : Math.floor(rating)
|
1612 |
for (var i = 0; i < maxValue; i++) {
|
1613 |
-
if (i < ratingEnd){
|
1614 |
starWrapper += '<span class="full rated"></span>';
|
1615 |
-
}else if (!isInt && i == ratingEnd) {
|
1616 |
starWrapper += '<span class="half half-reflect"></span>';
|
1617 |
-
}else {
|
1618 |
starWrapper += '<span class="full"></span>';
|
1619 |
}
|
1620 |
}
|
1621 |
starWrapper += '</div>';
|
1622 |
-
if (showNumber){
|
1623 |
starWrapper += '<div class="rateNum">' + rating + '/' + maxValue + '</div>'
|
1624 |
}
|
1625 |
|
@@ -1692,7 +1744,7 @@
|
|
1692 |
disableButtons();
|
1693 |
getWidthData();
|
1694 |
getHeightData();
|
1695 |
-
wpdtEditor.selectCell(0,0)
|
1696 |
});
|
1697 |
wpdtEditor.addHook('afterCreateCol', function (insertColumnIndex, amount, source) {
|
1698 |
disableButtons();
|
@@ -1717,7 +1769,7 @@
|
|
1717 |
wpdtEditor.allWidths.splice(insertColumnIndex + n, 0, wpdtEditor.allWidths[selectedColumnIndex]);
|
1718 |
}
|
1719 |
getHeightData();
|
1720 |
-
wpdtEditor.selectCell(0,0)
|
1721 |
});
|
1722 |
wpdtEditor.addHook('beforeRemoveRow', function (from, amount) {
|
1723 |
var merge = wpdtEditor.getPlugin('mergeCells').mergedCellsCollection.mergedCells,
|
@@ -1749,7 +1801,7 @@
|
|
1749 |
}
|
1750 |
}
|
1751 |
disableButtons();
|
1752 |
-
setTimeout(function() {
|
1753 |
let heightHT = $('.ht_master .wtHider');
|
1754 |
wpdtEditor.updateSettings({
|
1755 |
height: setHeightHT(heightHT)
|
@@ -1855,7 +1907,7 @@
|
|
1855 |
* Set wpdtEditor height after tabs switching
|
1856 |
*/
|
1857 |
$('.wdt-simple-table-settings .edit-table-settings-tab a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
|
1858 |
-
setTimeout(function() {
|
1859 |
let heightHT = $('.ht_master .wtHider');
|
1860 |
wpdtEditor.updateSettings({
|
1861 |
height: setHeightHT(heightHT)
|
@@ -1884,7 +1936,6 @@
|
|
1884 |
}
|
1885 |
});
|
1886 |
})
|
1887 |
-
|
1888 |
});
|
1889 |
|
1890 |
})(jQuery);
|
47 |
{
|
48 |
key: 'alignment:left',
|
49 |
name: 'Left',
|
50 |
+
callback: function (key, selection, clickEvent) {
|
51 |
+
setTimeout(function () {
|
52 |
cellActionButtons[5].click()
|
53 |
}, 0);
|
54 |
}
|
56 |
{
|
57 |
key: 'alignment:center',
|
58 |
name: 'Center',
|
59 |
+
callback: function (key, selection, clickEvent) {
|
60 |
+
setTimeout(function () {
|
61 |
cellActionButtons[6].click()
|
62 |
}, 0);
|
63 |
}
|
65 |
{
|
66 |
key: 'alignment:right',
|
67 |
name: 'Right',
|
68 |
+
callback: function (key, selection, clickEvent) {
|
69 |
+
setTimeout(function () {
|
70 |
cellActionButtons[7].click()
|
71 |
}, 0);
|
72 |
}
|
74 |
{
|
75 |
key: 'alignment:justify',
|
76 |
name: 'Justify',
|
77 |
+
callback: function (key, selection, clickEvent) {
|
78 |
+
setTimeout(function () {
|
79 |
cellActionButtons[8].click()
|
80 |
}, 0);
|
81 |
}
|
86 |
{
|
87 |
key: 'alignment:top',
|
88 |
name: 'Top',
|
89 |
+
callback: function (key, selection, clickEvent) {
|
90 |
+
setTimeout(function () {
|
91 |
cellActionButtons[10].click()
|
92 |
}, 0);
|
93 |
}
|
95 |
{
|
96 |
key: 'alignment:middle',
|
97 |
name: 'Middle',
|
98 |
+
callback: function (key, selection, clickEvent) {
|
99 |
+
setTimeout(function () {
|
100 |
cellActionButtons[9].click()
|
101 |
}, 0);
|
102 |
}
|
104 |
{
|
105 |
key: 'alignment:bottom',
|
106 |
name: 'Bottom',
|
107 |
+
callback: function (key, selection, clickEvent) {
|
108 |
+
setTimeout(function () {
|
109 |
cellActionButtons[11].click()
|
110 |
}, 0);
|
111 |
}
|
122 |
{
|
123 |
key: 'wrapping:wrap',
|
124 |
name: 'Wrap',
|
125 |
+
callback: function (key, selection, clickEvent) {
|
126 |
+
setTimeout(function () {
|
127 |
cellActionButtons[12].click()
|
128 |
}, 0);
|
129 |
}
|
131 |
{
|
132 |
key: 'wrapping:overflow',
|
133 |
name: 'Overflow',
|
134 |
+
callback: function (key, selection, clickEvent) {
|
135 |
+
setTimeout(function () {
|
136 |
cellActionButtons[13].click()
|
137 |
}, 0);
|
138 |
}
|
140 |
{
|
141 |
key: 'wrapping:clip',
|
142 |
name: 'Clip',
|
143 |
+
callback: function (key, selection, clickEvent) {
|
144 |
+
setTimeout(function () {
|
145 |
cellActionButtons[14].click()
|
146 |
}, 0);
|
147 |
}
|
162 |
{
|
163 |
key: 'add:link',
|
164 |
name: 'Link',
|
165 |
+
callback: function (key, selection, clickEvent) {
|
166 |
+
setTimeout(function () {
|
167 |
$('#wpdt-link').click()
|
168 |
}, 0);
|
169 |
}
|
171 |
{
|
172 |
key: 'add:media',
|
173 |
name: 'Media',
|
174 |
+
callback: function (key, selection, clickEvent) {
|
175 |
+
setTimeout(function () {
|
176 |
$('#wpdt-media').click()
|
177 |
}, 0);
|
178 |
}
|
180 |
{
|
181 |
key: 'add:html',
|
182 |
name: 'HTML code',
|
183 |
+
callback: function (key, selection, clickEvent) {
|
184 |
+
setTimeout(function () {
|
185 |
$('#wpdt-html').click()
|
186 |
}, 0);
|
187 |
}
|
189 |
{
|
190 |
key: 'add:shortcode',
|
191 |
name: 'Shortcode',
|
192 |
+
callback: function (key, selection, clickEvent) {
|
193 |
+
setTimeout(function () {
|
194 |
$('#wpdt-do-shortcode').click()
|
195 |
}, 0);
|
196 |
}
|
198 |
{
|
199 |
key: 'add:star',
|
200 |
name: 'Star rating',
|
201 |
+
callback: function (key, selection, clickEvent) {
|
202 |
+
setTimeout(function () {
|
203 |
$('#wpdt-star-rating').click()
|
204 |
}, 0);
|
205 |
}
|
210 |
'separator7': Handsontable.plugins.ContextMenu.SEPARATOR,
|
211 |
'clear': {
|
212 |
name: 'Clear table data',
|
213 |
+
callback: function (key, selection, clickEvent) {
|
214 |
+
setTimeout(function () {
|
215 |
$('#wpdt-clear').click()
|
216 |
}, 0);
|
217 |
}
|
250 |
type: 'POST',
|
251 |
data: {
|
252 |
action: 'wpdatatables_get_handsontable_data',
|
253 |
+
tableID: wpdatatable_config.id != null ? wpdatatable_config.id : $('#wpdt-table-editor').data('wpdt-id'),
|
254 |
wdtNonce: $('#wdtNonce').val()
|
255 |
},
|
256 |
success: function (result) {
|
430 |
$('#wdt-error-modal').modal('show');
|
431 |
$('.wdt-preload-layer').animateFadeOut();
|
432 |
} else {
|
433 |
+
if (data.reload) {
|
434 |
location.reload()
|
435 |
+
} else {
|
436 |
$('.wdt-preload-layer').animateFadeOut();
|
437 |
var heightHT = jQuery('.ht_master .wtHider');
|
438 |
wpdtEditor.updateSettings({
|
520 |
mainValignButtonIcon = $('#wpdt-valign-button i:first-child'),
|
521 |
mainWrapButtonIcon = $('#wpdt-wrap-button i:first-child'),
|
522 |
textColorButton = $('#wpdt-text-color'),
|
523 |
+
fontSizeSelect = $('#wpdt-font-size'),
|
524 |
+
fontFamilySelect = $('#wpdt-font-family'),
|
525 |
linkButton = $('#wpdt-link'),
|
526 |
mediaButton = $('#wpdt-media'),
|
527 |
htmlButton = $('#wpdt-html'),
|
563 |
bgColorButton.removeAttr('style');
|
564 |
bgColorButton.css("border-bottom-color", "#FFFFFF");
|
565 |
}
|
566 |
+
// Update Font size select
|
567 |
+
if (cellClasses.indexOf('wpdt-fs-') !== -1) {
|
568 |
+
let fontSize = cellClasses.substring(cellClasses.indexOf('wpdt-fs-') + 8, cellClasses.indexOf('wpdt-fs-') + 14);
|
569 |
+
const regex = new RegExp("^0+(?!$)", 'g');
|
570 |
+
// Replaces the matched
|
571 |
+
// value with given string
|
572 |
+
fontSize = fontSize.replaceAll(regex, "");
|
573 |
+
fontSizeSelect.val(fontSize)
|
574 |
+
} else {
|
575 |
+
fontSizeSelect.val(13)
|
576 |
+
}
|
577 |
+
// Update Font family select
|
578 |
+
if (cellClasses.indexOf('wpdt-ff-') !== -1) {
|
579 |
+
let fontFamily = cellClasses.substring(cellClasses.indexOf('wpdt-ff-') + 8, cellClasses.indexOf('wpdt-ff-') + 14);
|
580 |
+
const regex = new RegExp("^0+(?!$)", 'g');
|
581 |
+
// Replaces the matched
|
582 |
+
// value with given string
|
583 |
+
fontFamily = fontFamily.replaceAll(regex, "");
|
584 |
+
fontFamilySelect.val(fontFamily)
|
585 |
+
} else {
|
586 |
+
fontFamilySelect.val(0)
|
587 |
+
}
|
588 |
// Update Horizontal right align button
|
589 |
if (cellClasses.indexOf('wpdt-align-right') !== -1) {
|
590 |
$('#wpdt-align-right').addClass('selected');
|
752 |
}
|
753 |
|
754 |
/**
|
755 |
+
* Add dynamic classes for cells
|
756 |
*/
|
757 |
+
function addDynamicStyle(selectedCells, value, partClass, fontFamilyArr = []) {
|
758 |
+
let newValue;
|
759 |
for (var index = 0; index < selectedCells.length; index += 1) {
|
760 |
var item = selectedCells[index],
|
761 |
startRow = Math.min(item[0], item[2]),
|
770 |
cell.className = typeof cell.className == 'string' ? cell.className : '';
|
771 |
|
772 |
if (cell.className.indexOf(partClass) !== -1) {
|
773 |
+
if (partClass == 'wpdt-ff-' || partClass == 'wpdt-fs-') {
|
774 |
+
newValue = String(value).padStart(6, '0');
|
775 |
+
} else {
|
776 |
+
newValue = value;
|
777 |
+
}
|
778 |
+
newClassName = cell.className.replace(cell.className.substring(cell.className.indexOf(partClass), cell.className.indexOf(partClass) + 14), partClass + newValue);
|
779 |
} else {
|
780 |
+
if (partClass == 'wpdt-ff-' || partClass == 'wpdt-fs-') {
|
781 |
+
newClassName = cell.className + ' ' + partClass + String(value).padStart(6, '0');
|
782 |
+
} else {
|
783 |
+
newClassName = cell.className + ' ' + partClass + value;
|
784 |
+
}
|
785 |
}
|
786 |
wpdtEditor.setCellMeta(rowIndex, columnIndex, 'className', newClassName.trimStart());
|
787 |
}
|
789 |
}
|
790 |
wpdtEditor.render();
|
791 |
if (partClass === 'wpdt-tc-') {
|
792 |
+
addStylesheetRules('.' + partClass + value, 'color:#' + value + ' !important;')
|
793 |
+
} else if (partClass === 'wpdt-bc-') {
|
794 |
+
addStylesheetRules('.' + partClass + value, 'background-color:#' + value + ' !important;');
|
795 |
+
} else if (partClass === 'wpdt-fs-') {
|
796 |
+
addStylesheetRules('.' + partClass + String(value).padStart(6, '0'), 'font-size:' + value + 'px !important;');
|
797 |
+
} else if (partClass === 'wpdt-ff-') {
|
798 |
+
let fontFamily = value === '0' ? 'inherit' : fontFamilyArr[value - 1];
|
799 |
+
addStylesheetRules('.' + partClass + String(value).padStart(6, '0'), 'font-family:' + fontFamily + ' !important;');
|
800 |
}
|
801 |
}
|
802 |
|
1243 |
wdtApplyColorPickerHT(selectedCells, target)
|
1244 |
});
|
1245 |
|
1246 |
+
/**
|
1247 |
+
* Apply font-size and font-family for text in the cell
|
1248 |
+
*/
|
1249 |
+
$('#wpdt-font-size,#wpdt-font-family').on('change', function (e) {
|
1250 |
+
e.preventDefault();
|
1251 |
+
e.stopImmediatePropagation();
|
1252 |
+
let target = $(this)[0].id,
|
1253 |
+
selectValue = $(this).val(),
|
1254 |
+
selectedCells = wpdtEditor.getSelected(),
|
1255 |
+
fontFamilyArr = $(this).data('wpdt-fonts'),
|
1256 |
+
partClass = (target == 'wpdt-font-size') ? 'wpdt-fs-' : 'wpdt-ff-';
|
1257 |
+
addDynamicStyle(selectedCells, selectValue, partClass, fontFamilyArr);
|
1258 |
+
});
|
1259 |
/**
|
1260 |
* Insert media in cell
|
1261 |
*/
|
1468 |
editor.setContent($('#wpdt-tiny-mce').val());
|
1469 |
}
|
1470 |
},
|
1471 |
+
height: "400",
|
1472 |
menubar: false,
|
1473 |
forced_root_block: "div",
|
1474 |
forced_root_block_attrs: {
|
1662 |
isInt = Number.isInteger(rating);
|
1663 |
ratingEnd = rating % 1 === 0 ? rating : Math.floor(rating)
|
1664 |
for (var i = 0; i < maxValue; i++) {
|
1665 |
+
if (i < ratingEnd) {
|
1666 |
starWrapper += '<span class="full rated"></span>';
|
1667 |
+
} else if (!isInt && i == ratingEnd) {
|
1668 |
starWrapper += '<span class="half half-reflect"></span>';
|
1669 |
+
} else {
|
1670 |
starWrapper += '<span class="full"></span>';
|
1671 |
}
|
1672 |
}
|
1673 |
starWrapper += '</div>';
|
1674 |
+
if (showNumber) {
|
1675 |
starWrapper += '<div class="rateNum">' + rating + '/' + maxValue + '</div>'
|
1676 |
}
|
1677 |
|
1744 |
disableButtons();
|
1745 |
getWidthData();
|
1746 |
getHeightData();
|
1747 |
+
wpdtEditor.selectCell(0, 0)
|
1748 |
});
|
1749 |
wpdtEditor.addHook('afterCreateCol', function (insertColumnIndex, amount, source) {
|
1750 |
disableButtons();
|
1769 |
wpdtEditor.allWidths.splice(insertColumnIndex + n, 0, wpdtEditor.allWidths[selectedColumnIndex]);
|
1770 |
}
|
1771 |
getHeightData();
|
1772 |
+
wpdtEditor.selectCell(0, 0)
|
1773 |
});
|
1774 |
wpdtEditor.addHook('beforeRemoveRow', function (from, amount) {
|
1775 |
var merge = wpdtEditor.getPlugin('mergeCells').mergedCellsCollection.mergedCells,
|
1801 |
}
|
1802 |
}
|
1803 |
disableButtons();
|
1804 |
+
setTimeout(function () {
|
1805 |
let heightHT = $('.ht_master .wtHider');
|
1806 |
wpdtEditor.updateSettings({
|
1807 |
height: setHeightHT(heightHT)
|
1907 |
* Set wpdtEditor height after tabs switching
|
1908 |
*/
|
1909 |
$('.wdt-simple-table-settings .edit-table-settings-tab a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
|
1910 |
+
setTimeout(function () {
|
1911 |
let heightHT = $('.ht_master .wtHider');
|
1912 |
wpdtEditor.updateSettings({
|
1913 |
height: setHeightHT(heightHT)
|
1936 |
}
|
1937 |
});
|
1938 |
})
|
|
|
1939 |
});
|
1940 |
|
1941 |
})(jQuery);
|
assets/js/wpdatatables/admin/table-settings/main.js
CHANGED
@@ -52,6 +52,13 @@
|
|
52 |
wpdatatable_config.setShowTableTools( $(this).is(':checked') ? 1 : 0, {} );
|
53 |
});
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
/**
|
56 |
* Toggle Responsiveness
|
57 |
*/
|
52 |
wpdatatable_config.setShowTableTools( $(this).is(':checked') ? 1 : 0, {} );
|
53 |
});
|
54 |
|
55 |
+
/**
|
56 |
+
* Toggle Table Tools Include HTML option
|
57 |
+
*/
|
58 |
+
$('#wdt-table-tools-include-html').change(function (e) {
|
59 |
+
wpdatatable_config.setTableToolsIncludeHTML($(this).is(':checked') ? 1 : 0);
|
60 |
+
});
|
61 |
+
|
62 |
/**
|
63 |
* Toggle Responsiveness
|
64 |
*/
|
assets/js/wpdatatables/admin/table-settings/table_config_object.js
CHANGED
@@ -24,7 +24,7 @@ var wpdatatable_config = {
|
|
24 |
auto_refresh: 0,
|
25 |
content: '',
|
26 |
info_block: 1,
|
27 |
-
pagination:1,
|
28 |
paginationAlign: 'right',
|
29 |
paginationLayout: 'full_numbers',
|
30 |
simpleResponsive: 0,
|
@@ -49,7 +49,8 @@ var wpdatatable_config = {
|
|
49 |
table_html: '',
|
50 |
dataTable: null,
|
51 |
datatable_config: null,
|
52 |
-
tabletools_config: {
|
|
|
53 |
columns: [],
|
54 |
columns_by_headers: {},
|
55 |
currentOpenColumn: null,
|
@@ -64,20 +65,20 @@ var wpdatatable_config = {
|
|
64 |
* Method to set the data source type - hides all dependent controls
|
65 |
* @param type mysql, google_spreadsheet, xml, json, serialized, csv, excel
|
66 |
*/
|
67 |
-
setTableType: function(
|
68 |
wpdatatable_config.table_type = type;
|
69 |
jQuery('#wdt-input-url').val('');
|
70 |
-
switch(
|
71 |
case 'mysql':
|
72 |
if (wpdatatable_config.content.length > 5 && !jQuery('.placeholders-settings-tab').is(':visible')) {
|
73 |
jQuery('.placeholders-settings-tab').animateFadeIn();
|
74 |
}
|
75 |
-
if(
|
76 |
jQuery('.wdt-table-settings .input-path-block').addClass('hidden');
|
77 |
}
|
78 |
break;
|
79 |
case 'manual':
|
80 |
-
wpdatatable_config.setServerSide(
|
81 |
jQuery('.wdt-input-data-source-type').hide();
|
82 |
break;
|
83 |
case 'google_spreadsheet':
|
@@ -90,13 +91,13 @@ var wpdatatable_config = {
|
|
90 |
case 'serialized':
|
91 |
jQuery('.placeholders-settings-tab').animateFadeIn();
|
92 |
jQuery('.wdt-table-settings #wdt-browse-button').removeClass('hidden');
|
93 |
-
if(
|
94 |
jQuery('.wdt-table-settings .input-path-block').animateFadeIn();
|
95 |
}
|
96 |
jQuery('.wdt-table-settings .mysql-settings-block').addClass('hidden');
|
97 |
jQuery('.wdt-table-settings .wdt-auto-refresh').addClass('hidden');
|
98 |
-
wpdatatable_config.setServerSide(
|
99 |
-
if (jQuery.inArray(type, ['google_spreadsheet', 'xml', 'json', 'serialized']) != -1
|
100 |
jQuery('.wdt-table-settings #wdt-browse-button').addClass('hidden');
|
101 |
break;
|
102 |
default:
|
@@ -105,176 +106,188 @@ var wpdatatable_config = {
|
|
105 |
jQuery('.wdt-table-settings .wdt-auto-refresh').addClass('hidden');
|
106 |
break;
|
107 |
}
|
108 |
-
jQuery(
|
109 |
},
|
110 |
/**
|
111 |
* Method to set ID for new tables
|
112 |
* Shows the label with the shortcode if hiddem
|
113 |
*/
|
114 |
-
setId: function(
|
115 |
wpdatatable_config.id = id;
|
116 |
-
jQuery(
|
117 |
' <a class="wdt-copy-shortcode" data-toggle="tooltip" data-shortcode-type="table" data-placement="top" title="Click to copy shortcode">' +
|
118 |
' <i class="wpdt-icon-copy"></i>' +
|
119 |
' </a>' +
|
120 |
-
' <span id="wdt-table-shortcode-id">[wpdatatable id='+id+']</span>'
|
121 |
-
if(
|
122 |
-
jQuery(
|
123 |
}
|
124 |
},
|
125 |
/**
|
126 |
* Method to set the table title
|
127 |
*/
|
128 |
-
setTitle: function(
|
129 |
wpdatatable_config.title = title;
|
130 |
-
jQuery(
|
131 |
},
|
132 |
/**
|
133 |
* Method to enable or disable the server side processing
|
134 |
* Shows or hides the auto-refresh input
|
135 |
* @param serverSide 1 or 0
|
136 |
*/
|
137 |
-
setServerSide: function(
|
138 |
wpdatatable_config.server_side = serverSide;
|
139 |
-
if(
|
140 |
jQuery('.wdt-table-settings .wdt-auto-refresh').animateFadeIn();
|
141 |
-
}else{
|
142 |
-
wpdatatable_config.setEditable(
|
143 |
jQuery('.wdt-table-settings .wdt-auto-refresh').addClass('hidden');
|
144 |
}
|
145 |
-
jQuery('#wdt-server-side').prop(
|
146 |
},
|
147 |
/**
|
148 |
* Defines the auto-refresh period
|
149 |
* @param autoRefresh
|
150 |
*/
|
151 |
-
setAutoRefresh: function(
|
152 |
wpdatatable_config.auto_refresh = autoRefresh;
|
153 |
-
if(
|
154 |
-
jQuery('#wdt-auto-refresh').val(
|
155 |
}
|
156 |
},
|
157 |
/**
|
158 |
* Sets the content of the table
|
159 |
* @param content string with MySQL query for MySQL-based tables, or path/URL to other types of tables
|
160 |
*/
|
161 |
-
setContent: function(
|
162 |
wpdatatable_config.content = content;
|
163 |
-
if
|
164 |
-
if(
|
165 |
return false;
|
166 |
}
|
167 |
|
168 |
// TODO - validate content
|
169 |
-
if(
|
170 |
jQuery('.display-settings-tab').animateFadeIn();
|
171 |
jQuery('.table-sorting-filtering-settings-tab').animateFadeIn();
|
172 |
jQuery('.table-tools-settings-tab').animateFadeIn();
|
173 |
jQuery('.customize-table-settings-tab').animateFadeIn();
|
174 |
}
|
175 |
-
if(
|
176 |
-
if(
|
177 |
jQuery('.placeholders-settings-tab').animateFadeIn();
|
178 |
}
|
179 |
var aceEditor = ace.edit('wdt-mysql-query');
|
180 |
aceEditor.$blockScrolling = Infinity;
|
181 |
-
if(
|
182 |
-
aceEditor.setValue(
|
183 |
}
|
184 |
-
}else{
|
185 |
wpdatatable_config.table_type == 'manual' ?
|
186 |
!jQuery('.editing-settings-tab').is(':visible') ? jQuery('.editing-settings-tab').animateFadeIn() : null :
|
187 |
jQuery('.editing-settings-tab').addClass('hidden');
|
188 |
-
jQuery('#wdt-input-url').val(
|
189 |
}
|
190 |
-
jQuery('button.wdt-apply').prop(
|
191 |
-
}else{
|
192 |
jQuery('.display-settings-tab').addClass('hidden');
|
193 |
jQuery('.table-sorting-filtering-settings-tab').addClass('hidden');
|
194 |
jQuery('.table-tools-settings-tab').addClass('hidden');
|
195 |
jQuery('.customize-table-settings-tab').addClass('hidden');
|
196 |
jQuery('.editing-settings-tab').addClass('hidden');
|
197 |
jQuery('.placeholders-settings-tab').addClass('hidden');
|
198 |
-
jQuery('button.wdt-apply').prop(
|
199 |
}
|
200 |
},
|
201 |
/**
|
202 |
* Set the show / hide title
|
203 |
* @param show_title 1 or 0
|
204 |
*/
|
205 |
-
setShowTitle: function(
|
206 |
wpdatatable_config.show_title = show_title;
|
207 |
-
jQuery('#wdt-show-title').prop(
|
208 |
},
|
209 |
/**
|
210 |
* Set the table tools
|
211 |
* @param show_tabletools 1 or 0
|
212 |
* @param table_tools
|
213 |
*/
|
214 |
-
setShowTableTools: function(
|
215 |
wpdatatable_config.tools = show_tabletools;
|
216 |
-
if(
|
217 |
jQuery('.wdt-table-settings .table-tools-settings-block').animateFadeIn();
|
218 |
-
jQuery.
|
219 |
-
|
220 |
-
wpdatatable_config.setTableToolsConfig(
|
221 |
-
|
|
|
|
|
222 |
jQuery('.wdt-table-settings .table-tools-settings-block').addClass('hidden');
|
223 |
wpdatatable_config.setTableToolsConfig({})
|
|
|
|
|
224 |
}
|
225 |
-
jQuery('#wdt-table-tools').prop(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
},
|
227 |
/**
|
228 |
* Enable or disable responsiveness
|
229 |
* @param responsive 1 or 0
|
230 |
*/
|
231 |
-
setResponsive: function(
|
232 |
wpdatatable_config.responsive = responsive;
|
233 |
-
jQuery('#wdt-responsive').prop(
|
234 |
},
|
235 |
/**
|
236 |
* Enable or disable scrollable feature
|
237 |
* @param scrollable 1 or 0
|
238 |
*/
|
239 |
-
setScrollable: function(
|
240 |
wpdatatable_config.scrollable = scrollable;
|
241 |
-
if (
|
242 |
wpdatatable_config.setLimitLayout(0);
|
243 |
jQuery('.limit-table-width-settings-block').addClass('hidden');
|
244 |
} else {
|
245 |
!jQuery('.limit-table-width-settings-block').is(':visible') ? jQuery('.limit-table-width-settings-block').animateFadeIn() : null;
|
246 |
}
|
247 |
-
jQuery('#wdt-scrollable').prop(
|
248 |
},
|
249 |
/**
|
250 |
* Enable or disable vertical scroll feature
|
251 |
* @param verticalScroll 1 or 0
|
252 |
*/
|
253 |
-
setVerticalScroll: function(
|
254 |
wpdatatable_config.verticalScroll = verticalScroll;
|
255 |
-
if (
|
256 |
jQuery('.vertical-scroll-height-block').animateFadeIn();
|
257 |
} else {
|
258 |
wpdatatable_config.setVerticalScrollHeight(600);
|
259 |
jQuery('.vertical-scroll-height-block').animateFadeOut();
|
260 |
}
|
261 |
-
jQuery('#wdt-vertical-scroll').prop(
|
262 |
},
|
263 |
/**
|
264 |
* Enable or disable hiding before load
|
265 |
* @param hideBeforeLoad 1 or 0
|
266 |
*/
|
267 |
-
setHideBeforeLoad: function(
|
268 |
wpdatatable_config.hide_before_load = hideBeforeLoad;
|
269 |
-
jQuery('#wdt-hide-until-loaded').prop(
|
270 |
},
|
271 |
/**
|
272 |
* Enable or disable limit table layout
|
273 |
* @param limitLayout 1 or 0
|
274 |
*/
|
275 |
-
setLimitLayout: function(
|
276 |
wpdatatable_config.fixed_layout = limitLayout;
|
277 |
-
if (
|
278 |
wpdatatable_config.setScrollable(0);
|
279 |
jQuery('.word-wrap-settings-block').animateFadeIn();
|
280 |
jQuery('.wdt-scrollable-block').addClass('hidden');
|
@@ -285,49 +298,49 @@ var wpdatatable_config = {
|
|
285 |
!jQuery('.wdt-scrollable-block').is(':visible') ? jQuery('.wdt-scrollable-block').animateFadeIn() : null;
|
286 |
jQuery('.wdt-column-width-block').hide();
|
287 |
}
|
288 |
-
jQuery('#wdt-limit-layout').prop(
|
289 |
},
|
290 |
/**
|
291 |
* Enable or disable Word Wrap
|
292 |
* @param wordWrap 1 or 0
|
293 |
*/
|
294 |
-
setWordWrap: function(
|
295 |
wpdatatable_config.word_wrap = wordWrap;
|
296 |
-
jQuery('#wdt-word-wrap').prop(
|
297 |
},
|
298 |
/**
|
299 |
* Enable or disable display length
|
300 |
* @param displayLength integer - 10, 20, 50, 100, -1 (all)
|
301 |
*/
|
302 |
-
setDisplayLength: function(
|
303 |
wpdatatable_config.display_length = displayLength;
|
304 |
jQuery('#wdt-rows-per-page')
|
305 |
-
.val(
|
306 |
.selectpicker('refresh');
|
307 |
},
|
308 |
/**
|
309 |
* Show or hide "Show X entries" dropdown
|
310 |
*/
|
311 |
-
setShowRowsPerPage: function(
|
312 |
wpdatatable_config.showRowsPerPage = showRowsPerPage;
|
313 |
-
jQuery('#wdt-show-rows-per-page').prop(
|
314 |
},
|
315 |
/**
|
316 |
* Enable or disable the info block
|
317 |
* @param infoBlock 1 or 0
|
318 |
*/
|
319 |
-
setInfoBlock: function(
|
320 |
wpdatatable_config.info_block = infoBlock;
|
321 |
-
jQuery('#wdt-info-block').prop(
|
322 |
},
|
323 |
/**
|
324 |
* Enable or disable pagination
|
325 |
* @param pagination 1 or 0
|
326 |
*/
|
327 |
-
setPagination: function(
|
328 |
wpdatatable_config.pagination = pagination;
|
329 |
-
jQuery('#wdt-pagination').prop(
|
330 |
-
if (
|
331 |
jQuery('.pagination-align-settings-block').removeClass('hidden');
|
332 |
jQuery('.pagination-layout-settings-block').removeClass('hidden');
|
333 |
} else {
|
@@ -341,29 +354,29 @@ var wpdatatable_config = {
|
|
341 |
* Set pagination alignment
|
342 |
* @param paginationAlign string
|
343 |
*/
|
344 |
-
setPaginationAlign: function(
|
345 |
wpdatatable_config.paginationAlign = paginationAlign;
|
346 |
jQuery('#wdt-pagination-align')
|
347 |
-
.val(
|
348 |
-
.selectpicker(
|
349 |
},
|
350 |
/**
|
351 |
* Set pagination layout
|
352 |
* @param paginationLayout string
|
353 |
*/
|
354 |
-
setPaginationLayout: function(
|
355 |
wpdatatable_config.paginationLayout = paginationLayout;
|
356 |
jQuery('#wdt-pagination-layout')
|
357 |
-
.val(
|
358 |
-
.selectpicker(
|
359 |
},
|
360 |
/**
|
361 |
* Enable or disable simple responsive
|
362 |
* @param simpleResponsive 1 or 0
|
363 |
*/
|
364 |
-
setSimpleResponsive: function(
|
365 |
wpdatatable_config.simpleResponsive = simpleResponsive;
|
366 |
-
if (
|
367 |
wpdatatable_config.setScrollable(0);
|
368 |
wpdatatable_config.setLimitLayout(0);
|
369 |
wpdatatable_config.setWordWrap(0);
|
@@ -371,11 +384,11 @@ var wpdatatable_config = {
|
|
371 |
jQuery('.limit-table-width-settings-block').addClass('hidden');
|
372 |
jQuery('.word-wrap-settings-block').addClass('hidden');
|
373 |
} else {
|
374 |
-
if (wpdatatable_config.scrollable == 1){
|
375 |
jQuery('.limit-table-width-settings-block').hide();
|
376 |
jQuery('.word-wrap-settings-block').hide();
|
377 |
jQuery('.wdt-scrollable-block').show();
|
378 |
-
} else if(wpdatatable_config.fixed_layout == 1){
|
379 |
jQuery('.wdt-scrollable-block').hide();
|
380 |
jQuery('.limit-table-width-settings-block').show();
|
381 |
jQuery('.word-wrap-settings-block').show();
|
@@ -386,101 +399,101 @@ var wpdatatable_config = {
|
|
386 |
|
387 |
|
388 |
}
|
389 |
-
jQuery('#wdt-simple-responsive').prop(
|
390 |
},
|
391 |
/**
|
392 |
* Enable or disable first row as a header
|
393 |
* @param simpleHeader 1 or 0
|
394 |
*/
|
395 |
-
setSimpleHeader: function(
|
396 |
wpdatatable_config.simpleHeader = simpleHeader;
|
397 |
-
jQuery('#wdt-simple-header').prop(
|
398 |
},
|
399 |
/**
|
400 |
* Enable or disable odds and even row classes
|
401 |
* @param stripeTable 1 or 0
|
402 |
*/
|
403 |
-
setStripeTable: function(
|
404 |
wpdatatable_config.stripeTable = stripeTable;
|
405 |
-
jQuery('#wdt-stripe-table').prop(
|
406 |
},
|
407 |
/**
|
408 |
* Set cell padding value
|
409 |
* @param cellPadding 1 or 0
|
410 |
*/
|
411 |
-
setCellPadding: function(
|
412 |
wpdatatable_config.cellPadding = cellPadding;
|
413 |
-
if(
|
414 |
-
jQuery('#wdt-cell-padding').val(
|
415 |
}
|
416 |
},
|
417 |
/**
|
418 |
* Set vertical scroll height value
|
419 |
* @param verticalScrollHeight 1 or 0
|
420 |
*/
|
421 |
-
setVerticalScrollHeight: function(
|
422 |
wpdatatable_config.verticalScrollHeight = verticalScrollHeight;
|
423 |
-
if(
|
424 |
-
jQuery('#wdt-vertical-scroll-height').val(
|
425 |
}
|
426 |
},
|
427 |
/**
|
428 |
* Enable or disable the advanced filtering
|
429 |
* @param filtering 1 or 0
|
430 |
*/
|
431 |
-
setAdvancedFiltering: function(
|
432 |
wpdatatable_config.filtering = filtering;
|
433 |
-
if(
|
434 |
jQuery('.filtering-form-block').addClass('hidden');
|
435 |
jQuery('.wdt-clear-filters-block').addClass('hidden');
|
436 |
|
437 |
wpdatatable_config.filtering_form = 0;
|
438 |
wpdatatable_config.clearFilters = 0;
|
439 |
-
jQuery('#wdt-filter-in-form').prop(
|
440 |
-
jQuery('#wdt-clear-filters').prop(
|
441 |
}
|
442 |
-
jQuery('#wdt-advanced-filter').prop(
|
443 |
},
|
444 |
/**
|
445 |
* Enable or disable the filtering form
|
446 |
* @param filteringForm 1 or 0
|
447 |
*/
|
448 |
-
setFilteringForm: function(
|
449 |
wpdatatable_config.filtering_form = filteringForm;
|
450 |
-
jQuery('#wdt-filter-in-form').prop(
|
451 |
},
|
452 |
/**
|
453 |
* Enable or disable the clear filters button
|
454 |
* @param clearFilters 1 or 0
|
455 |
*/
|
456 |
-
setClearFilters: function(
|
457 |
wpdatatable_config.clearFilters = clearFilters;
|
458 |
-
jQuery('#wdt-clear-filters').prop(
|
459 |
},
|
460 |
/**
|
461 |
* Enable or disable sorting
|
462 |
* @param sorting 1 or 0
|
463 |
*/
|
464 |
-
setSorting: function(
|
465 |
wpdatatable_config.sorting = sorting;
|
466 |
-
jQuery('#wdt-global-sorting').prop(
|
467 |
},
|
468 |
/**
|
469 |
* Enable or disable Global Search block
|
470 |
* @param globalSearch 1 or 0
|
471 |
*/
|
472 |
-
setGlobalSearch: function(
|
473 |
wpdatatable_config.global_search = globalSearch;
|
474 |
-
jQuery('#wdt-global-search').prop(
|
475 |
},
|
476 |
/**
|
477 |
* Enable or disable Editable for MySQL-based tables
|
478 |
* Toggles the dependent feature switches
|
479 |
* @param editable 1 or 0
|
480 |
*/
|
481 |
-
setEditable: function(
|
482 |
wpdatatable_config.editable = editable;
|
483 |
-
if (
|
484 |
jQuery('.editing-settings-tab').animateFadeIn();
|
485 |
}
|
486 |
|
@@ -491,86 +504,86 @@ var wpdatatable_config = {
|
|
491 |
jQuery('div.wdt-edit-buttons').hide();
|
492 |
}
|
493 |
|
494 |
-
if(
|
495 |
jQuery('.editing-settings-block').animateFadeIn();
|
496 |
-
if(
|
497 |
jQuery('.own-rows-editing-settings-block').animateFadeIn();
|
498 |
}
|
499 |
|
500 |
// Apply selecter and guess the default ID column for editing
|
501 |
-
if(
|
502 |
-
var id_headers = ['id','ID','Id','wdt_ID'];
|
503 |
|
504 |
var idColumnDefined = false;
|
505 |
-
for(
|
506 |
-
if (
|
507 |
-
wpdatatable_config.setIdEditingColumn(
|
508 |
idColumnDefined = true;
|
509 |
break;
|
510 |
}
|
511 |
}
|
512 |
if (!idColumnDefined && wpdatatable_config.columns.length > 0) {
|
513 |
-
wpdatatable_config.setIdEditingColumn(
|
514 |
}
|
515 |
}
|
516 |
|
517 |
// Try to guess MySQL table name for editing
|
518 |
var mysqlTableName = wpdatatable_config.content;
|
519 |
-
mysqlTableName = mysqlTableName.slice(
|
520 |
-
mysqlTableName = jQuery.trim(
|
521 |
mysqlTableName = mysqlTableName.replace(new RegExp("\n", "g"), ' ');
|
522 |
mysqlTableName = mysqlTableName.replace(new RegExp("`", "g"), '');
|
523 |
mysqlTableName.indexOf(' ') != -1
|
524 |
-
? mysqlTableName = mysqlTableName.slice(
|
525 |
-
wpdatatable_config.setMySQLTableName(
|
526 |
|
527 |
-
wpdatatable_config.setServerSide(
|
528 |
-
}else{
|
529 |
// Reset all editing settings to default
|
530 |
jQuery('.editing-settings-block').addClass('hidden');
|
531 |
-
jQuery('#wdt-popover-tools').prop(
|
532 |
-
jQuery('#wdt-inline-editable').prop(
|
533 |
jQuery('.own-rows-editing-settings-block').addClass('hidden');
|
534 |
-
jQuery('#wdt-edit-only-own-rows').prop(
|
535 |
|
536 |
wpdatatable_config.popover_tools = 0;
|
537 |
wpdatatable_config.inline_editing = 0;
|
538 |
wpdatatable_config.id_editing_column = false;
|
539 |
wpdatatable_config.editor_roles = '';
|
540 |
-
jQuery(
|
541 |
-
.val(
|
542 |
-
.selectpicker(
|
543 |
wpdatatable_config.edit_only_own_rows = 0;
|
544 |
wpdatatable_config.userid_column_id = null;
|
545 |
if (wpdatatable_config.table_type != 'manual')
|
546 |
-
wpdatatable_config.setMySQLTableName(
|
547 |
}
|
548 |
-
jQuery('#wdt-editable').prop(
|
549 |
},
|
550 |
/**
|
551 |
* Enable or disable the popover tools
|
552 |
* @param popoverTools 1 or 0
|
553 |
*/
|
554 |
-
setPopoverTools: function(
|
555 |
wpdatatable_config.popover_tools = popoverTools;
|
556 |
-
jQuery('#wdt-popover-tools').prop(
|
557 |
},
|
558 |
/**
|
559 |
* Enable or disable inline editing
|
560 |
* @param inlineEditing 1 or 0
|
561 |
*/
|
562 |
-
setInlineEditing: function(
|
563 |
wpdatatable_config.inline_editing = inlineEditing;
|
564 |
-
jQuery('#wdt-inline-editable').prop(
|
565 |
},
|
566 |
/**
|
567 |
* Define MySQL table for editing
|
568 |
* @param mysqlTableName
|
569 |
*/
|
570 |
-
setMySQLTableName: function(
|
571 |
wpdatatable_config.mysql_table_name = mysqlTableName;
|
572 |
-
if(
|
573 |
-
jQuery('#wdt-mysql-table-name').val(
|
574 |
}
|
575 |
if (wpdatatable_config.table_type === 'manual') {
|
576 |
jQuery('#wdt-mysql-table-name').prop('disabled', true);
|
@@ -580,13 +593,13 @@ var wpdatatable_config = {
|
|
580 |
* Define the ID column for editing
|
581 |
* @param idEditingColumn integer
|
582 |
*/
|
583 |
-
setIdEditingColumn: function(
|
584 |
wpdatatable_config.id_editing_column = true;
|
585 |
-
jQuery(
|
586 |
-
.val(
|
587 |
-
.selectpicker(
|
588 |
|
589 |
-
for(
|
590 |
wpdatatable_config.columns[i].id_column = wpdatatable_config.columns[i].id == idEditingColumn ? 1 : 0;
|
591 |
}
|
592 |
},
|
@@ -594,28 +607,28 @@ var wpdatatable_config = {
|
|
594 |
* Set the editor roles
|
595 |
* @param editorRoles comma-separated string
|
596 |
*/
|
597 |
-
setEditorRoles: function(
|
598 |
wpdatatable_config.editor_roles = editorRoles;
|
599 |
-
jQuery(
|
600 |
-
.val(
|
601 |
-
.selectpicker(
|
602 |
},
|
603 |
/**
|
604 |
* Enable editing of only own rows for editable tables
|
605 |
* @param editOwnRows 1 or 0
|
606 |
*/
|
607 |
-
setEditOwnRows: function(
|
608 |
wpdatatable_config.edit_only_own_rows = editOwnRows;
|
609 |
-
jQuery('#wdt-edit-only-own-rows').prop(
|
610 |
-
if(
|
611 |
jQuery('.own-rows-editing-settings-block').animateFadeIn();
|
612 |
-
if(
|
613 |
jQuery('#wdt-user-id-column').selectpicker('refresh');
|
614 |
-
wpdatatable_config.setUserIdColumn(
|
615 |
} else {
|
616 |
-
wpdatatable_config.setUserIdColumn(
|
617 |
}
|
618 |
-
}else{
|
619 |
jQuery('.own-rows-editing-settings-block').animateFadeOut();
|
620 |
wpdatatable_config.userid_column_id = null;
|
621 |
}
|
@@ -625,140 +638,139 @@ var wpdatatable_config = {
|
|
625 |
* only their own rows
|
626 |
* @param userIdColumn
|
627 |
*/
|
628 |
-
setUserIdColumn: function(
|
629 |
-
wpdatatable_config.userid_column_id = parseInt(
|
630 |
-
if(
|
631 |
-
jQuery('#wdt-user-id-column').val(
|
632 |
}
|
633 |
},
|
634 |
/**
|
635 |
* Set the selection for table tools
|
636 |
* @param tableToolsConfig
|
637 |
*/
|
638 |
-
setTableToolsConfig: function(
|
639 |
wpdatatable_config.tabletools_config = tableToolsConfig;
|
640 |
var tabletoolsConfigVal = [];
|
641 |
-
for(
|
642 |
if (tableToolsConfig[i] == 1)
|
643 |
tabletoolsConfigVal.push(i);
|
644 |
}
|
645 |
-
if(
|
646 |
-
jQuery('#wdt-table-tools-config').val(
|
647 |
}
|
648 |
},
|
649 |
/**
|
650 |
* Set the VAR 1 placeholder value
|
651 |
*/
|
652 |
-
setPlaceholderVar1: function(
|
653 |
wpdatatable_config.var1 = var1;
|
654 |
-
if(
|
655 |
-
jQuery('#wdt-var1-placeholder').val(
|
656 |
}
|
657 |
},
|
658 |
/**
|
659 |
* Set the VAR 2 placeholder value
|
660 |
*/
|
661 |
-
setPlaceholderVar2: function(
|
662 |
wpdatatable_config.var2 = var2;
|
663 |
-
if(
|
664 |
-
jQuery('#wdt-var2-placeholder').val(
|
665 |
}
|
666 |
},
|
667 |
/**
|
668 |
* Set the VAR 3 placeholder value
|
669 |
*/
|
670 |
-
setPlaceholderVar3: function(
|
671 |
wpdatatable_config.var3 = var3;
|
672 |
-
if(
|
673 |
-
jQuery('#wdt-var3-placeholder').val(
|
674 |
}
|
675 |
},
|
676 |
/**
|
677 |
* Set the Current User ID placeholder value
|
678 |
*/
|
679 |
-
setPlaceholderCurrentUserId: function(
|
680 |
wpdatatable_config.currentUserIdPlaceholder = currentUserIdPlaceholder;
|
681 |
-
if(
|
682 |
-
jQuery('#wdt-user-id-placeholder').val(
|
683 |
}
|
684 |
},
|
685 |
/**
|
686 |
* Set the Current User Login placeholder value
|
687 |
*/
|
688 |
-
setPlaceholderCurrentUserLogin: function(
|
689 |
wpdatatable_config.currentUserLoginPlaceholder = currentUserLoginPlaceholder;
|
690 |
-
if(
|
691 |
-
jQuery('#wdt-user-login-placeholder').val(
|
692 |
}
|
693 |
},
|
694 |
/**
|
695 |
* Set the Current Post ID placeholder value
|
696 |
*/
|
697 |
-
setPlaceholderCurrentPostId: function(
|
698 |
wpdatatable_config.currentPostIdPlaceholder = currentPostIdPlaceholder;
|
699 |
-
if(
|
700 |
-
jQuery('#wdt-post-id-placeholder').val(
|
701 |
}
|
702 |
},
|
703 |
/**
|
704 |
* Set the wpdb placeholder value
|
705 |
*/
|
706 |
-
setPlaceholderWpdb: function(
|
707 |
wpdatatable_config.wpdbPlaceholder = wpdbPlaceholder;
|
708 |
-
if(
|
709 |
-
jQuery('#wdt-wpdb-placeholder').val(
|
710 |
}
|
711 |
},
|
712 |
/**
|
713 |
* Add a column to the list
|
714 |
* @param column
|
715 |
*/
|
716 |
-
addColumn: function(
|
717 |
-
wpdatatable_config.columns.push(
|
718 |
wpdatatable_config.columns_by_headers[column.orig_header] = column;
|
719 |
},
|
720 |
/**
|
721 |
* Define complete column list at once
|
722 |
* @param columns
|
723 |
*/
|
724 |
-
setColumns: function(
|
725 |
wpdatatable_config.columns = columns;
|
726 |
},
|
727 |
/**
|
728 |
* Open the properties block for the column with defined index
|
729 |
* @param columnIndex
|
730 |
*/
|
731 |
-
showColumn: function(
|
732 |
-
wpdatatable_config.columns[
|
733 |
-
wpdatatable_config.currentOpenColumn = wpdatatable_config.columns[
|
734 |
},
|
735 |
/**
|
736 |
* Returns the column by given index
|
737 |
* @param columnIndex
|
738 |
*/
|
739 |
-
getColumn: function(
|
740 |
-
return wpdatatable_config.columns[
|
741 |
},
|
742 |
/**
|
743 |
* Returns the column by given header (orig_header)
|
744 |
*/
|
745 |
-
getColumnByHeader: function(
|
746 |
return typeof wpdatatable_config.columns_by_headers[origHeader] !== 'undefined' ?
|
747 |
wpdatatable_config.columns_by_headers[origHeader] : null;
|
748 |
},
|
749 |
|
750 |
-
|
751 |
|
752 |
/**
|
753 |
* Method to validate config and enable/disable the apply button
|
754 |
*/
|
755 |
-
validateConfig: function(){
|
756 |
|
757 |
},
|
758 |
/**
|
759 |
* Returns table config in JSON format
|
760 |
*/
|
761 |
-
getJSON: function(){
|
762 |
var properties = _.difference(_.keys(wpdatatable_config), _.functions(wpdatatable_config));
|
763 |
var config = {};
|
764 |
|
@@ -778,87 +790,86 @@ var wpdatatable_config = {
|
|
778 |
/**
|
779 |
* Initializes the table and columns config from JSON - for save and for edit
|
780 |
*/
|
781 |
-
initFromJSON: function(
|
782 |
-
wpdatatable_config.setId(
|
783 |
-
wpdatatable_config.setTitle(
|
784 |
-
wpdatatable_config.setTableType(
|
785 |
-
wpdatatable_config.setAutoRefresh(
|
786 |
-
wpdatatable_config.setShowTitle(
|
787 |
|
788 |
-
|
789 |
|
790 |
-
wpdatatable_config.setContent(
|
791 |
-
wpdatatable_config.setDisplayLength(
|
792 |
-
wpdatatable_config.setShowRowsPerPage(
|
793 |
wpdatatable_config.columns = [];
|
794 |
wpdatatable_config.columns_by_headers = {};
|
795 |
-
for(
|
796 |
tableJSON.columns[i].parent_table = wpdatatable_config;
|
797 |
-
wpdatatable_config.addColumn(
|
798 |
}
|
799 |
wpdatatable_config.fillColumnsBlock();
|
800 |
|
801 |
-
|
802 |
|
803 |
-
wpdatatable_config.setLimitLayout(
|
804 |
-
wpdatatable_config.setGlobalSearch(
|
805 |
-
wpdatatable_config.setHideBeforeLoad(
|
806 |
-
wpdatatable_config.setInfoBlock(
|
807 |
-
wpdatatable_config.setPagination(
|
808 |
-
wpdatatable_config.setPaginationAlign(
|
809 |
-
wpdatatable_config.setPaginationLayout(
|
810 |
-
wpdatatable_config.setSimpleHeader(
|
811 |
-
wpdatatable_config.setStripeTable(
|
812 |
-
wpdatatable_config.setCellPadding(
|
813 |
-
wpdatatable_config.setVerticalScrollHeight(
|
814 |
-
|
815 |
|
816 |
-
wpdatatable_config.setScrollable(
|
817 |
-
wpdatatable_config.setSimpleResponsive(
|
818 |
-
wpdatatable_config.setVerticalScroll(
|
819 |
-
wpdatatable_config.setSorting(
|
820 |
-
wpdatatable_config.setShowTableTools(
|
821 |
-
wpdatatable_config.
|
822 |
-
wpdatatable_config.
|
823 |
-
wpdatatable_config.
|
824 |
-
wpdatatable_config.
|
|
|
825 |
},
|
826 |
/**
|
827 |
* Method which draws the "column settings" and "delete formula" buttons in wpDataTable
|
828 |
* and adds events and logic for these buttons
|
829 |
*/
|
830 |
-
drawColumnSettingsButtons: function(
|
831 |
jQuery('.wdt-preload-layer').animateFadeOut();
|
832 |
-
$table.find('thead tr:eq(0) th.wdtheader').each(function(){
|
833 |
-
if (wpdatatable_config.columns[wpdatatable_config.dataTable.column(
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
|
846 |
-
|
847 |
}
|
848 |
var $button = jQuery('<button class="btn btn-default pull-right btn-xs wdt-column-settings" data-toggle="tooltip" title="Click to open column settings"><i class="wpdt-icon-cog"></i></button>');
|
849 |
-
$button.appendTo(this).click(function(e){
|
850 |
e.preventDefault();
|
851 |
e.stopImmediatePropagation();
|
852 |
-
var columnIndex = wpdatatable_config.dataTable.column(
|
853 |
-
wpdatatable_config.showColumn(
|
854 |
});
|
855 |
});
|
856 |
$table.find('thead th button[data-toggle="tooltip"]').tooltip();
|
857 |
-
jQuery(document).off('click','span.columnTitle button.wdt-column-settings').on('click','span.columnTitle button.wdt-column-settings',function(e){
|
858 |
e.preventDefault();
|
859 |
e.stopImmediatePropagation();
|
860 |
var columnIndex = jQuery(this).closest('li').data('column');
|
861 |
-
wpdatatable_config.showColumn(
|
862 |
});
|
863 |
jQuery('#wpdatatable-preview-container table').show();
|
864 |
jQuery('input.number-range-filter').keyup();
|
@@ -871,45 +882,45 @@ var wpdatatable_config = {
|
|
871 |
* Sets the string for table HTML
|
872 |
* @param table_html
|
873 |
*/
|
874 |
-
setTableHtml: function(
|
875 |
wpdatatable_config.table_html = table_html;
|
876 |
},
|
877 |
/**
|
878 |
* Sets the JSON object for datatable_config
|
879 |
* @param datatable_config
|
880 |
*/
|
881 |
-
setDataTableConfig: function(
|
882 |
wpdatatable_config.datatable_config = datatable_config;
|
883 |
},
|
884 |
-
renderTable: function() {
|
885 |
-
if(
|
886 |
jQuery('div.column-settings').fadeInDown();
|
887 |
}
|
888 |
-
if(
|
889 |
wpdatatable_config.dataTable.destroy();
|
890 |
}
|
891 |
-
if(
|
892 |
jQuery('#wpdatatable-preview-container').html('');
|
893 |
-
jQuery('#wpdatatable-preview-container').html(
|
894 |
}
|
895 |
wpdatatable_config.dataTable = wdtRenderDataTable(
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
|
900 |
-
wpdatatable_config.drawColumnSettingsButtons(
|
901 |
jQuery('.wpDataTablesWrapper .dataTables_length .length_menu').selectpicker();
|
902 |
},
|
903 |
/**
|
904 |
* Helper method that fills in the columns in he column popup
|
905 |
* from the wpdatatable_config.columns array
|
906 |
*/
|
907 |
-
fillColumnsBlock: function(){
|
908 |
-
jQuery(
|
909 |
-
jQuery(
|
910 |
-
jQuery(
|
911 |
-
jQuery(
|
912 |
-
for(
|
913 |
wpdatatable_config.columns[i].renderSmallColumnBlock(i);
|
914 |
if (wpdatatable_config.table_type == 'mysql' || wpdatatable_config.table_type == 'manual') {
|
915 |
wpdatatable_config.columns[i].populateColumnForEditing();
|
@@ -917,25 +928,25 @@ var wpdatatable_config = {
|
|
917 |
}
|
918 |
}
|
919 |
|
920 |
-
jQuery('#wdt-id-editing-column').selectpicker(
|
921 |
if (wpdatatable_config.id_editing_column == false)
|
922 |
jQuery('#wdt-id-editing-column').selectpicker('val', '');
|
923 |
|
924 |
-
jQuery(
|
925 |
|
926 |
// Apply new tooltips
|
927 |
-
jQuery(
|
928 |
},
|
929 |
/**
|
930 |
* Helper method to generate a formula name, checking that same name wouldn't already exist in the table
|
931 |
*/
|
932 |
-
generateFormulaName: function(){
|
933 |
var i = 1;
|
934 |
var nameGenerated = false;
|
935 |
var name = '';
|
936 |
-
while(
|
937 |
-
name = 'formula_'+i;
|
938 |
-
if(
|
939 |
nameGenerated = true;
|
940 |
}
|
941 |
i++;
|
24 |
auto_refresh: 0,
|
25 |
content: '',
|
26 |
info_block: 1,
|
27 |
+
pagination: 1,
|
28 |
paginationAlign: 'right',
|
29 |
paginationLayout: 'full_numbers',
|
30 |
simpleResponsive: 0,
|
49 |
table_html: '',
|
50 |
dataTable: null,
|
51 |
datatable_config: null,
|
52 |
+
tabletools_config: {print: 1, copy: 1, excel: 1, csv: 1, pdf: 0},
|
53 |
+
showTableToolsIncludeHTML: 0,
|
54 |
columns: [],
|
55 |
columns_by_headers: {},
|
56 |
currentOpenColumn: null,
|
65 |
* Method to set the data source type - hides all dependent controls
|
66 |
* @param type mysql, google_spreadsheet, xml, json, serialized, csv, excel
|
67 |
*/
|
68 |
+
setTableType: function (type) {
|
69 |
wpdatatable_config.table_type = type;
|
70 |
jQuery('#wdt-input-url').val('');
|
71 |
+
switch (type) {
|
72 |
case 'mysql':
|
73 |
if (wpdatatable_config.content.length > 5 && !jQuery('.placeholders-settings-tab').is(':visible')) {
|
74 |
jQuery('.placeholders-settings-tab').animateFadeIn();
|
75 |
}
|
76 |
+
if (jQuery('.wdt-table-settings .mysql-settings-block').hasClass('hidden')) {
|
77 |
jQuery('.wdt-table-settings .input-path-block').addClass('hidden');
|
78 |
}
|
79 |
break;
|
80 |
case 'manual':
|
81 |
+
wpdatatable_config.setServerSide(1);
|
82 |
jQuery('.wdt-input-data-source-type').hide();
|
83 |
break;
|
84 |
case 'google_spreadsheet':
|
91 |
case 'serialized':
|
92 |
jQuery('.placeholders-settings-tab').animateFadeIn();
|
93 |
jQuery('.wdt-table-settings #wdt-browse-button').removeClass('hidden');
|
94 |
+
if (jQuery('.wdt-table-settings .input-path-block').hasClass('hidden')) {
|
95 |
jQuery('.wdt-table-settings .input-path-block').animateFadeIn();
|
96 |
}
|
97 |
jQuery('.wdt-table-settings .mysql-settings-block').addClass('hidden');
|
98 |
jQuery('.wdt-table-settings .wdt-auto-refresh').addClass('hidden');
|
99 |
+
wpdatatable_config.setServerSide(0);
|
100 |
+
if (jQuery.inArray(type, ['google_spreadsheet', 'xml', 'json', 'serialized']) != -1)
|
101 |
jQuery('.wdt-table-settings #wdt-browse-button').addClass('hidden');
|
102 |
break;
|
103 |
default:
|
106 |
jQuery('.wdt-table-settings .wdt-auto-refresh').addClass('hidden');
|
107 |
break;
|
108 |
}
|
109 |
+
jQuery('#wdt-table-type').val(type).selectpicker('refresh');
|
110 |
},
|
111 |
/**
|
112 |
* Method to set ID for new tables
|
113 |
* Shows the label with the shortcode if hiddem
|
114 |
*/
|
115 |
+
setId: function (id) {
|
116 |
wpdatatable_config.id = id;
|
117 |
+
jQuery('#wdt-table-id').html(
|
118 |
' <a class="wdt-copy-shortcode" data-toggle="tooltip" data-shortcode-type="table" data-placement="top" title="Click to copy shortcode">' +
|
119 |
' <i class="wpdt-icon-copy"></i>' +
|
120 |
' </a>' +
|
121 |
+
' <span id="wdt-table-shortcode-id">[wpdatatable id=' + id + ']</span>');
|
122 |
+
if (jQuery('#wdt-table-id').is(':hidden')) {
|
123 |
+
jQuery('#wdt-table-id').animateFadeIn();
|
124 |
}
|
125 |
},
|
126 |
/**
|
127 |
* Method to set the table title
|
128 |
*/
|
129 |
+
setTitle: function (title) {
|
130 |
wpdatatable_config.title = title;
|
131 |
+
jQuery('#wdt-table-title-edit').val(title);
|
132 |
},
|
133 |
/**
|
134 |
* Method to enable or disable the server side processing
|
135 |
* Shows or hides the auto-refresh input
|
136 |
* @param serverSide 1 or 0
|
137 |
*/
|
138 |
+
setServerSide: function (serverSide) {
|
139 |
wpdatatable_config.server_side = serverSide;
|
140 |
+
if (serverSide == 1) {
|
141 |
jQuery('.wdt-table-settings .wdt-auto-refresh').animateFadeIn();
|
142 |
+
} else {
|
143 |
+
wpdatatable_config.setEditable(0);
|
144 |
jQuery('.wdt-table-settings .wdt-auto-refresh').addClass('hidden');
|
145 |
}
|
146 |
+
jQuery('#wdt-server-side').prop('checked', serverSide);
|
147 |
},
|
148 |
/**
|
149 |
* Defines the auto-refresh period
|
150 |
* @param autoRefresh
|
151 |
*/
|
152 |
+
setAutoRefresh: function (autoRefresh) {
|
153 |
wpdatatable_config.auto_refresh = autoRefresh;
|
154 |
+
if (jQuery('#wdt-auto-refresh').val() != wpdatatable_config.auto_refresh) {
|
155 |
+
jQuery('#wdt-auto-refresh').val(wpdatatable_config.auto_refresh);
|
156 |
}
|
157 |
},
|
158 |
/**
|
159 |
* Sets the content of the table
|
160 |
* @param content string with MySQL query for MySQL-based tables, or path/URL to other types of tables
|
161 |
*/
|
162 |
+
setContent: function (content) {
|
163 |
wpdatatable_config.content = content;
|
164 |
+
if ((content != '') && (content.length > 5)) {
|
165 |
+
if (wpdatatable_config.table_type == 'google_spreadsheet') {
|
166 |
return false;
|
167 |
}
|
168 |
|
169 |
// TODO - validate content
|
170 |
+
if (!jQuery('.display-settings-tab').is(':visible')) {
|
171 |
jQuery('.display-settings-tab').animateFadeIn();
|
172 |
jQuery('.table-sorting-filtering-settings-tab').animateFadeIn();
|
173 |
jQuery('.table-tools-settings-tab').animateFadeIn();
|
174 |
jQuery('.customize-table-settings-tab').animateFadeIn();
|
175 |
}
|
176 |
+
if (wpdatatable_config.table_type == 'mysql') {
|
177 |
+
if (!jQuery('.placeholders-settings-tab').is(':visible')) {
|
178 |
jQuery('.placeholders-settings-tab').animateFadeIn();
|
179 |
}
|
180 |
var aceEditor = ace.edit('wdt-mysql-query');
|
181 |
aceEditor.$blockScrolling = Infinity;
|
182 |
+
if (aceEditor.getValue() != content) {
|
183 |
+
aceEditor.setValue(content);
|
184 |
}
|
185 |
+
} else {
|
186 |
wpdatatable_config.table_type == 'manual' ?
|
187 |
!jQuery('.editing-settings-tab').is(':visible') ? jQuery('.editing-settings-tab').animateFadeIn() : null :
|
188 |
jQuery('.editing-settings-tab').addClass('hidden');
|
189 |
+
jQuery('#wdt-input-url').val(content);
|
190 |
}
|
191 |
+
jQuery('button.wdt-apply').prop('disabled', '');
|
192 |
+
} else {
|
193 |
jQuery('.display-settings-tab').addClass('hidden');
|
194 |
jQuery('.table-sorting-filtering-settings-tab').addClass('hidden');
|
195 |
jQuery('.table-tools-settings-tab').addClass('hidden');
|
196 |
jQuery('.customize-table-settings-tab').addClass('hidden');
|
197 |
jQuery('.editing-settings-tab').addClass('hidden');
|
198 |
jQuery('.placeholders-settings-tab').addClass('hidden');
|
199 |
+
jQuery('button.wdt-apply').prop('disabled', 'disabled');
|
200 |
}
|
201 |
},
|
202 |
/**
|
203 |
* Set the show / hide title
|
204 |
* @param show_title 1 or 0
|
205 |
*/
|
206 |
+
setShowTitle: function (show_title) {
|
207 |
wpdatatable_config.show_title = show_title;
|
208 |
+
jQuery('#wdt-show-title').prop('checked', show_title);
|
209 |
},
|
210 |
/**
|
211 |
* Set the table tools
|
212 |
* @param show_tabletools 1 or 0
|
213 |
* @param table_tools
|
214 |
*/
|
215 |
+
setShowTableTools: function (show_tabletools, table_tools) {
|
216 |
wpdatatable_config.tools = show_tabletools;
|
217 |
+
if (show_tabletools == 1) {
|
218 |
jQuery('.wdt-table-settings .table-tools-settings-block').animateFadeIn();
|
219 |
+
jQuery('.wdt-table-settings .table-tools-include-html-block').animateFadeIn();
|
220 |
+
jQuery.isEmptyObject(table_tools) ?
|
221 |
+
wpdatatable_config.setTableToolsConfig({print: 1, copy: 1, excel: 1, csv: 1, pdf: 0}) :
|
222 |
+
wpdatatable_config.setTableToolsConfig(table_tools);
|
223 |
+
wpdatatable_config.setTableToolsIncludeHTML(0);
|
224 |
+
} else {
|
225 |
jQuery('.wdt-table-settings .table-tools-settings-block').addClass('hidden');
|
226 |
wpdatatable_config.setTableToolsConfig({})
|
227 |
+
jQuery('.wdt-table-settings .table-tools-include-html-block').addClass('hidden');
|
228 |
+
wpdatatable_config.setTableToolsIncludeHTML(0);
|
229 |
}
|
230 |
+
jQuery('#wdt-table-tools').prop('checked', show_tabletools);
|
231 |
+
},
|
232 |
+
/**
|
233 |
+
* Enable or disable table tools include HTML
|
234 |
+
* @param showTableToolsIncludeHTML 1 or 0
|
235 |
+
+*/
|
236 |
+
setTableToolsIncludeHTML: function (showTableToolsIncludeHTML) {
|
237 |
+
wpdatatable_config.showTableToolsIncludeHTML = showTableToolsIncludeHTML;
|
238 |
+
jQuery('#wdt-table-tools-include-html').prop('checked', showTableToolsIncludeHTML);
|
239 |
},
|
240 |
/**
|
241 |
* Enable or disable responsiveness
|
242 |
* @param responsive 1 or 0
|
243 |
*/
|
244 |
+
setResponsive: function (responsive) {
|
245 |
wpdatatable_config.responsive = responsive;
|
246 |
+
jQuery('#wdt-responsive').prop('checked', responsive);
|
247 |
},
|
248 |
/**
|
249 |
* Enable or disable scrollable feature
|
250 |
* @param scrollable 1 or 0
|
251 |
*/
|
252 |
+
setScrollable: function (scrollable) {
|
253 |
wpdatatable_config.scrollable = scrollable;
|
254 |
+
if (scrollable == 1) {
|
255 |
wpdatatable_config.setLimitLayout(0);
|
256 |
jQuery('.limit-table-width-settings-block').addClass('hidden');
|
257 |
} else {
|
258 |
!jQuery('.limit-table-width-settings-block').is(':visible') ? jQuery('.limit-table-width-settings-block').animateFadeIn() : null;
|
259 |
}
|
260 |
+
jQuery('#wdt-scrollable').prop('checked', scrollable);
|
261 |
},
|
262 |
/**
|
263 |
* Enable or disable vertical scroll feature
|
264 |
* @param verticalScroll 1 or 0
|
265 |
*/
|
266 |
+
setVerticalScroll: function (verticalScroll) {
|
267 |
wpdatatable_config.verticalScroll = verticalScroll;
|
268 |
+
if (verticalScroll == 1) {
|
269 |
jQuery('.vertical-scroll-height-block').animateFadeIn();
|
270 |
} else {
|
271 |
wpdatatable_config.setVerticalScrollHeight(600);
|
272 |
jQuery('.vertical-scroll-height-block').animateFadeOut();
|
273 |
}
|
274 |
+
jQuery('#wdt-vertical-scroll').prop('checked', verticalScroll);
|
275 |
},
|
276 |
/**
|
277 |
* Enable or disable hiding before load
|
278 |
* @param hideBeforeLoad 1 or 0
|
279 |
*/
|
280 |
+
setHideBeforeLoad: function (hideBeforeLoad) {
|
281 |
wpdatatable_config.hide_before_load = hideBeforeLoad;
|
282 |
+
jQuery('#wdt-hide-until-loaded').prop('checked', hideBeforeLoad);
|
283 |
},
|
284 |
/**
|
285 |
* Enable or disable limit table layout
|
286 |
* @param limitLayout 1 or 0
|
287 |
*/
|
288 |
+
setLimitLayout: function (limitLayout) {
|
289 |
wpdatatable_config.fixed_layout = limitLayout;
|
290 |
+
if (limitLayout == 1) {
|
291 |
wpdatatable_config.setScrollable(0);
|
292 |
jQuery('.word-wrap-settings-block').animateFadeIn();
|
293 |
jQuery('.wdt-scrollable-block').addClass('hidden');
|
298 |
!jQuery('.wdt-scrollable-block').is(':visible') ? jQuery('.wdt-scrollable-block').animateFadeIn() : null;
|
299 |
jQuery('.wdt-column-width-block').hide();
|
300 |
}
|
301 |
+
jQuery('#wdt-limit-layout').prop('checked', limitLayout);
|
302 |
},
|
303 |
/**
|
304 |
* Enable or disable Word Wrap
|
305 |
* @param wordWrap 1 or 0
|
306 |
*/
|
307 |
+
setWordWrap: function (wordWrap) {
|
308 |
wpdatatable_config.word_wrap = wordWrap;
|
309 |
+
jQuery('#wdt-word-wrap').prop('checked', wordWrap);
|
310 |
},
|
311 |
/**
|
312 |
* Enable or disable display length
|
313 |
* @param displayLength integer - 10, 20, 50, 100, -1 (all)
|
314 |
*/
|
315 |
+
setDisplayLength: function (displayLength) {
|
316 |
wpdatatable_config.display_length = displayLength;
|
317 |
jQuery('#wdt-rows-per-page')
|
318 |
+
.val(displayLength)
|
319 |
.selectpicker('refresh');
|
320 |
},
|
321 |
/**
|
322 |
* Show or hide "Show X entries" dropdown
|
323 |
*/
|
324 |
+
setShowRowsPerPage: function (showRowsPerPage) {
|
325 |
wpdatatable_config.showRowsPerPage = showRowsPerPage;
|
326 |
+
jQuery('#wdt-show-rows-per-page').prop('checked', showRowsPerPage);
|
327 |
},
|
328 |
/**
|
329 |
* Enable or disable the info block
|
330 |
* @param infoBlock 1 or 0
|
331 |
*/
|
332 |
+
setInfoBlock: function (infoBlock) {
|
333 |
wpdatatable_config.info_block = infoBlock;
|
334 |
+
jQuery('#wdt-info-block').prop('checked', infoBlock);
|
335 |
},
|
336 |
/**
|
337 |
* Enable or disable pagination
|
338 |
* @param pagination 1 or 0
|
339 |
*/
|
340 |
+
setPagination: function (pagination) {
|
341 |
wpdatatable_config.pagination = pagination;
|
342 |
+
jQuery('#wdt-pagination').prop('checked', pagination);
|
343 |
+
if (pagination == 1) {
|
344 |
jQuery('.pagination-align-settings-block').removeClass('hidden');
|
345 |
jQuery('.pagination-layout-settings-block').removeClass('hidden');
|
346 |
} else {
|
354 |
* Set pagination alignment
|
355 |
* @param paginationAlign string
|
356 |
*/
|
357 |
+
setPaginationAlign: function (paginationAlign) {
|
358 |
wpdatatable_config.paginationAlign = paginationAlign;
|
359 |
jQuery('#wdt-pagination-align')
|
360 |
+
.val(paginationAlign)
|
361 |
+
.selectpicker('refresh');
|
362 |
},
|
363 |
/**
|
364 |
* Set pagination layout
|
365 |
* @param paginationLayout string
|
366 |
*/
|
367 |
+
setPaginationLayout: function (paginationLayout) {
|
368 |
wpdatatable_config.paginationLayout = paginationLayout;
|
369 |
jQuery('#wdt-pagination-layout')
|
370 |
+
.val(paginationLayout)
|
371 |
+
.selectpicker('refresh');
|
372 |
},
|
373 |
/**
|
374 |
* Enable or disable simple responsive
|
375 |
* @param simpleResponsive 1 or 0
|
376 |
*/
|
377 |
+
setSimpleResponsive: function (simpleResponsive) {
|
378 |
wpdatatable_config.simpleResponsive = simpleResponsive;
|
379 |
+
if (simpleResponsive == 1) {
|
380 |
wpdatatable_config.setScrollable(0);
|
381 |
wpdatatable_config.setLimitLayout(0);
|
382 |
wpdatatable_config.setWordWrap(0);
|
384 |
jQuery('.limit-table-width-settings-block').addClass('hidden');
|
385 |
jQuery('.word-wrap-settings-block').addClass('hidden');
|
386 |
} else {
|
387 |
+
if (wpdatatable_config.scrollable == 1) {
|
388 |
jQuery('.limit-table-width-settings-block').hide();
|
389 |
jQuery('.word-wrap-settings-block').hide();
|
390 |
jQuery('.wdt-scrollable-block').show();
|
391 |
+
} else if (wpdatatable_config.fixed_layout == 1) {
|
392 |
jQuery('.wdt-scrollable-block').hide();
|
393 |
jQuery('.limit-table-width-settings-block').show();
|
394 |
jQuery('.word-wrap-settings-block').show();
|
399 |
|
400 |
|
401 |
}
|
402 |
+
jQuery('#wdt-simple-responsive').prop('checked', simpleResponsive);
|
403 |
},
|
404 |
/**
|
405 |
* Enable or disable first row as a header
|
406 |
* @param simpleHeader 1 or 0
|
407 |
*/
|
408 |
+
setSimpleHeader: function (simpleHeader) {
|
409 |
wpdatatable_config.simpleHeader = simpleHeader;
|
410 |
+
jQuery('#wdt-simple-header').prop('checked', simpleHeader);
|
411 |
},
|
412 |
/**
|
413 |
* Enable or disable odds and even row classes
|
414 |
* @param stripeTable 1 or 0
|
415 |
*/
|
416 |
+
setStripeTable: function (stripeTable) {
|
417 |
wpdatatable_config.stripeTable = stripeTable;
|
418 |
+
jQuery('#wdt-stripe-table').prop('checked', stripeTable);
|
419 |
},
|
420 |
/**
|
421 |
* Set cell padding value
|
422 |
* @param cellPadding 1 or 0
|
423 |
*/
|
424 |
+
setCellPadding: function (cellPadding) {
|
425 |
wpdatatable_config.cellPadding = cellPadding;
|
426 |
+
if (jQuery('#wdt-cell-padding').val() != wpdatatable_config.cellPadding) {
|
427 |
+
jQuery('#wdt-cell-padding').val(wpdatatable_config.cellPadding);
|
428 |
}
|
429 |
},
|
430 |
/**
|
431 |
* Set vertical scroll height value
|
432 |
* @param verticalScrollHeight 1 or 0
|
433 |
*/
|
434 |
+
setVerticalScrollHeight: function (verticalScrollHeight) {
|
435 |
wpdatatable_config.verticalScrollHeight = verticalScrollHeight;
|
436 |
+
if (jQuery('#wdt-vertical-scroll-height').val() != wpdatatable_config.verticalScrollHeight) {
|
437 |
+
jQuery('#wdt-vertical-scroll-height').val(wpdatatable_config.verticalScrollHeight);
|
438 |
}
|
439 |
},
|
440 |
/**
|
441 |
* Enable or disable the advanced filtering
|
442 |
* @param filtering 1 or 0
|
443 |
*/
|
444 |
+
setAdvancedFiltering: function (filtering) {
|
445 |
wpdatatable_config.filtering = filtering;
|
446 |
+
if (filtering == 0) {
|
447 |
jQuery('.filtering-form-block').addClass('hidden');
|
448 |
jQuery('.wdt-clear-filters-block').addClass('hidden');
|
449 |
|
450 |
wpdatatable_config.filtering_form = 0;
|
451 |
wpdatatable_config.clearFilters = 0;
|
452 |
+
jQuery('#wdt-filter-in-form').prop('checked', 0);
|
453 |
+
jQuery('#wdt-clear-filters').prop('checked', 0);
|
454 |
}
|
455 |
+
jQuery('#wdt-advanced-filter').prop('checked', filtering);
|
456 |
},
|
457 |
/**
|
458 |
* Enable or disable the filtering form
|
459 |
* @param filteringForm 1 or 0
|
460 |
*/
|
461 |
+
setFilteringForm: function (filteringForm) {
|
462 |
wpdatatable_config.filtering_form = filteringForm;
|
463 |
+
jQuery('#wdt-filter-in-form').prop('checked', filteringForm);
|
464 |
},
|
465 |
/**
|
466 |
* Enable or disable the clear filters button
|
467 |
* @param clearFilters 1 or 0
|
468 |
*/
|
469 |
+
setClearFilters: function (clearFilters) {
|
470 |
wpdatatable_config.clearFilters = clearFilters;
|
471 |
+
jQuery('#wdt-clear-filters').prop('checked', clearFilters);
|
472 |
},
|
473 |
/**
|
474 |
* Enable or disable sorting
|
475 |
* @param sorting 1 or 0
|
476 |
*/
|
477 |
+
setSorting: function (sorting) {
|
478 |
wpdatatable_config.sorting = sorting;
|
479 |
+
jQuery('#wdt-global-sorting').prop('checked', sorting);
|
480 |
},
|
481 |
/**
|
482 |
* Enable or disable Global Search block
|
483 |
* @param globalSearch 1 or 0
|
484 |
*/
|
485 |
+
setGlobalSearch: function (globalSearch) {
|
486 |
wpdatatable_config.global_search = globalSearch;
|
487 |
+
jQuery('#wdt-global-search').prop('checked', globalSearch);
|
488 |
},
|
489 |
/**
|
490 |
* Enable or disable Editable for MySQL-based tables
|
491 |
* Toggles the dependent feature switches
|
492 |
* @param editable 1 or 0
|
493 |
*/
|
494 |
+
setEditable: function (editable) {
|
495 |
wpdatatable_config.editable = editable;
|
496 |
+
if (wpdatatable_config.table_type == 'mysql' && !jQuery('.editing-settings-tab').is(':visible')) {
|
497 |
jQuery('.editing-settings-tab').animateFadeIn();
|
498 |
}
|
499 |
|
504 |
jQuery('div.wdt-edit-buttons').hide();
|
505 |
}
|
506 |
|
507 |
+
if (editable == 1) {
|
508 |
jQuery('.editing-settings-block').animateFadeIn();
|
509 |
+
if (wpdatatable_config.edit_only_own_rows) {
|
510 |
jQuery('.own-rows-editing-settings-block').animateFadeIn();
|
511 |
}
|
512 |
|
513 |
// Apply selecter and guess the default ID column for editing
|
514 |
+
if (!jQuery('#editing-settings #wdt-id-editing-column').val()) {
|
515 |
+
var id_headers = ['id', 'ID', 'Id', 'wdt_ID'];
|
516 |
|
517 |
var idColumnDefined = false;
|
518 |
+
for (var i in id_headers) {
|
519 |
+
if (wpdatatable_config.columns_by_headers[id_headers[i]]) {
|
520 |
+
wpdatatable_config.setIdEditingColumn(wpdatatable_config.columns_by_headers[id_headers[i]].id);
|
521 |
idColumnDefined = true;
|
522 |
break;
|
523 |
}
|
524 |
}
|
525 |
if (!idColumnDefined && wpdatatable_config.columns.length > 0) {
|
526 |
+
wpdatatable_config.setIdEditingColumn(wpdatatable_config.columns[0].id);
|
527 |
}
|
528 |
}
|
529 |
|
530 |
// Try to guess MySQL table name for editing
|
531 |
var mysqlTableName = wpdatatable_config.content;
|
532 |
+
mysqlTableName = mysqlTableName.slice(mysqlTableName.toLowerCase().indexOf('from') + 5);
|
533 |
+
mysqlTableName = jQuery.trim(mysqlTableName);
|
534 |
mysqlTableName = mysqlTableName.replace(new RegExp("\n", "g"), ' ');
|
535 |
mysqlTableName = mysqlTableName.replace(new RegExp("`", "g"), '');
|
536 |
mysqlTableName.indexOf(' ') != -1
|
537 |
+
? mysqlTableName = mysqlTableName.slice(0, mysqlTableName.indexOf(' ')) : null;
|
538 |
+
wpdatatable_config.setMySQLTableName(mysqlTableName);
|
539 |
|
540 |
+
wpdatatable_config.setServerSide(1);
|
541 |
+
} else {
|
542 |
// Reset all editing settings to default
|
543 |
jQuery('.editing-settings-block').addClass('hidden');
|
544 |
+
jQuery('#wdt-popover-tools').prop('checked', 0);
|
545 |
+
jQuery('#wdt-inline-editable').prop('checked', 0);
|
546 |
jQuery('.own-rows-editing-settings-block').addClass('hidden');
|
547 |
+
jQuery('#wdt-edit-only-own-rows').prop('checked', 0);
|
548 |
|
549 |
wpdatatable_config.popover_tools = 0;
|
550 |
wpdatatable_config.inline_editing = 0;
|
551 |
wpdatatable_config.id_editing_column = false;
|
552 |
wpdatatable_config.editor_roles = '';
|
553 |
+
jQuery('#wdt-editor-roles')
|
554 |
+
.val('')
|
555 |
+
.selectpicker('refresh');
|
556 |
wpdatatable_config.edit_only_own_rows = 0;
|
557 |
wpdatatable_config.userid_column_id = null;
|
558 |
if (wpdatatable_config.table_type != 'manual')
|
559 |
+
wpdatatable_config.setMySQLTableName('');
|
560 |
}
|
561 |
+
jQuery('#wdt-editable').prop('checked', editable);
|
562 |
},
|
563 |
/**
|
564 |
* Enable or disable the popover tools
|
565 |
* @param popoverTools 1 or 0
|
566 |
*/
|
567 |
+
setPopoverTools: function (popoverTools) {
|
568 |
wpdatatable_config.popover_tools = popoverTools;
|
569 |
+
jQuery('#wdt-popover-tools').prop('checked', popoverTools);
|
570 |
},
|
571 |
/**
|
572 |
* Enable or disable inline editing
|
573 |
* @param inlineEditing 1 or 0
|
574 |
*/
|
575 |
+
setInlineEditing: function (inlineEditing) {
|
576 |
wpdatatable_config.inline_editing = inlineEditing;
|
577 |
+
jQuery('#wdt-inline-editable').prop('checked', inlineEditing);
|
578 |
},
|
579 |
/**
|
580 |
* Define MySQL table for editing
|
581 |
* @param mysqlTableName
|
582 |
*/
|
583 |
+
setMySQLTableName: function (mysqlTableName) {
|
584 |
wpdatatable_config.mysql_table_name = mysqlTableName;
|
585 |
+
if (jQuery('#wdt-mysql-table-name').val() != wpdatatable_config.mysql_table_name) {
|
586 |
+
jQuery('#wdt-mysql-table-name').val(wpdatatable_config.mysql_table_name);
|
587 |
}
|
588 |
if (wpdatatable_config.table_type === 'manual') {
|
589 |
jQuery('#wdt-mysql-table-name').prop('disabled', true);
|
593 |
* Define the ID column for editing
|
594 |
* @param idEditingColumn integer
|
595 |
*/
|
596 |
+
setIdEditingColumn: function (idEditingColumn) {
|
597 |
wpdatatable_config.id_editing_column = true;
|
598 |
+
jQuery('#wdt-id-editing-column')
|
599 |
+
.val(idEditingColumn)
|
600 |
+
.selectpicker('refresh');
|
601 |
|
602 |
+
for (var i in wpdatatable_config.columns) {
|
603 |
wpdatatable_config.columns[i].id_column = wpdatatable_config.columns[i].id == idEditingColumn ? 1 : 0;
|
604 |
}
|
605 |
},
|
607 |
* Set the editor roles
|
608 |
* @param editorRoles comma-separated string
|
609 |
*/
|
610 |
+
setEditorRoles: function (editorRoles) {
|
611 |
wpdatatable_config.editor_roles = editorRoles;
|
612 |
+
jQuery('#wdt-editor-roles')
|
613 |
+
.val(editorRoles)
|
614 |
+
.selectpicker('refresh');
|
615 |
},
|
616 |
/**
|
617 |
* Enable editing of only own rows for editable tables
|
618 |
* @param editOwnRows 1 or 0
|
619 |
*/
|
620 |
+
setEditOwnRows: function (editOwnRows) {
|
621 |
wpdatatable_config.edit_only_own_rows = editOwnRows;
|
622 |
+
jQuery('#wdt-edit-only-own-rows').prop('checked', editOwnRows);
|
623 |
+
if (editOwnRows) {
|
624 |
jQuery('.own-rows-editing-settings-block').animateFadeIn();
|
625 |
+
if (wpdatatable_config.userid_column_id == null) {
|
626 |
jQuery('#wdt-user-id-column').selectpicker('refresh');
|
627 |
+
wpdatatable_config.setUserIdColumn(wpdatatable_config.columns[0].id);
|
628 |
} else {
|
629 |
+
wpdatatable_config.setUserIdColumn(wpdatatable_config.userid_column_id);
|
630 |
}
|
631 |
+
} else {
|
632 |
jQuery('.own-rows-editing-settings-block').animateFadeOut();
|
633 |
wpdatatable_config.userid_column_id = null;
|
634 |
}
|
638 |
* only their own rows
|
639 |
* @param userIdColumn
|
640 |
*/
|
641 |
+
setUserIdColumn: function (userIdColumn) {
|
642 |
+
wpdatatable_config.userid_column_id = parseInt(userIdColumn);
|
643 |
+
if (jQuery('#wdt-user-id-column').val() != userIdColumn) {
|
644 |
+
jQuery('#wdt-user-id-column').val(userIdColumn).selectpicker('refresh');
|
645 |
}
|
646 |
},
|
647 |
/**
|
648 |
* Set the selection for table tools
|
649 |
* @param tableToolsConfig
|
650 |
*/
|
651 |
+
setTableToolsConfig: function (tableToolsConfig) {
|
652 |
wpdatatable_config.tabletools_config = tableToolsConfig;
|
653 |
var tabletoolsConfigVal = [];
|
654 |
+
for (var i in tableToolsConfig) {
|
655 |
if (tableToolsConfig[i] == 1)
|
656 |
tabletoolsConfigVal.push(i);
|
657 |
}
|
658 |
+
if (jQuery('#wdt-table-tools-config').val() != tabletoolsConfigVal) {
|
659 |
+
jQuery('#wdt-table-tools-config').val(tabletoolsConfigVal).selectpicker('refresh');
|
660 |
}
|
661 |
},
|
662 |
/**
|
663 |
* Set the VAR 1 placeholder value
|
664 |
*/
|
665 |
+
setPlaceholderVar1: function (var1) {
|
666 |
wpdatatable_config.var1 = var1;
|
667 |
+
if (jQuery('#wdt-var1-placeholder').val() != wpdatatable_config.var1) {
|
668 |
+
jQuery('#wdt-var1-placeholder').val(wpdatatable_config.var1);
|
669 |
}
|
670 |
},
|
671 |
/**
|
672 |
* Set the VAR 2 placeholder value
|
673 |
*/
|
674 |
+
setPlaceholderVar2: function (var2) {
|
675 |
wpdatatable_config.var2 = var2;
|
676 |
+
if (jQuery('#wdt-var2-placeholder').val() != wpdatatable_config.var2) {
|
677 |
+
jQuery('#wdt-var2-placeholder').val(wpdatatable_config.var2);
|
678 |
}
|
679 |
},
|
680 |
/**
|
681 |
* Set the VAR 3 placeholder value
|
682 |
*/
|
683 |
+
setPlaceholderVar3: function (var3) {
|
684 |
wpdatatable_config.var3 = var3;
|
685 |
+
if (jQuery('#wdt-var3-placeholder').val() != wpdatatable_config.var3) {
|
686 |
+
jQuery('#wdt-var3-placeholder').val(wpdatatable_config.var3);
|
687 |
}
|
688 |
},
|
689 |
/**
|
690 |
* Set the Current User ID placeholder value
|
691 |
*/
|
692 |
+
setPlaceholderCurrentUserId: function (currentUserIdPlaceholder) {
|
693 |
wpdatatable_config.currentUserIdPlaceholder = currentUserIdPlaceholder;
|
694 |
+
if (jQuery('#wdt-user-id-placeholder').val() != wpdatatable_config.currentUserIdPlaceholder) {
|
695 |
+
jQuery('#wdt-user-id-placeholder').val(wpdatatable_config.currentUserIdPlaceholder);
|
696 |
}
|
697 |
},
|
698 |
/**
|
699 |
* Set the Current User Login placeholder value
|
700 |
*/
|
701 |
+
setPlaceholderCurrentUserLogin: function (currentUserLoginPlaceholder) {
|
702 |
wpdatatable_config.currentUserLoginPlaceholder = currentUserLoginPlaceholder;
|
703 |
+
if (jQuery('#wdt-user-login-placeholder').val() != wpdatatable_config.currentUserLoginPlaceholder) {
|
704 |
+
jQuery('#wdt-user-login-placeholder').val(wpdatatable_config.currentUserLoginPlaceholder);
|
705 |
}
|
706 |
},
|
707 |
/**
|
708 |
* Set the Current Post ID placeholder value
|
709 |
*/
|
710 |
+
setPlaceholderCurrentPostId: function (currentPostIdPlaceholder) {
|
711 |
wpdatatable_config.currentPostIdPlaceholder = currentPostIdPlaceholder;
|
712 |
+
if (jQuery('#wdt-post-id-placeholder').val() != wpdatatable_config.currentPostIdPlaceholder) {
|
713 |
+
jQuery('#wdt-post-id-placeholder').val(wpdatatable_config.currentPostIdPlaceholder);
|
714 |
}
|
715 |
},
|
716 |
/**
|
717 |
* Set the wpdb placeholder value
|
718 |
*/
|
719 |
+
setPlaceholderWpdb: function (wpdbPlaceholder) {
|
720 |
wpdatatable_config.wpdbPlaceholder = wpdbPlaceholder;
|
721 |
+
if (jQuery('#wdt-wpdb-placeholder').val() != wpdatatable_config.wpdbPlaceholder) {
|
722 |
+
jQuery('#wdt-wpdb-placeholder').val(wpdatatable_config.wpdbPlaceholder);
|
723 |
}
|
724 |
},
|
725 |
/**
|
726 |
* Add a column to the list
|
727 |
* @param column
|
728 |
*/
|
729 |
+
addColumn: function (column) {
|
730 |
+
wpdatatable_config.columns.push(column);
|
731 |
wpdatatable_config.columns_by_headers[column.orig_header] = column;
|
732 |
},
|
733 |
/**
|
734 |
* Define complete column list at once
|
735 |
* @param columns
|
736 |
*/
|
737 |
+
setColumns: function (columns) {
|
738 |
wpdatatable_config.columns = columns;
|
739 |
},
|
740 |
/**
|
741 |
* Open the properties block for the column with defined index
|
742 |
* @param columnIndex
|
743 |
*/
|
744 |
+
showColumn: function (columnIndex) {
|
745 |
+
wpdatatable_config.columns[columnIndex].show();
|
746 |
+
wpdatatable_config.currentOpenColumn = wpdatatable_config.columns[columnIndex];
|
747 |
},
|
748 |
/**
|
749 |
* Returns the column by given index
|
750 |
* @param columnIndex
|
751 |
*/
|
752 |
+
getColumn: function (columnIndex) {
|
753 |
+
return wpdatatable_config.columns[columnIndex];
|
754 |
},
|
755 |
/**
|
756 |
* Returns the column by given header (orig_header)
|
757 |
*/
|
758 |
+
getColumnByHeader: function (origHeader) {
|
759 |
return typeof wpdatatable_config.columns_by_headers[origHeader] !== 'undefined' ?
|
760 |
wpdatatable_config.columns_by_headers[origHeader] : null;
|
761 |
},
|
762 |
|
|
|
763 |
|
764 |
/**
|
765 |
* Method to validate config and enable/disable the apply button
|
766 |
*/
|
767 |
+
validateConfig: function () {
|
768 |
|
769 |
},
|
770 |
/**
|
771 |
* Returns table config in JSON format
|
772 |
*/
|
773 |
+
getJSON: function () {
|
774 |
var properties = _.difference(_.keys(wpdatatable_config), _.functions(wpdatatable_config));
|
775 |
var config = {};
|
776 |
|
790 |
/**
|
791 |
* Initializes the table and columns config from JSON - for save and for edit
|
792 |
*/
|
793 |
+
initFromJSON: function (tableJSON) {
|
794 |
+
wpdatatable_config.setId(tableJSON.id);
|
795 |
+
wpdatatable_config.setTitle(tableJSON.title);
|
796 |
+
wpdatatable_config.setTableType(tableJSON.table_type);
|
797 |
+
wpdatatable_config.setAutoRefresh(tableJSON.auto_refresh);
|
798 |
+
wpdatatable_config.setShowTitle(tableJSON.show_title);
|
799 |
|
|
|
800 |
|
801 |
+
wpdatatable_config.setContent(tableJSON.content);
|
802 |
+
wpdatatable_config.setDisplayLength(tableJSON.display_length);
|
803 |
+
wpdatatable_config.setShowRowsPerPage(tableJSON.showRowsPerPage);
|
804 |
wpdatatable_config.columns = [];
|
805 |
wpdatatable_config.columns_by_headers = {};
|
806 |
+
for (var i in tableJSON.columns) {
|
807 |
tableJSON.columns[i].parent_table = wpdatatable_config;
|
808 |
+
wpdatatable_config.addColumn(new WDTColumn(tableJSON.columns[i]));
|
809 |
}
|
810 |
wpdatatable_config.fillColumnsBlock();
|
811 |
|
|
|
812 |
|
813 |
+
wpdatatable_config.setLimitLayout(parseInt(tableJSON.fixed_layout));
|
814 |
+
wpdatatable_config.setGlobalSearch(parseInt(tableJSON.global_search));
|
815 |
+
wpdatatable_config.setHideBeforeLoad(parseInt(tableJSON.hide_before_load));
|
816 |
+
wpdatatable_config.setInfoBlock(parseInt(tableJSON.info_block));
|
817 |
+
wpdatatable_config.setPagination(parseInt(tableJSON.pagination));
|
818 |
+
wpdatatable_config.setPaginationAlign(tableJSON.paginationAlign);
|
819 |
+
wpdatatable_config.setPaginationLayout(tableJSON.paginationLayout);
|
820 |
+
wpdatatable_config.setSimpleHeader(parseInt(tableJSON.simpleHeader));
|
821 |
+
wpdatatable_config.setStripeTable(parseInt(tableJSON.stripeTable));
|
822 |
+
wpdatatable_config.setCellPadding(parseInt(tableJSON.cellPadding));
|
823 |
+
wpdatatable_config.setVerticalScrollHeight(parseInt(tableJSON.verticalScrollHeight));
|
824 |
+
|
825 |
|
826 |
+
wpdatatable_config.setScrollable(parseInt(tableJSON.scrollable));
|
827 |
+
wpdatatable_config.setSimpleResponsive(parseInt(tableJSON.simpleResponsive));
|
828 |
+
wpdatatable_config.setVerticalScroll(parseInt(tableJSON.verticalScroll));
|
829 |
+
wpdatatable_config.setSorting(parseInt(tableJSON.sorting));
|
830 |
+
wpdatatable_config.setShowTableTools(parseInt(tableJSON.tools), tableJSON.tabletools_config);
|
831 |
+
wpdatatable_config.setTableToolsIncludeHTML( parseInt( tableJSON.showTableToolsIncludeHTML ) );
|
832 |
+
wpdatatable_config.setWordWrap(tableJSON.word_wrap);
|
833 |
+
wpdatatable_config.setPlaceholderVar1(tableJSON.var1);
|
834 |
+
wpdatatable_config.setPlaceholderVar2(tableJSON.var2);
|
835 |
+
wpdatatable_config.setPlaceholderVar3(tableJSON.var3);
|
836 |
},
|
837 |
/**
|
838 |
* Method which draws the "column settings" and "delete formula" buttons in wpDataTable
|
839 |
* and adds events and logic for these buttons
|
840 |
*/
|
841 |
+
drawColumnSettingsButtons: function ($table) {
|
842 |
jQuery('.wdt-preload-layer').animateFadeOut();
|
843 |
+
$table.find('thead tr:eq(0) th.wdtheader').each(function () {
|
844 |
+
if (wpdatatable_config.columns[wpdatatable_config.dataTable.column(jQuery(this)).index()].type == 'formula') {
|
845 |
+
var $formulaDeleteButton = jQuery('<button class="btn btn-default pull-right btn-xs wdt-delete-formula-column" data-toggle="tooltip" title="Click to delete formula column"><i class="wpdt-icon-trash"></i></button>');
|
846 |
+
$formulaDeleteButton.appendTo(this).click(function (e) {
|
847 |
+
var formulaColumn = wpdatatable_config.columns.slice(wpdatatable_config.dataTable.column(jQuery(this).closest('th')).index())[0];
|
848 |
+
for (var i = formulaColumn.pos + 1; i <= wpdatatable_config.columns.length - 1; i++) {
|
849 |
+
wpdatatable_config.columns[i].pos = --wpdatatable_config.columns[i].pos;
|
850 |
+
}
|
851 |
+
wpdatatable_config.columns = _.reject(
|
852 |
+
wpdatatable_config.columns,
|
853 |
+
function (el) {
|
854 |
+
return el.orig_header == formulaColumn.orig_header;
|
855 |
+
});
|
856 |
+
jQuery('button.wdt-apply:eq(0)').click();
|
857 |
+
});
|
858 |
}
|
859 |
var $button = jQuery('<button class="btn btn-default pull-right btn-xs wdt-column-settings" data-toggle="tooltip" title="Click to open column settings"><i class="wpdt-icon-cog"></i></button>');
|
860 |
+
$button.appendTo(this).click(function (e) {
|
861 |
e.preventDefault();
|
862 |
e.stopImmediatePropagation();
|
863 |
+
var columnIndex = wpdatatable_config.dataTable.column(jQuery(this).closest('th')).index();
|
864 |
+
wpdatatable_config.showColumn(columnIndex);
|
865 |
});
|
866 |
});
|
867 |
$table.find('thead th button[data-toggle="tooltip"]').tooltip();
|
868 |
+
jQuery(document).off('click', 'span.columnTitle button.wdt-column-settings').on('click', 'span.columnTitle button.wdt-column-settings', function (e) {
|
869 |
e.preventDefault();
|
870 |
e.stopImmediatePropagation();
|
871 |
var columnIndex = jQuery(this).closest('li').data('column');
|
872 |
+
wpdatatable_config.showColumn(columnIndex);
|
873 |
});
|
874 |
jQuery('#wpdatatable-preview-container table').show();
|
875 |
jQuery('input.number-range-filter').keyup();
|
882 |
* Sets the string for table HTML
|
883 |
* @param table_html
|
884 |
*/
|
885 |
+
setTableHtml: function (table_html) {
|
886 |
wpdatatable_config.table_html = table_html;
|
887 |
},
|
888 |
/**
|
889 |
* Sets the JSON object for datatable_config
|
890 |
* @param datatable_config
|
891 |
*/
|
892 |
+
setDataTableConfig: function (datatable_config) {
|
893 |
wpdatatable_config.datatable_config = datatable_config;
|
894 |
},
|
895 |
+
renderTable: function () {
|
896 |
+
if (!jQuery('div.column-settings').is(':visible')) {
|
897 |
jQuery('div.column-settings').fadeInDown();
|
898 |
}
|
899 |
+
if (wpdatatable_config.dataTable != null) {
|
900 |
wpdatatable_config.dataTable.destroy();
|
901 |
}
|
902 |
+
if (wpdatatable_config.table_html != '') {
|
903 |
jQuery('#wpdatatable-preview-container').html('');
|
904 |
+
jQuery('#wpdatatable-preview-container').html(wpdatatable_config.table_html);
|
905 |
}
|
906 |
wpdatatable_config.dataTable = wdtRenderDataTable(
|
907 |
+
jQuery('#wpdatatable-preview-container table'),
|
908 |
+
wpdatatable_config.datatable_config
|
909 |
+
).api();
|
910 |
|
911 |
+
wpdatatable_config.drawColumnSettingsButtons(jQuery('#wpdatatable-preview-container table'));
|
912 |
jQuery('.wpDataTablesWrapper .dataTables_length .length_menu').selectpicker();
|
913 |
},
|
914 |
/**
|
915 |
* Helper method that fills in the columns in he column popup
|
916 |
* from the wpdatatable_config.columns array
|
917 |
*/
|
918 |
+
fillColumnsBlock: function () {
|
919 |
+
jQuery('#wdt-columns-list-modal div.wdt-columns-container').html('');
|
920 |
+
jQuery('#wdt-formula-editor-modal div.formula-columns-container').html('');
|
921 |
+
jQuery('#editing-settings #wdt-id-editing-column').html('');
|
922 |
+
jQuery('#editing-settings #wdt-user-id-column').html('');
|
923 |
+
for (var i in wpdatatable_config.columns) {
|
924 |
wpdatatable_config.columns[i].renderSmallColumnBlock(i);
|
925 |
if (wpdatatable_config.table_type == 'mysql' || wpdatatable_config.table_type == 'manual') {
|
926 |
wpdatatable_config.columns[i].populateColumnForEditing();
|
928 |
}
|
929 |
}
|
930 |
|
931 |
+
jQuery('#wdt-id-editing-column').selectpicker('refresh');
|
932 |
if (wpdatatable_config.id_editing_column == false)
|
933 |
jQuery('#wdt-id-editing-column').selectpicker('val', '');
|
934 |
|
935 |
+
jQuery('#wdt-user-id-column').selectpicker('val', wpdatatable_config.userid_column_id);
|
936 |
|
937 |
// Apply new tooltips
|
938 |
+
jQuery('#wdt-columns-list-modal [data-toggle="tooltip"]').tooltip();
|
939 |
},
|
940 |
/**
|
941 |
* Helper method to generate a formula name, checking that same name wouldn't already exist in the table
|
942 |
*/
|
943 |
+
generateFormulaName: function () {
|
944 |
var i = 1;
|
945 |
var nameGenerated = false;
|
946 |
var name = '';
|
947 |
+
while (!nameGenerated) {
|
948 |
+
name = 'formula_' + i;
|
949 |
+
if (wpdatatable_config.getColumnByHeader(name) == null) {
|
950 |
nameGenerated = true;
|
951 |
}
|
952 |
i++;
|
config/config.inc.php
CHANGED
@@ -9,7 +9,7 @@ defined('ABSPATH') or die("Cannot access pages directly.");
|
|
9 |
|
10 |
// Current version
|
11 |
|
12 |
-
define('WDT_CURRENT_VERSION', '2.1.
|
13 |
|
14 |
/**
|
15 |
* Regular Expressions
|
9 |
|
10 |
// Current version
|
11 |
|
12 |
+
define('WDT_CURRENT_VERSION', '2.1.16');
|
13 |
|
14 |
/**
|
15 |
* Regular Expressions
|
readme.txt
CHANGED
@@ -4,9 +4,9 @@ Author URI: https://tms-outsource.com
|
|
4 |
Plugin URI: https://wpdatatables.com/
|
5 |
Tags: table, table builder, data tables, tables, charts, simple table, tables from csv, tables from excel, datatables, responsive tables, charting, pie charts, mysql tables, table plugin, wp table, WordPress table Plugin, Google Charts, Excel, JSON, XML, PHP array, line chart, donut, bar chart, histogram, area chart, bubble chart, gauge chart, scatter chart, candlestick, waterfall
|
6 |
Requires at least: 4.0
|
7 |
-
Tested up to: 5.
|
8 |
Requires PHP: 5.6
|
9 |
-
Stable tag: 2.1.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -26,6 +26,7 @@ Here is the list of the new functionality in those simple tables:
|
|
26 |
* Add/Remove columns and rows
|
27 |
* Resize/Reorder columns and rows
|
28 |
* Cell custom formatting
|
|
|
29 |
* Undo/Redo
|
30 |
* Add star rating
|
31 |
* Custom links
|
@@ -236,6 +237,14 @@ This can be changed from the “Number format” drop-down menu in the wpDataTab
|
|
236 |
|
237 |
== Changelog ==
|
238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
= 2.1.15 =
|
240 |
|
241 |
* Bugfix: Removed unnecessary CSS.
|
4 |
Plugin URI: https://wpdatatables.com/
|
5 |
Tags: table, table builder, data tables, tables, charts, simple table, tables from csv, tables from excel, datatables, responsive tables, charting, pie charts, mysql tables, table plugin, wp table, WordPress table Plugin, Google Charts, Excel, JSON, XML, PHP array, line chart, donut, bar chart, histogram, area chart, bubble chart, gauge chart, scatter chart, candlestick, waterfall
|
6 |
Requires at least: 4.0
|
7 |
+
Tested up to: 5.8
|
8 |
Requires PHP: 5.6
|
9 |
+
Stable tag: 2.1.16
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
26 |
* Add/Remove columns and rows
|
27 |
* Resize/Reorder columns and rows
|
28 |
* Cell custom formatting
|
29 |
+
* Font family and font size
|
30 |
* Undo/Redo
|
31 |
* Add star rating
|
32 |
* Custom links
|
237 |
|
238 |
== Changelog ==
|
239 |
|
240 |
+
= 2.1.16 =
|
241 |
+
|
242 |
+
* Feature: Added Font and Font size options in simple table.
|
243 |
+
* Feature: Added new option for showing HTML code in exported files like Print, Copy, CSV and Excel.
|
244 |
+
* Updated moment.js library.
|
245 |
+
* Compatibility with WordPress 5.8 approved.
|
246 |
+
* Other small bug fixes and stability improvements.
|
247 |
+
|
248 |
= 2.1.15 =
|
249 |
|
250 |
* Bugfix: Removed unnecessary CSS.
|
source/class.wdtconfigcontroller.php
CHANGED
@@ -151,6 +151,7 @@ class WDTConfigController {
|
|
151 |
$table->tabletools_config = unserialize($table->tabletools_config);
|
152 |
$table->columns = self::getColumnsConfig($tableId);
|
153 |
$table->info_block = (isset($advancedSettings->info_block)) ? $advancedSettings->info_block : 1;
|
|
|
154 |
$table->pagination = (isset($advancedSettings->pagination)) ? $advancedSettings->pagination : 1;
|
155 |
$table->paginationAlign = (isset($advancedSettings->paginationAlign)) ? $advancedSettings->paginationAlign : 'right';
|
156 |
$table->paginationLayout = (isset($advancedSettings->paginationLayout)) ? $advancedSettings->paginationLayout : 'full_numbers';
|
@@ -271,6 +272,7 @@ class WDTConfigController {
|
|
271 |
'advanced_settings' => json_encode(
|
272 |
array(
|
273 |
'info_block' => $table->info_block,
|
|
|
274 |
'pagination' => $table->pagination,
|
275 |
'paginationAlign' => $table->paginationAlign,
|
276 |
'paginationLayout' => $table->paginationLayout,
|
@@ -325,6 +327,7 @@ class WDTConfigController {
|
|
325 |
$table->show_title = (int)$table->show_title;
|
326 |
$table->table_type = sanitize_text_field($table->table_type);
|
327 |
$table->tools = (int)$table->tools;
|
|
|
328 |
$table->responsive = (int)$table->responsive;
|
329 |
$table->hide_before_load = (int)$table->hide_before_load;
|
330 |
$table->fixed_layout = (int)$table->fixed_layout;
|
@@ -890,6 +893,7 @@ class WDTConfigController {
|
|
890 |
$table->title = '';
|
891 |
$table->show_title = 0;
|
892 |
$table->table_type = '';
|
|
|
893 |
$table->tools = 1;
|
894 |
$table->responsive = 0;
|
895 |
$table->hide_before_load = 1;
|
151 |
$table->tabletools_config = unserialize($table->tabletools_config);
|
152 |
$table->columns = self::getColumnsConfig($tableId);
|
153 |
$table->info_block = (isset($advancedSettings->info_block)) ? $advancedSettings->info_block : 1;
|
154 |
+
$table->showTableToolsIncludeHTML = (isset($advancedSettings->showTableToolsIncludeHTML)) ? $advancedSettings->showTableToolsIncludeHTML : 0;
|
155 |
$table->pagination = (isset($advancedSettings->pagination)) ? $advancedSettings->pagination : 1;
|
156 |
$table->paginationAlign = (isset($advancedSettings->paginationAlign)) ? $advancedSettings->paginationAlign : 'right';
|
157 |
$table->paginationLayout = (isset($advancedSettings->paginationLayout)) ? $advancedSettings->paginationLayout : 'full_numbers';
|
272 |
'advanced_settings' => json_encode(
|
273 |
array(
|
274 |
'info_block' => $table->info_block,
|
275 |
+
'showTableToolsIncludeHTML' => $table->showTableToolsIncludeHTML,
|
276 |
'pagination' => $table->pagination,
|
277 |
'paginationAlign' => $table->paginationAlign,
|
278 |
'paginationLayout' => $table->paginationLayout,
|
327 |
$table->show_title = (int)$table->show_title;
|
328 |
$table->table_type = sanitize_text_field($table->table_type);
|
329 |
$table->tools = (int)$table->tools;
|
330 |
+
$table->showTableToolsIncludeHTML = (int)$table->showTableToolsIncludeHTML;
|
331 |
$table->responsive = (int)$table->responsive;
|
332 |
$table->hide_before_load = (int)$table->hide_before_load;
|
333 |
$table->fixed_layout = (int)$table->fixed_layout;
|
893 |
$table->title = '';
|
894 |
$table->show_title = 0;
|
895 |
$table->table_type = '';
|
896 |
+
$table->showTableToolsIncludeHTML = 0;
|
897 |
$table->tools = 1;
|
898 |
$table->responsive = 0;
|
899 |
$table->hide_before_load = 1;
|
source/class.wpdatatable.php
CHANGED
@@ -69,6 +69,7 @@ class WPDataTable
|
|
69 |
private $_fixedLayout = false;
|
70 |
private $_wordWrap = false;
|
71 |
private $_columnsCSS = '';
|
|
|
72 |
private $_tableToolsConfig = array();
|
73 |
private $_autoRefreshInterval = 0;
|
74 |
private $_infoBlock = true;
|
@@ -516,6 +517,16 @@ class WPDataTable
|
|
516 |
return $this->_showTT;
|
517 |
}
|
518 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
519 |
public function hideToolbar()
|
520 |
{
|
521 |
$this->_toolbar = false;
|
@@ -1945,6 +1956,7 @@ class WPDataTable
|
|
1945 |
isset($advancedSettings->pagination) ? $this->setPagination($advancedSettings->pagination) : $this->setPagination(true);
|
1946 |
isset($advancedSettings->paginationAlign) ? $this->setPaginationAlign($advancedSettings->paginationAlign) : $this->setPaginationAlign('right');
|
1947 |
isset($advancedSettings->paginationLayout) ? $this->setPaginationLayout($advancedSettings->paginationLayout) : $this->setPaginationLayout('full_numbers');
|
|
|
1948 |
} else {
|
1949 |
$this->setInfoBlock(true);
|
1950 |
$this->setGlobalSearch(true);
|
@@ -1958,6 +1970,7 @@ class WPDataTable
|
|
1958 |
$this->setPagination(true);
|
1959 |
$this->setPaginationAlign('right');
|
1960 |
$this->setPaginationLayout('full_numbers');
|
|
|
1961 |
}
|
1962 |
|
1963 |
if (!empty($columnData['columnOrder'])) {
|
@@ -2156,6 +2169,7 @@ class WPDataTable
|
|
2156 |
|
2157 |
$currentSkin = get_option('wdtBaseSkin');
|
2158 |
$skinsWithNewTableToolsButtons = ['aqua', 'purple', 'dark'];
|
|
|
2159 |
|
2160 |
if ($this->TTEnabled()) {
|
2161 |
(!isset($obj->dataTableParams->buttons)) ? $obj->dataTableParams->buttons = array() : '';
|
@@ -2174,7 +2188,10 @@ class WPDataTable
|
|
2174 |
$obj->dataTableParams->buttons[] =
|
2175 |
array(
|
2176 |
'extend' => 'print',
|
2177 |
-
'exportOptions' => array(
|
|
|
|
|
|
|
2178 |
'className' => 'DTTT_button DTTT_button_print',
|
2179 |
'text' => __('Print', 'wpdatatables'),
|
2180 |
'title' => $wdtExportFileName
|
@@ -2185,7 +2202,10 @@ class WPDataTable
|
|
2185 |
$exportButtons[] =
|
2186 |
array(
|
2187 |
'extend' => 'excelHtml5',
|
2188 |
-
'exportOptions' => array(
|
|
|
|
|
|
|
2189 |
'title' => $wdtExportFileName,
|
2190 |
'text' => __('Excel', 'wpdatatables')
|
2191 |
);
|
@@ -2194,7 +2214,10 @@ class WPDataTable
|
|
2194 |
$exportButtons[] =
|
2195 |
array(
|
2196 |
'extend' => 'csvHtml5',
|
2197 |
-
'exportOptions' => array(
|
|
|
|
|
|
|
2198 |
'title' => $wdtExportFileName,
|
2199 |
'text' => __('CSV', 'wpdatatables')
|
2200 |
);
|
@@ -2203,7 +2226,10 @@ class WPDataTable
|
|
2203 |
$exportButtons[] =
|
2204 |
array(
|
2205 |
'extend' => 'copyHtml5',
|
2206 |
-
'exportOptions' => array(
|
|
|
|
|
|
|
2207 |
'title' => $wdtExportFileName,
|
2208 |
'text' => __('Copy', 'wpdatatables')
|
2209 |
);
|
@@ -2243,7 +2269,10 @@ class WPDataTable
|
|
2243 |
$obj->dataTableParams->buttons[] =
|
2244 |
array(
|
2245 |
'extend' => 'print',
|
2246 |
-
'exportOptions' => array(
|
|
|
|
|
|
|
2247 |
'className' => 'DTTT_button DTTT_button_print',
|
2248 |
'text' => __('Print', 'wpdatatables'),
|
2249 |
'title' => $wdtExportFileName
|
@@ -2254,7 +2283,10 @@ class WPDataTable
|
|
2254 |
$obj->dataTableParams->buttons[] =
|
2255 |
array(
|
2256 |
'extend' => 'excelHtml5',
|
2257 |
-
'exportOptions' => array(
|
|
|
|
|
|
|
2258 |
'className' => 'DTTT_button DTTT_button_xls',
|
2259 |
'title' => $wdtExportFileName,
|
2260 |
'text' => __('Excel', 'wpdatatables')
|
@@ -2264,7 +2296,10 @@ class WPDataTable
|
|
2264 |
$obj->dataTableParams->buttons[] =
|
2265 |
array(
|
2266 |
'extend' => 'csvHtml5',
|
2267 |
-
'exportOptions' => array(
|
|
|
|
|
|
|
2268 |
'className' => 'DTTT_button DTTT_button_csv',
|
2269 |
'title' => $wdtExportFileName,
|
2270 |
'text' => __('CSV', 'wpdatatables')
|
@@ -2274,7 +2309,10 @@ class WPDataTable
|
|
2274 |
$obj->dataTableParams->buttons[] =
|
2275 |
array(
|
2276 |
'extend' => 'copyHtml5',
|
2277 |
-
'exportOptions' => array(
|
|
|
|
|
|
|
2278 |
'className' => 'DTTT_button DTTT_button_copy',
|
2279 |
'title' => $wdtExportFileName,
|
2280 |
'text' => __('Copy', 'wpdatatables')
|
69 |
private $_fixedLayout = false;
|
70 |
private $_wordWrap = false;
|
71 |
private $_columnsCSS = '';
|
72 |
+
private $_showTableToolsIncludeHTML = 0;
|
73 |
private $_tableToolsConfig = array();
|
74 |
private $_autoRefreshInterval = 0;
|
75 |
private $_infoBlock = true;
|
517 |
return $this->_showTT;
|
518 |
}
|
519 |
|
520 |
+
public function getTableToolsIncludeHTML()
|
521 |
+
{
|
522 |
+
return $this->_showTableToolsIncludeHTML;
|
523 |
+
}
|
524 |
+
public function setTableToolsIncludeHTML($showTableToolsIncludeHTML)
|
525 |
+
{
|
526 |
+
$this->_showTableToolsIncludeHTML = $showTableToolsIncludeHTML;
|
527 |
+
}
|
528 |
+
|
529 |
+
|
530 |
public function hideToolbar()
|
531 |
{
|
532 |
$this->_toolbar = false;
|
1956 |
isset($advancedSettings->pagination) ? $this->setPagination($advancedSettings->pagination) : $this->setPagination(true);
|
1957 |
isset($advancedSettings->paginationAlign) ? $this->setPaginationAlign($advancedSettings->paginationAlign) : $this->setPaginationAlign('right');
|
1958 |
isset($advancedSettings->paginationLayout) ? $this->setPaginationLayout($advancedSettings->paginationLayout) : $this->setPaginationLayout('full_numbers');
|
1959 |
+
isset($advancedSettings->showTableToolsIncludeHTML) ? $this->setTableToolsIncludeHTML($advancedSettings->showTableToolsIncludeHTML) : $this->setTableToolsIncludeHTML(false);
|
1960 |
} else {
|
1961 |
$this->setInfoBlock(true);
|
1962 |
$this->setGlobalSearch(true);
|
1970 |
$this->setPagination(true);
|
1971 |
$this->setPaginationAlign('right');
|
1972 |
$this->setPaginationLayout('full_numbers');
|
1973 |
+
$this->setTableToolsIncludeHTML(false);
|
1974 |
}
|
1975 |
|
1976 |
if (!empty($columnData['columnOrder'])) {
|
2169 |
|
2170 |
$currentSkin = get_option('wdtBaseSkin');
|
2171 |
$skinsWithNewTableToolsButtons = ['aqua', 'purple', 'dark'];
|
2172 |
+
$tableToolsIncludeHTML = !$this->getTableToolsIncludeHTML();
|
2173 |
|
2174 |
if ($this->TTEnabled()) {
|
2175 |
(!isset($obj->dataTableParams->buttons)) ? $obj->dataTableParams->buttons = array() : '';
|
2188 |
$obj->dataTableParams->buttons[] =
|
2189 |
array(
|
2190 |
'extend' => 'print',
|
2191 |
+
'exportOptions' => array(
|
2192 |
+
'columns' => ':visible',
|
2193 |
+
'stripHtml' => $tableToolsIncludeHTML
|
2194 |
+
),
|
2195 |
'className' => 'DTTT_button DTTT_button_print',
|
2196 |
'text' => __('Print', 'wpdatatables'),
|
2197 |
'title' => $wdtExportFileName
|
2202 |
$exportButtons[] =
|
2203 |
array(
|
2204 |
'extend' => 'excelHtml5',
|
2205 |
+
'exportOptions' => array(
|
2206 |
+
'columns' => ':visible',
|
2207 |
+
'stripHtml' => $tableToolsIncludeHTML
|
2208 |
+
),
|
2209 |
'title' => $wdtExportFileName,
|
2210 |
'text' => __('Excel', 'wpdatatables')
|
2211 |
);
|
2214 |
$exportButtons[] =
|
2215 |
array(
|
2216 |
'extend' => 'csvHtml5',
|
2217 |
+
'exportOptions' => array(
|
2218 |
+
'columns' => ':visible',
|
2219 |
+
'stripHtml' => $tableToolsIncludeHTML
|
2220 |
+
),
|
2221 |
'title' => $wdtExportFileName,
|
2222 |
'text' => __('CSV', 'wpdatatables')
|
2223 |
);
|
2226 |
$exportButtons[] =
|
2227 |
array(
|
2228 |
'extend' => 'copyHtml5',
|
2229 |
+
'exportOptions' => array(
|
2230 |
+
'columns' => ':visible',
|
2231 |
+
'stripHtml' => $tableToolsIncludeHTML
|
2232 |
+
),
|
2233 |
'title' => $wdtExportFileName,
|
2234 |
'text' => __('Copy', 'wpdatatables')
|
2235 |
);
|
2269 |
$obj->dataTableParams->buttons[] =
|
2270 |
array(
|
2271 |
'extend' => 'print',
|
2272 |
+
'exportOptions' => array(
|
2273 |
+
'columns' => ':visible',
|
2274 |
+
'stripHtml' => $tableToolsIncludeHTML
|
2275 |
+
),
|
2276 |
'className' => 'DTTT_button DTTT_button_print',
|
2277 |
'text' => __('Print', 'wpdatatables'),
|
2278 |
'title' => $wdtExportFileName
|
2283 |
$obj->dataTableParams->buttons[] =
|
2284 |
array(
|
2285 |
'extend' => 'excelHtml5',
|
2286 |
+
'exportOptions' => array(
|
2287 |
+
'columns' => ':visible',
|
2288 |
+
'stripHtml' => $tableToolsIncludeHTML
|
2289 |
+
),
|
2290 |
'className' => 'DTTT_button DTTT_button_xls',
|
2291 |
'title' => $wdtExportFileName,
|
2292 |
'text' => __('Excel', 'wpdatatables')
|
2296 |
$obj->dataTableParams->buttons[] =
|
2297 |
array(
|
2298 |
'extend' => 'csvHtml5',
|
2299 |
+
'exportOptions' => array(
|
2300 |
+
'columns' => ':visible',
|
2301 |
+
'stripHtml' => $tableToolsIncludeHTML
|
2302 |
+
),
|
2303 |
'className' => 'DTTT_button DTTT_button_csv',
|
2304 |
'title' => $wdtExportFileName,
|
2305 |
'text' => __('CSV', 'wpdatatables')
|
2309 |
$obj->dataTableParams->buttons[] =
|
2310 |
array(
|
2311 |
'extend' => 'copyHtml5',
|
2312 |
+
'exportOptions' => array(
|
2313 |
+
'columns' => ':visible',
|
2314 |
+
'stripHtml' => $tableToolsIncludeHTML
|
2315 |
+
),
|
2316 |
'className' => 'DTTT_button DTTT_button_copy',
|
2317 |
'title' => $wdtExportFileName,
|
2318 |
'text' => __('Copy', 'wpdatatables')
|
source/class.wpdatatablerows.php
CHANGED
@@ -32,6 +32,7 @@ class WPDataTableRows
|
|
32 |
$this->setReloadCounter($tableData->content->reloadCounter);
|
33 |
$this->setTableSettingsData($tableData);
|
34 |
}
|
|
|
35 |
/**
|
36 |
* @return mixed
|
37 |
*/
|
@@ -47,6 +48,7 @@ class WPDataTableRows
|
|
47 |
{
|
48 |
$this->_tableID = $tableID;
|
49 |
}
|
|
|
50 |
/**
|
51 |
* @return string
|
52 |
*/
|
@@ -78,6 +80,7 @@ class WPDataTableRows
|
|
78 |
{
|
79 |
$this->_tableType = $tableType;
|
80 |
}
|
|
|
81 |
/**
|
82 |
* @return array
|
83 |
*/
|
@@ -109,6 +112,7 @@ class WPDataTableRows
|
|
109 |
{
|
110 |
$this->_colWidths = $colWidths;
|
111 |
}
|
|
|
112 |
/**
|
113 |
* @return string
|
114 |
*/
|
@@ -136,7 +140,7 @@ class WPDataTableRows
|
|
136 |
/**
|
137 |
* @param string $rowNumber
|
138 |
*/
|
139 |
-
public function setRowNumber(
|
140 |
{
|
141 |
$this->_rowNumber = $rowNumber;
|
142 |
}
|
@@ -152,7 +156,7 @@ class WPDataTableRows
|
|
152 |
/**
|
153 |
* @param array $rowsData
|
154 |
*/
|
155 |
-
public function setRowsData(
|
156 |
{
|
157 |
$this->_rowsData = $rowsData;
|
158 |
}
|
@@ -178,6 +182,7 @@ class WPDataTableRows
|
|
178 |
{
|
179 |
return $rowData[$rowIndex]->cells[$colIndex]->type;
|
180 |
}
|
|
|
181 |
/**
|
182 |
* @param $rowData
|
183 |
* @param $colIndex
|
@@ -188,6 +193,7 @@ class WPDataTableRows
|
|
188 |
{
|
189 |
return $rowData[$rowIndex]->cells[$colIndex]->hidden;
|
190 |
}
|
|
|
191 |
/**
|
192 |
* @param $rowData
|
193 |
* @param $colIndex
|
@@ -196,7 +202,7 @@ class WPDataTableRows
|
|
196 |
*/
|
197 |
public function getCellClassesByIndexes($rowData, $rowIndex, $colIndex)
|
198 |
{
|
199 |
-
if (isset(
|
200 |
return $rowData[$rowIndex]->cells[$colIndex]->meta;
|
201 |
|
202 |
return false;
|
@@ -213,7 +219,7 @@ class WPDataTableRows
|
|
213 |
/**
|
214 |
* @param string $cellData
|
215 |
*/
|
216 |
-
public function setCellData(
|
217 |
{
|
218 |
$this->_cellData = $cellData;
|
219 |
}
|
@@ -229,7 +235,7 @@ class WPDataTableRows
|
|
229 |
/**
|
230 |
* @param string $cellType
|
231 |
*/
|
232 |
-
public function setCellType(
|
233 |
{
|
234 |
$this->_cellType = $cellType;
|
235 |
}
|
@@ -321,7 +327,8 @@ class WPDataTableRows
|
|
321 |
* @return WPDataTableRows
|
322 |
* @throws Exception
|
323 |
*/
|
324 |
-
public static function loadWpDataTableRows($tableId)
|
|
|
325 |
$tableData = WDTConfigController::loadTableFromDB($tableId, false);
|
326 |
$tableData->content = json_decode($tableData->content);
|
327 |
$tableData->simpleResponsive = json_decode($tableData->advanced_settings)->simpleResponsive;
|
@@ -331,7 +338,7 @@ class WPDataTableRows
|
|
331 |
$tableData->verticalScroll = json_decode($tableData->advanced_settings)->verticalScroll;
|
332 |
$tableData->verticalScrollHeight = json_decode($tableData->advanced_settings)->verticalScrollHeight;
|
333 |
|
334 |
-
$wpDataTableRows =
|
335 |
$wpDataTableRows->setTableID($tableId);
|
336 |
|
337 |
$rowsDataPrepared = WDTConfigController::loadRowsDataFromDB($tableId);;
|
@@ -403,7 +410,6 @@ class WPDataTableRows
|
|
403 |
}
|
404 |
|
405 |
|
406 |
-
|
407 |
public function renderStyles()
|
408 |
{
|
409 |
// Generate the style block
|
@@ -413,8 +419,8 @@ class WPDataTableRows
|
|
413 |
$customCss = get_option('wdtCustomCss');
|
414 |
$returnData .= $this->getTableSettingsData()->fixed_layout ? "table#wpdtSimpleTable-" . $this->getTableID() . "{ table-layout: fixed !important; }\n" : '';
|
415 |
$returnData .= $this->getTableSettingsData()->word_wrap ? "table#wpdtSimpleTable-" . $this->getTableID() . " td, table.wpdtSimpleTable" . $this->getTableID() . " th { white-space: normal !important; }\n" : '';
|
416 |
-
$returnData .= $this->getTableSettingsData()->verticalScroll ? ".wpDataTables.wpDataTablesWrapper.wdtVerticalScroll { overflow-y:auto; height:" . $this->getTableSettingsData()->verticalScrollHeight ."px; }\n" : '';
|
417 |
-
$returnData .= $this->getTableSettingsData()->verticalScroll ? ".wpDataTableContainerSimpleTable .wdt-res-wrapper.active {overflow: initial; max-height:" . $this->getTableSettingsData()->verticalScrollHeight ."px !important; }\n" : '';
|
418 |
|
419 |
if ($customCss) {
|
420 |
$returnData .= stripslashes_deep($customCss);
|
@@ -428,6 +434,7 @@ class WPDataTableRows
|
|
428 |
}
|
429 |
if ($this->getCellMetaData() != []) {
|
430 |
$cellClasses = array_unique($this->getCellMetaData());
|
|
|
431 |
foreach ($cellClasses as $cellClass) {
|
432 |
if (strpos($cellClass, 'wpdt-tc-') !== false) {
|
433 |
$textColor = str_replace('wpdt-tc-', '', $cellClass);
|
@@ -435,6 +442,14 @@ class WPDataTableRows
|
|
435 |
} else if (strpos($cellClass, 'wpdt-bc-') !== false) {
|
436 |
$bgColor = str_replace('wpdt-bc-', '', $cellClass);
|
437 |
$returnData .= "." . $cellClass . " { background-color: #" . $bgColor . " !important;}\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
438 |
}
|
439 |
}
|
440 |
}
|
@@ -485,7 +500,7 @@ class WPDataTableRows
|
|
485 |
}
|
486 |
}
|
487 |
}
|
488 |
-
if(isset($cellClasses)) $this->setCellMetaData($cellClasses);
|
489 |
}
|
490 |
|
491 |
/**
|
32 |
$this->setReloadCounter($tableData->content->reloadCounter);
|
33 |
$this->setTableSettingsData($tableData);
|
34 |
}
|
35 |
+
|
36 |
/**
|
37 |
* @return mixed
|
38 |
*/
|
48 |
{
|
49 |
$this->_tableID = $tableID;
|
50 |
}
|
51 |
+
|
52 |
/**
|
53 |
* @return string
|
54 |
*/
|
80 |
{
|
81 |
$this->_tableType = $tableType;
|
82 |
}
|
83 |
+
|
84 |
/**
|
85 |
* @return array
|
86 |
*/
|
112 |
{
|
113 |
$this->_colWidths = $colWidths;
|
114 |
}
|
115 |
+
|
116 |
/**
|
117 |
* @return string
|
118 |
*/
|
140 |
/**
|
141 |
* @param string $rowNumber
|
142 |
*/
|
143 |
+
public function setRowNumber($rowNumber)
|
144 |
{
|
145 |
$this->_rowNumber = $rowNumber;
|
146 |
}
|
156 |
/**
|
157 |
* @param array $rowsData
|
158 |
*/
|
159 |
+
public function setRowsData($rowsData)
|
160 |
{
|
161 |
$this->_rowsData = $rowsData;
|
162 |
}
|
182 |
{
|
183 |
return $rowData[$rowIndex]->cells[$colIndex]->type;
|
184 |
}
|
185 |
+
|
186 |
/**
|
187 |
* @param $rowData
|
188 |
* @param $colIndex
|
193 |
{
|
194 |
return $rowData[$rowIndex]->cells[$colIndex]->hidden;
|
195 |
}
|
196 |
+
|
197 |
/**
|
198 |
* @param $rowData
|
199 |
* @param $colIndex
|
202 |
*/
|
203 |
public function getCellClassesByIndexes($rowData, $rowIndex, $colIndex)
|
204 |
{
|
205 |
+
if (isset($rowData[$rowIndex]->cells[$colIndex]->meta))
|
206 |
return $rowData[$rowIndex]->cells[$colIndex]->meta;
|
207 |
|
208 |
return false;
|
219 |
/**
|
220 |
* @param string $cellData
|
221 |
*/
|
222 |
+
public function setCellData($cellData)
|
223 |
{
|
224 |
$this->_cellData = $cellData;
|
225 |
}
|
235 |
/**
|
236 |
* @param string $cellType
|
237 |
*/
|
238 |
+
public function setCellType($cellType)
|
239 |
{
|
240 |
$this->_cellType = $cellType;
|
241 |
}
|
327 |
* @return WPDataTableRows
|
328 |
* @throws Exception
|
329 |
*/
|
330 |
+
public static function loadWpDataTableRows($tableId)
|
331 |
+
{
|
332 |
$tableData = WDTConfigController::loadTableFromDB($tableId, false);
|
333 |
$tableData->content = json_decode($tableData->content);
|
334 |
$tableData->simpleResponsive = json_decode($tableData->advanced_settings)->simpleResponsive;
|
338 |
$tableData->verticalScroll = json_decode($tableData->advanced_settings)->verticalScroll;
|
339 |
$tableData->verticalScrollHeight = json_decode($tableData->advanced_settings)->verticalScrollHeight;
|
340 |
|
341 |
+
$wpDataTableRows = new WPDataTableRows($tableData);
|
342 |
$wpDataTableRows->setTableID($tableId);
|
343 |
|
344 |
$rowsDataPrepared = WDTConfigController::loadRowsDataFromDB($tableId);;
|
410 |
}
|
411 |
|
412 |
|
|
|
413 |
public function renderStyles()
|
414 |
{
|
415 |
// Generate the style block
|
419 |
$customCss = get_option('wdtCustomCss');
|
420 |
$returnData .= $this->getTableSettingsData()->fixed_layout ? "table#wpdtSimpleTable-" . $this->getTableID() . "{ table-layout: fixed !important; }\n" : '';
|
421 |
$returnData .= $this->getTableSettingsData()->word_wrap ? "table#wpdtSimpleTable-" . $this->getTableID() . " td, table.wpdtSimpleTable" . $this->getTableID() . " th { white-space: normal !important; }\n" : '';
|
422 |
+
$returnData .= $this->getTableSettingsData()->verticalScroll ? ".wpDataTables.wpDataTablesWrapper.wdtVerticalScroll { overflow-y:auto; height:" . $this->getTableSettingsData()->verticalScrollHeight . "px; }\n" : '';
|
423 |
+
$returnData .= $this->getTableSettingsData()->verticalScroll ? ".wpDataTableContainerSimpleTable .wdt-res-wrapper.active {overflow: initial; max-height:" . $this->getTableSettingsData()->verticalScrollHeight . "px !important; }\n" : '';
|
424 |
|
425 |
if ($customCss) {
|
426 |
$returnData .= stripslashes_deep($customCss);
|
434 |
}
|
435 |
if ($this->getCellMetaData() != []) {
|
436 |
$cellClasses = array_unique($this->getCellMetaData());
|
437 |
+
$systemFonts = WDTSettingsController::wdtGetSystemFonts();
|
438 |
foreach ($cellClasses as $cellClass) {
|
439 |
if (strpos($cellClass, 'wpdt-tc-') !== false) {
|
440 |
$textColor = str_replace('wpdt-tc-', '', $cellClass);
|
442 |
} else if (strpos($cellClass, 'wpdt-bc-') !== false) {
|
443 |
$bgColor = str_replace('wpdt-bc-', '', $cellClass);
|
444 |
$returnData .= "." . $cellClass . " { background-color: #" . $bgColor . " !important;}\n";
|
445 |
+
} else if (strpos($cellClass, 'wpdt-ff-') !== false) {
|
446 |
+
$fontFamilyIndex = strval(intval(str_replace('wpdt-ff-', '', $cellClass)));
|
447 |
+
$fontFamily = $fontFamilyIndex == "0" ? 'inherit' : $systemFonts[$fontFamilyIndex - 1];
|
448 |
+
$returnData .= "." . $cellClass . " { font-family: " . $fontFamily . " !important;}\n";
|
449 |
+
} else if (strpos($cellClass, 'wpdt-fs-') !== false) {
|
450 |
+
$fontSizeIndex = strval(intval(str_replace('wpdt-fs-', '', $cellClass)));
|
451 |
+
$fontSize = $fontSizeIndex == "0" ? '10' : $fontSizeIndex;
|
452 |
+
$returnData .= "." . $cellClass . " { font-size: " . $fontSize . "px !important;}\n";
|
453 |
}
|
454 |
}
|
455 |
}
|
500 |
}
|
501 |
}
|
502 |
}
|
503 |
+
if (isset($cellClasses)) $this->setCellMetaData($cellClasses);
|
504 |
}
|
505 |
|
506 |
/**
|
templates/admin/table-settings/simple_table_settings_block.inc.php
CHANGED
@@ -185,7 +185,8 @@
|
|
185 |
<span class="btn-separator"></span>
|
186 |
<div id="wpdt-expand-buttons">
|
187 |
<div id="wpdt-expand-align-buttons">
|
188 |
-
<button class="btn btn-primary btn-icon-text" data-after="\\f036"
|
|
|
189 |
title="<?php _e('Horizontal align', 'wpdatatables'); ?>"
|
190 |
data-toggle="tooltip">
|
191 |
<i class="wpdt-icon-align-left"></i>
|
@@ -266,6 +267,22 @@
|
|
266 |
</div>
|
267 |
</div>
|
268 |
<span class="btn-separator"></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
<button class="btn btn-primary btn-icon-text" id="wpdt-link"
|
270 |
title="<?php _e('Link', 'wpdatatables'); ?>" data-toggle="tooltip">
|
271 |
<i class="wpdt-icon-link"></i>
|
185 |
<span class="btn-separator"></span>
|
186 |
<div id="wpdt-expand-buttons">
|
187 |
<div id="wpdt-expand-align-buttons">
|
188 |
+
<button class="btn btn-primary btn-icon-text" data-after="\\f036"
|
189 |
+
id="wpdt-align-button"
|
190 |
title="<?php _e('Horizontal align', 'wpdatatables'); ?>"
|
191 |
data-toggle="tooltip">
|
192 |
<i class="wpdt-icon-align-left"></i>
|
267 |
</div>
|
268 |
</div>
|
269 |
<span class="btn-separator"></span>
|
270 |
+
<select id="wpdt-font-family" data-toggle="tooltip"
|
271 |
+
data-wpdt-fonts='<?php echo htmlspecialchars(json_encode(WDTSettingsController::wdtGetSystemFonts(), JSON_FORCE_OBJECT), ENT_QUOTES, 'UTF-8'); ?>'
|
272 |
+
title="<?php _e('Choose font family for the cell ot cells range', 'wpdatatables'); ?>">
|
273 |
+
<option value="0"><?php _e('Default font', 'wpdatatables'); ?></option>
|
274 |
+
<?php foreach (WDTSettingsController::wdtGetSystemFonts() as $fontIndex => $fontName) { ?>
|
275 |
+
<option value="<?php echo $fontIndex + 1 ?>"><?php echo $fontName ?></option>
|
276 |
+
<?php } ?>
|
277 |
+
</select>
|
278 |
+
<select id="wpdt-font-size" data-toggle="tooltip"
|
279 |
+
title="<?php _e('Choose font size for the cell ot cells range', 'wpdatatables'); ?>">
|
280 |
+
<option value="0"></option>
|
281 |
+
<?php for ($fontSizeValue = 6; $fontSizeValue < 51; $fontSizeValue++) { ?>
|
282 |
+
<option value="<?php echo $fontSizeValue ?>" <?php if ($fontSizeValue == 13) echo 'selected' ?>><?php echo $fontSizeValue ?></option>
|
283 |
+
<?php } ?>
|
284 |
+
</select>
|
285 |
+
<span class="btn-separator"></span>
|
286 |
<button class="btn btn-primary btn-icon-text" id="wpdt-link"
|
287 |
title="<?php _e('Link', 'wpdatatables'); ?>" data-toggle="tooltip">
|
288 |
<i class="wpdt-icon-link"></i>
|
templates/admin/table-settings/table_settings_block.inc.php
CHANGED
@@ -1056,6 +1056,29 @@
|
|
1056 |
|
1057 |
</div>
|
1058 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1059 |
</div>
|
1060 |
<!-- /.row -->
|
1061 |
|
1056 |
|
1057 |
</div>
|
1058 |
|
1059 |
+
<div class="col-sm-4 m-b-20 table-tools-include-html-block hidden">
|
1060 |
+
<h4 class="c-title-color m-b-2">
|
1061 |
+
<?php _e('Include HTML', 'wpdatatables'); ?>
|
1062 |
+
<i class=" wpdt-icon-info-circle-thin" data-popover-content="#table-tools-html-hint"
|
1063 |
+
data-toggle="html-popover" data-trigger="hover" data-placement="right"></i>
|
1064 |
+
</h4>
|
1065 |
+
<!-- Hidden popover with image hint -->
|
1066 |
+
<div class="hidden" id="table-tools-html-hint">
|
1067 |
+
<div class="popover-heading">
|
1068 |
+
<?php _e('Include HTML', 'wpdatatables'); ?>
|
1069 |
+
</div>
|
1070 |
+
<div class="popover-body">
|
1071 |
+
<?php _e('If this is enabled, columns that contain HTML like (link, image, email, attachment or HTML) will be rendered as HTML in export files for CSV,Excel,Print and Copy export option.<br><br> NOTICE: Please note that in back-end it will be rendered settings buttons in headers as well, so please check this functionality on front-end.', 'wpdatatables'); ?>
|
1072 |
+
</div>
|
1073 |
+
</div>
|
1074 |
+
<!-- /Hidden popover with image hint -->
|
1075 |
+
<div class="toggle-switch" data-ts-color="blue">
|
1076 |
+
<input id="wdt-table-tools-include-html" type="checkbox">
|
1077 |
+
<label for="wdt-table-tools-include-html"
|
1078 |
+
class="ts-label"><?php _e('Enable HTML in export files (CSV, Excel, Print and Copy)', 'wpdatatables'); ?></label>
|
1079 |
+
</div>
|
1080 |
+
</div>
|
1081 |
+
|
1082 |
</div>
|
1083 |
<!-- /.row -->
|
1084 |
|
wpdatatables.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: wpDataTables - Tables & Table Charts
|
4 |
Plugin URI: https://wpdatatables.com
|
5 |
Description: Create responsive, sortable tables & charts from Excel, CSV or PHP. Add tables & charts to any post in minutes with DataTables.
|
6 |
-
Version: 2.1.
|
7 |
Author: TMS-Plugins
|
8 |
Author URI: https://tms-outsource.com
|
9 |
Text Domain: wpdatatables
|
3 |
Plugin Name: wpDataTables - Tables & Table Charts
|
4 |
Plugin URI: https://wpdatatables.com
|
5 |
Description: Create responsive, sortable tables & charts from Excel, CSV or PHP. Add tables & charts to any post in minutes with DataTables.
|
6 |
+
Version: 2.1.16
|
7 |
Author: TMS-Plugins
|
8 |
Author URI: https://tms-outsource.com
|
9 |
Text Domain: wpdatatables
|