@revivejs/moment 2.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/CHANGELOG.md +996 -0
  2. package/LICENSE +22 -0
  3. package/README.md +158 -0
  4. package/dist/locale/af.js +71 -0
  5. package/dist/locale/ar-dz.js +156 -0
  6. package/dist/locale/ar-kw.js +55 -0
  7. package/dist/locale/ar-ly.js +171 -0
  8. package/dist/locale/ar-ma.js +56 -0
  9. package/dist/locale/ar-ps.js +112 -0
  10. package/dist/locale/ar-sa.js +105 -0
  11. package/dist/locale/ar-tn.js +55 -0
  12. package/dist/locale/ar.js +189 -0
  13. package/dist/locale/az.js +102 -0
  14. package/dist/locale/be.js +142 -0
  15. package/dist/locale/bg.js +87 -0
  16. package/dist/locale/bm.js +52 -0
  17. package/dist/locale/bn-bd.js +129 -0
  18. package/dist/locale/bn.js +119 -0
  19. package/dist/locale/bo.js +124 -0
  20. package/dist/locale/br.js +168 -0
  21. package/dist/locale/bs.js +160 -0
  22. package/dist/locale/ca.js +100 -0
  23. package/dist/locale/cs.js +181 -0
  24. package/dist/locale/cv.js +63 -0
  25. package/dist/locale/cy.js +98 -0
  26. package/dist/locale/da.js +53 -0
  27. package/dist/locale/de-at.js +79 -0
  28. package/dist/locale/de-ch.js +78 -0
  29. package/dist/locale/de.js +78 -0
  30. package/dist/locale/dv.js +90 -0
  31. package/dist/locale/el.js +106 -0
  32. package/dist/locale/en-au.js +68 -0
  33. package/dist/locale/en-ca.js +64 -0
  34. package/dist/locale/en-gb.js +68 -0
  35. package/dist/locale/en-ie.js +68 -0
  36. package/dist/locale/en-il.js +64 -0
  37. package/dist/locale/en-in.js +68 -0
  38. package/dist/locale/en-nz.js +68 -0
  39. package/dist/locale/en-sg.js +68 -0
  40. package/dist/locale/eo.js +68 -0
  41. package/dist/locale/es-do.js +108 -0
  42. package/dist/locale/es-mx.js +110 -0
  43. package/dist/locale/es-us.js +110 -0
  44. package/dist/locale/es.js +110 -0
  45. package/dist/locale/et.js +78 -0
  46. package/dist/locale/eu.js +65 -0
  47. package/dist/locale/fa.js +113 -0
  48. package/dist/locale/fi.js +124 -0
  49. package/dist/locale/fil.js +58 -0
  50. package/dist/locale/fo.js +57 -0
  51. package/dist/locale/fr-ca.js +70 -0
  52. package/dist/locale/fr-ch.js +74 -0
  53. package/dist/locale/fr.js +108 -0
  54. package/dist/locale/fy.js +75 -0
  55. package/dist/locale/ga.js +95 -0
  56. package/dist/locale/gd.js +95 -0
  57. package/dist/locale/gl.js +75 -0
  58. package/dist/locale/gom-deva.js +126 -0
  59. package/dist/locale/gom-latn.js +124 -0
  60. package/dist/locale/gu.js +122 -0
  61. package/dist/locale/he.js +94 -0
  62. package/dist/locale/hi.js +168 -0
  63. package/dist/locale/hr.js +156 -0
  64. package/dist/locale/hu.js +118 -0
  65. package/dist/locale/hy-am.js +94 -0
  66. package/dist/locale/id.js +76 -0
  67. package/dist/locale/is.js +140 -0
  68. package/dist/locale/it-ch.js +64 -0
  69. package/dist/locale/it.js +106 -0
  70. package/dist/locale/ja.js +148 -0
  71. package/dist/locale/jv.js +76 -0
  72. package/dist/locale/ka.js +92 -0
  73. package/dist/locale/kk.js +82 -0
  74. package/dist/locale/km.js +103 -0
  75. package/dist/locale/kn.js +124 -0
  76. package/dist/locale/ko.js +75 -0
  77. package/dist/locale/ku-kmr.js +121 -0
  78. package/dist/locale/ku.js +118 -0
  79. package/dist/locale/ky.js +84 -0
  80. package/dist/locale/lb.js +137 -0
  81. package/dist/locale/lo.js +66 -0
  82. package/dist/locale/lt.js +125 -0
  83. package/dist/locale/lv.js +94 -0
  84. package/dist/locale/me.js +117 -0
  85. package/dist/locale/mi.js +60 -0
  86. package/dist/locale/mk.js +85 -0
  87. package/dist/locale/ml.js +82 -0
  88. package/dist/locale/mn.js +100 -0
  89. package/dist/locale/mr.js +203 -0
  90. package/dist/locale/ms-my.js +76 -0
  91. package/dist/locale/ms.js +75 -0
  92. package/dist/locale/mt.js +56 -0
  93. package/dist/locale/my.js +91 -0
  94. package/dist/locale/nb.js +60 -0
  95. package/dist/locale/ne.js +121 -0
  96. package/dist/locale/nl-be.js +102 -0
  97. package/dist/locale/nl.js +104 -0
  98. package/dist/locale/nn.js +59 -0
  99. package/dist/locale/oc-lnc.js +85 -0
  100. package/dist/locale/pa-in.js +122 -0
  101. package/dist/locale/pl.js +140 -0
  102. package/dist/locale/pt-br.js +58 -0
  103. package/dist/locale/pt.js +63 -0
  104. package/dist/locale/ro.js +76 -0
  105. package/dist/locale/ru.js +213 -0
  106. package/dist/locale/sd.js +81 -0
  107. package/dist/locale/se.js +57 -0
  108. package/dist/locale/si.js +69 -0
  109. package/dist/locale/sk.js +145 -0
  110. package/dist/locale/sl.js +171 -0
  111. package/dist/locale/sq.js +65 -0
  112. package/dist/locale/sr-cyrl.js +127 -0
  113. package/dist/locale/sr.js +129 -0
  114. package/dist/locale/ss.js +84 -0
  115. package/dist/locale/sv.js +68 -0
  116. package/dist/locale/sw.js +55 -0
  117. package/dist/locale/ta.js +131 -0
  118. package/dist/locale/te.js +88 -0
  119. package/dist/locale/tet.js +68 -0
  120. package/dist/locale/tg.js +117 -0
  121. package/dist/locale/th.js +65 -0
  122. package/dist/locale/tk.js +91 -0
  123. package/dist/locale/tl-ph.js +57 -0
  124. package/dist/locale/tlh.js +124 -0
  125. package/dist/locale/tr.js +106 -0
  126. package/dist/locale/tzl.js +89 -0
  127. package/dist/locale/tzm-latn.js +54 -0
  128. package/dist/locale/tzm.js +54 -0
  129. package/dist/locale/ug-cn.js +111 -0
  130. package/dist/locale/uk.js +167 -0
  131. package/dist/locale/ur.js +82 -0
  132. package/dist/locale/uz-latn.js +54 -0
  133. package/dist/locale/uz.js +51 -0
  134. package/dist/locale/vi.js +80 -0
  135. package/dist/locale/x-pseudo.js +73 -0
  136. package/dist/locale/yo.js +53 -0
  137. package/dist/locale/zh-cn.js +120 -0
  138. package/dist/locale/zh-hk.js +101 -0
  139. package/dist/locale/zh-mo.js +100 -0
  140. package/dist/locale/zh-tw.js +99 -0
  141. package/dist/moment.js +5680 -0
  142. package/ender.js +1 -0
  143. package/locale/af.js +82 -0
  144. package/locale/ar-dz.js +167 -0
  145. package/locale/ar-kw.js +66 -0
  146. package/locale/ar-ly.js +182 -0
  147. package/locale/ar-ma.js +67 -0
  148. package/locale/ar-ps.js +123 -0
  149. package/locale/ar-sa.js +116 -0
  150. package/locale/ar-tn.js +66 -0
  151. package/locale/ar.js +200 -0
  152. package/locale/az.js +113 -0
  153. package/locale/be.js +153 -0
  154. package/locale/bg.js +98 -0
  155. package/locale/bm.js +62 -0
  156. package/locale/bn-bd.js +140 -0
  157. package/locale/bn.js +130 -0
  158. package/locale/bo.js +135 -0
  159. package/locale/br.js +179 -0
  160. package/locale/bs.js +171 -0
  161. package/locale/ca.js +111 -0
  162. package/locale/cs.js +192 -0
  163. package/locale/cv.js +74 -0
  164. package/locale/cy.js +109 -0
  165. package/locale/da.js +64 -0
  166. package/locale/de-at.js +90 -0
  167. package/locale/de-ch.js +87 -0
  168. package/locale/de.js +89 -0
  169. package/locale/dv.js +101 -0
  170. package/locale/el.js +117 -0
  171. package/locale/en-au.js +79 -0
  172. package/locale/en-ca.js +75 -0
  173. package/locale/en-gb.js +79 -0
  174. package/locale/en-ie.js +79 -0
  175. package/locale/en-il.js +75 -0
  176. package/locale/en-in.js +79 -0
  177. package/locale/en-nz.js +79 -0
  178. package/locale/en-sg.js +79 -0
  179. package/locale/eo.js +79 -0
  180. package/locale/es-do.js +119 -0
  181. package/locale/es-mx.js +121 -0
  182. package/locale/es-us.js +121 -0
  183. package/locale/es.js +121 -0
  184. package/locale/et.js +89 -0
  185. package/locale/eu.js +76 -0
  186. package/locale/fa.js +124 -0
  187. package/locale/fi.js +135 -0
  188. package/locale/fil.js +69 -0
  189. package/locale/fo.js +68 -0
  190. package/locale/fr-ca.js +81 -0
  191. package/locale/fr-ch.js +85 -0
  192. package/locale/fr.js +119 -0
  193. package/locale/fy.js +86 -0
  194. package/locale/ga.js +106 -0
  195. package/locale/gd.js +106 -0
  196. package/locale/gl.js +86 -0
  197. package/locale/gom-deva.js +137 -0
  198. package/locale/gom-latn.js +135 -0
  199. package/locale/gu.js +133 -0
  200. package/locale/he.js +105 -0
  201. package/locale/hi.js +179 -0
  202. package/locale/hr.js +167 -0
  203. package/locale/hu.js +129 -0
  204. package/locale/hy-am.js +105 -0
  205. package/locale/id.js +87 -0
  206. package/locale/is.js +151 -0
  207. package/locale/it-ch.js +75 -0
  208. package/locale/it.js +117 -0
  209. package/locale/ja.js +159 -0
  210. package/locale/jv.js +87 -0
  211. package/locale/ka.js +103 -0
  212. package/locale/kk.js +93 -0
  213. package/locale/km.js +114 -0
  214. package/locale/kn.js +135 -0
  215. package/locale/ko.js +86 -0
  216. package/locale/ku-kmr.js +125 -0
  217. package/locale/ku.js +129 -0
  218. package/locale/ky.js +95 -0
  219. package/locale/lb.js +148 -0
  220. package/locale/lo.js +77 -0
  221. package/locale/lt.js +136 -0
  222. package/locale/lv.js +105 -0
  223. package/locale/me.js +128 -0
  224. package/locale/mi.js +71 -0
  225. package/locale/mk.js +97 -0
  226. package/locale/ml.js +93 -0
  227. package/locale/mn.js +111 -0
  228. package/locale/mr.js +214 -0
  229. package/locale/ms-my.js +87 -0
  230. package/locale/ms.js +86 -0
  231. package/locale/mt.js +67 -0
  232. package/locale/my.js +102 -0
  233. package/locale/nb.js +71 -0
  234. package/locale/ne.js +132 -0
  235. package/locale/nl-be.js +113 -0
  236. package/locale/nl.js +115 -0
  237. package/locale/nn.js +70 -0
  238. package/locale/oc-lnc.js +96 -0
  239. package/locale/pa-in.js +133 -0
  240. package/locale/pl.js +151 -0
  241. package/locale/pt-br.js +69 -0
  242. package/locale/pt.js +74 -0
  243. package/locale/ro.js +87 -0
  244. package/locale/ru.js +224 -0
  245. package/locale/sd.js +92 -0
  246. package/locale/se.js +68 -0
  247. package/locale/si.js +80 -0
  248. package/locale/sk.js +156 -0
  249. package/locale/sl.js +182 -0
  250. package/locale/sq.js +76 -0
  251. package/locale/sr-cyrl.js +138 -0
  252. package/locale/sr.js +140 -0
  253. package/locale/ss.js +95 -0
  254. package/locale/sv.js +79 -0
  255. package/locale/sw.js +66 -0
  256. package/locale/ta.js +142 -0
  257. package/locale/te.js +99 -0
  258. package/locale/tet.js +79 -0
  259. package/locale/tg.js +128 -0
  260. package/locale/th.js +76 -0
  261. package/locale/tk.js +102 -0
  262. package/locale/tl-ph.js +68 -0
  263. package/locale/tlh.js +135 -0
  264. package/locale/tr.js +117 -0
  265. package/locale/tzl.js +100 -0
  266. package/locale/tzm-latn.js +65 -0
  267. package/locale/tzm.js +65 -0
  268. package/locale/ug-cn.js +122 -0
  269. package/locale/uk.js +178 -0
  270. package/locale/ur.js +93 -0
  271. package/locale/uz-latn.js +65 -0
  272. package/locale/uz.js +62 -0
  273. package/locale/vi.js +91 -0
  274. package/locale/x-pseudo.js +84 -0
  275. package/locale/yo.js +64 -0
  276. package/locale/zh-cn.js +131 -0
  277. package/locale/zh-hk.js +112 -0
  278. package/locale/zh-mo.js +111 -0
  279. package/locale/zh-tw.js +110 -0
  280. package/min/locales.js +12800 -0
  281. package/min/locales.min.js +2 -0
  282. package/min/locales.min.js.map +1 -0
  283. package/min/moment-with-locales.js +18472 -0
  284. package/min/moment-with-locales.min.js +2 -0
  285. package/min/moment-with-locales.min.js.map +1 -0
  286. package/min/moment.min.js +2 -0
  287. package/min/moment.min.js.map +1 -0
  288. package/min/tests.js +149292 -0
  289. package/moment.d.ts +796 -0
  290. package/moment.js +5688 -0
  291. package/package.js +11 -0
  292. package/package.json +152 -0
  293. package/ts3.1-typings/moment.d.ts +785 -0
package/locale/ms.js ADDED
@@ -0,0 +1,86 @@
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) {
32
+ if (hour === 12) {
33
+ hour = 0;
34
+ }
35
+ if (meridiem === 'pagi') {
36
+ return hour;
37
+ } else if (meridiem === 'tengahari') {
38
+ return hour >= 11 ? hour : hour + 12;
39
+ } else if (meridiem === 'petang' || meridiem === 'malam') {
40
+ return hour + 12;
41
+ }
42
+ },
43
+ meridiem: function (hours, minutes, isLower) {
44
+ if (hours < 11) {
45
+ return 'pagi';
46
+ } else if (hours < 15) {
47
+ return 'tengahari';
48
+ } else if (hours < 19) {
49
+ return 'petang';
50
+ } else {
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
+ })));
package/locale/mt.js ADDED
@@ -0,0 +1,67 @@
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:
20
+ 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(
21
+ '_'
22
+ ),
23
+ weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
24
+ weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.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: '[Illum fil-]LT',
35
+ nextDay: '[Għada fil-]LT',
36
+ nextWeek: 'dddd [fil-]LT',
37
+ lastDay: '[Il-bieraħ fil-]LT',
38
+ lastWeek: 'dddd [li għadda] [fil-]LT',
39
+ sameElse: 'L',
40
+ },
41
+ relativeTime: {
42
+ future: 'f’ %s',
43
+ past: '%s ilu',
44
+ s: 'ftit sekondi',
45
+ ss: '%d sekondi',
46
+ m: 'minuta',
47
+ mm: '%d minuti',
48
+ h: 'siegħa',
49
+ hh: '%d siegħat',
50
+ d: 'ġurnata',
51
+ dd: '%d ġranet',
52
+ M: 'xahar',
53
+ MM: '%d xhur',
54
+ y: 'sena',
55
+ yy: '%d sni',
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 mt;
66
+
67
+ })));
package/locale/my.js ADDED
@@ -0,0 +1,102 @@
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
+
52
+ longDateFormat: {
53
+ LT: 'HH:mm',
54
+ LTS: 'HH:mm:ss',
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 [မှာ]',
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
+ 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
+ })));
package/locale/nb.js ADDED
@@ -0,0 +1,71 @@
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:
21
+ 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
22
+ monthsParseExact: true,
23
+ weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
24
+ weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
25
+ weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.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.] HH:mm',
33
+ LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
34
+ },
35
+ calendar: {
36
+ sameDay: '[i dag kl.] LT',
37
+ nextDay: '[i morgen kl.] LT',
38
+ nextWeek: 'dddd [kl.] LT',
39
+ lastDay: '[i går kl.] LT',
40
+ lastWeek: '[forrige] dddd [kl.] LT',
41
+ sameElse: 'L',
42
+ },
43
+ relativeTime: {
44
+ future: 'om %s',
45
+ past: '%s siden',
46
+ s: 'noen sekunder',
47
+ ss: '%d sekunder',
48
+ m: 'ett minutt',
49
+ mm: '%d minutter',
50
+ h: 'én time',
51
+ hh: '%d timer',
52
+ d: 'én dag',
53
+ dd: '%d dager',
54
+ w: 'én uke',
55
+ ww: '%d uker',
56
+ M: 'én måned',
57
+ MM: '%d måneder',
58
+ y: 'ett å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 nb;
70
+
71
+ })));
package/locale/ne.js ADDED
@@ -0,0 +1,132 @@
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:
44
+ 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split(
45
+ '_'
46
+ ),
47
+ monthsParseExact: true,
48
+ weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split(
49
+ '_'
50
+ ),
51
+ weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
52
+ weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
53
+ weekdaysParseExact: true,
54
+ longDateFormat: {
55
+ LT: 'Aको h:mm बजे',
56
+ LTS: 'Aको h:mm:ss बजे',
57
+ L: 'DD/MM/YYYY',
58
+ LL: 'D MMMM YYYY',
59
+ LLL: 'D MMMM YYYY, Aको h:mm बजे',
60
+ LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे',
61
+ },
62
+ preparse: function (string) {
63
+ return string.replace(/[१२३४५६७८९०]/g, function (match) {
64
+ return numberMap[match];
65
+ });
66
+ },
67
+ postformat: function (string) {
68
+ return string.replace(/\d/g, function (match) {
69
+ return symbolMap[match];
70
+ });
71
+ },
72
+ meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
73
+ meridiemHour: function (hour, meridiem) {
74
+ if (hour === 12) {
75
+ hour = 0;
76
+ }
77
+ if (meridiem === 'राति') {
78
+ return hour < 4 ? hour : hour + 12;
79
+ } else if (meridiem === 'बिहान') {
80
+ return hour;
81
+ } else if (meridiem === 'दिउँसो') {
82
+ return hour >= 10 ? hour : hour + 12;
83
+ } else if (meridiem === 'साँझ') {
84
+ return hour + 12;
85
+ }
86
+ },
87
+ meridiem: function (hour, minute, isLower) {
88
+ if (hour < 3) {
89
+ return 'राति';
90
+ } else if (hour < 12) {
91
+ return 'बिहान';
92
+ } else if (hour < 16) {
93
+ return 'दिउँसो';
94
+ } else if (hour < 20) {
95
+ return 'साँझ';
96
+ } else {
97
+ return 'राति';
98
+ }
99
+ },
100
+ calendar: {
101
+ sameDay: '[आज] LT',
102
+ nextDay: '[भोलि] LT',
103
+ nextWeek: '[आउँदो] dddd[,] LT',
104
+ lastDay: '[हिजो] LT',
105
+ lastWeek: '[गएको] dddd[,] LT',
106
+ sameElse: 'L',
107
+ },
108
+ relativeTime: {
109
+ future: '%sमा',
110
+ past: '%s अगाडि',
111
+ s: 'केही क्षण',
112
+ ss: '%d सेकेण्ड',
113
+ m: 'एक मिनेट',
114
+ mm: '%d मिनेट',
115
+ h: 'एक घण्टा',
116
+ hh: '%d घण्टा',
117
+ d: 'एक दिन',
118
+ dd: '%d दिन',
119
+ M: 'एक महिना',
120
+ MM: '%d महिना',
121
+ y: 'एक बर्ष',
122
+ yy: '%d बर्ष',
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 ne;
131
+
132
+ })));
@@ -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 =
16
+ 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
17
+ monthsShortWithoutDots =
18
+ 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
19
+ monthsParse = [
20
+ /^jan/i,
21
+ /^feb/i,
22
+ /^(maart|mrt\.?)$/i,
23
+ /^apr/i,
24
+ /^mei$/i,
25
+ /^jun[i.]?$/i,
26
+ /^jul[i.]?$/i,
27
+ /^aug/i,
28
+ /^sep/i,
29
+ /^okt/i,
30
+ /^nov/i,
31
+ /^dec/i,
32
+ ],
33
+ monthsRegex =
34
+ /^(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;
35
+
36
+ var nlBe = moment.defineLocale('nl-be', {
37
+ months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
38
+ '_'
39
+ ),
40
+ monthsShort: function (m, format) {
41
+ if (!m) {
42
+ return monthsShortWithDots;
43
+ } else if (/-MMM-/.test(format)) {
44
+ return monthsShortWithoutDots[m.month()];
45
+ } else {
46
+ return monthsShortWithDots[m.month()];
47
+ }
48
+ },
49
+
50
+ monthsRegex: monthsRegex,
51
+ monthsShortRegex: monthsRegex,
52
+ monthsStrictRegex:
53
+ /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
54
+ monthsShortStrictRegex:
55
+ /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
56
+
57
+ monthsParse: monthsParse,
58
+ longMonthsParse: monthsParse,
59
+ shortMonthsParse: monthsParse,
60
+
61
+ weekdays:
62
+ 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
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
+ })));
package/locale/nl.js ADDED
@@ -0,0 +1,115 @@
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 =
16
+ 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
17
+ monthsShortWithoutDots =
18
+ 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
19
+ monthsParse = [
20
+ /^jan/i,
21
+ /^feb/i,
22
+ /^(maart|mrt\.?)$/i,
23
+ /^apr/i,
24
+ /^mei$/i,
25
+ /^jun[i.]?$/i,
26
+ /^jul[i.]?$/i,
27
+ /^aug/i,
28
+ /^sep/i,
29
+ /^okt/i,
30
+ /^nov/i,
31
+ /^dec/i,
32
+ ],
33
+ monthsRegex =
34
+ /^(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;
35
+
36
+ var nl = moment.defineLocale('nl', {
37
+ months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
38
+ '_'
39
+ ),
40
+ monthsShort: function (m, format) {
41
+ if (!m) {
42
+ return monthsShortWithDots;
43
+ } else if (/-MMM-/.test(format)) {
44
+ return monthsShortWithoutDots[m.month()];
45
+ } else {
46
+ return monthsShortWithDots[m.month()];
47
+ }
48
+ },
49
+
50
+ monthsRegex: monthsRegex,
51
+ monthsShortRegex: monthsRegex,
52
+ monthsStrictRegex:
53
+ /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
54
+ monthsShortStrictRegex:
55
+ /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
56
+
57
+ monthsParse: monthsParse,
58
+ longMonthsParse: monthsParse,
59
+ shortMonthsParse: monthsParse,
60
+
61
+ weekdays:
62
+ 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
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
+ })));