cone.calendar 1.1.0__py3-none-any.whl

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 (202) hide show
  1. cone/calendar/__init__.py +20 -0
  2. cone/calendar/browser/__init__.py +88 -0
  3. cone/calendar/browser/calendar.pt +16 -0
  4. cone/calendar/browser/calendar.py +370 -0
  5. cone/calendar/browser/static/calendar/cone.calendar.css +23 -0
  6. cone/calendar/browser/static/calendar/cone.calendar.js +241 -0
  7. cone/calendar/browser/static/calendar/cone.calendar.min.js +1 -0
  8. cone/calendar/browser/static/fullcalendar/fullcalendar.css +1404 -0
  9. cone/calendar/browser/static/fullcalendar/fullcalendar.js +14206 -0
  10. cone/calendar/browser/static/fullcalendar/fullcalendar.min.css +5 -0
  11. cone/calendar/browser/static/fullcalendar/fullcalendar.min.js +10 -0
  12. cone/calendar/browser/static/fullcalendar/fullcalendar.print.css +208 -0
  13. cone/calendar/browser/static/fullcalendar/fullcalendar.print.min.css +5 -0
  14. cone/calendar/browser/static/fullcalendar/gcal.js +180 -0
  15. cone/calendar/browser/static/fullcalendar/gcal.min.js +6 -0
  16. cone/calendar/browser/static/fullcalendar/locale/af.js +1 -0
  17. cone/calendar/browser/static/fullcalendar/locale/ar-dz.js +1 -0
  18. cone/calendar/browser/static/fullcalendar/locale/ar-ly.js +1 -0
  19. cone/calendar/browser/static/fullcalendar/locale/ar-ma.js +1 -0
  20. cone/calendar/browser/static/fullcalendar/locale/ar-sa.js +1 -0
  21. cone/calendar/browser/static/fullcalendar/locale/ar-tn.js +1 -0
  22. cone/calendar/browser/static/fullcalendar/locale/ar.js +1 -0
  23. cone/calendar/browser/static/fullcalendar/locale/bg.js +1 -0
  24. cone/calendar/browser/static/fullcalendar/locale/ca.js +1 -0
  25. cone/calendar/browser/static/fullcalendar/locale/cs.js +1 -0
  26. cone/calendar/browser/static/fullcalendar/locale/da.js +1 -0
  27. cone/calendar/browser/static/fullcalendar/locale/de-at.js +1 -0
  28. cone/calendar/browser/static/fullcalendar/locale/de.js +1 -0
  29. cone/calendar/browser/static/fullcalendar/locale/el.js +1 -0
  30. cone/calendar/browser/static/fullcalendar/locale/en-au.js +1 -0
  31. cone/calendar/browser/static/fullcalendar/locale/en-ca.js +1 -0
  32. cone/calendar/browser/static/fullcalendar/locale/en-gb.js +1 -0
  33. cone/calendar/browser/static/fullcalendar/locale/en-ie.js +1 -0
  34. cone/calendar/browser/static/fullcalendar/locale/en-nz.js +1 -0
  35. cone/calendar/browser/static/fullcalendar/locale/es-do.js +1 -0
  36. cone/calendar/browser/static/fullcalendar/locale/es.js +1 -0
  37. cone/calendar/browser/static/fullcalendar/locale/eu.js +1 -0
  38. cone/calendar/browser/static/fullcalendar/locale/fa.js +1 -0
  39. cone/calendar/browser/static/fullcalendar/locale/fi.js +1 -0
  40. cone/calendar/browser/static/fullcalendar/locale/fr-ca.js +1 -0
  41. cone/calendar/browser/static/fullcalendar/locale/fr-ch.js +1 -0
  42. cone/calendar/browser/static/fullcalendar/locale/fr.js +1 -0
  43. cone/calendar/browser/static/fullcalendar/locale/gl.js +1 -0
  44. cone/calendar/browser/static/fullcalendar/locale/he.js +1 -0
  45. cone/calendar/browser/static/fullcalendar/locale/hi.js +1 -0
  46. cone/calendar/browser/static/fullcalendar/locale/hr.js +1 -0
  47. cone/calendar/browser/static/fullcalendar/locale/hu.js +1 -0
  48. cone/calendar/browser/static/fullcalendar/locale/id.js +1 -0
  49. cone/calendar/browser/static/fullcalendar/locale/is.js +1 -0
  50. cone/calendar/browser/static/fullcalendar/locale/it.js +1 -0
  51. cone/calendar/browser/static/fullcalendar/locale/ja.js +1 -0
  52. cone/calendar/browser/static/fullcalendar/locale/kk.js +1 -0
  53. cone/calendar/browser/static/fullcalendar/locale/ko.js +1 -0
  54. cone/calendar/browser/static/fullcalendar/locale/lb.js +1 -0
  55. cone/calendar/browser/static/fullcalendar/locale/lt.js +1 -0
  56. cone/calendar/browser/static/fullcalendar/locale/lv.js +1 -0
  57. cone/calendar/browser/static/fullcalendar/locale/mk.js +1 -0
  58. cone/calendar/browser/static/fullcalendar/locale/ms-my.js +1 -0
  59. cone/calendar/browser/static/fullcalendar/locale/ms.js +1 -0
  60. cone/calendar/browser/static/fullcalendar/locale/nb.js +1 -0
  61. cone/calendar/browser/static/fullcalendar/locale/nl-be.js +1 -0
  62. cone/calendar/browser/static/fullcalendar/locale/nl.js +1 -0
  63. cone/calendar/browser/static/fullcalendar/locale/nn.js +1 -0
  64. cone/calendar/browser/static/fullcalendar/locale/pl.js +1 -0
  65. cone/calendar/browser/static/fullcalendar/locale/pt-br.js +1 -0
  66. cone/calendar/browser/static/fullcalendar/locale/pt.js +1 -0
  67. cone/calendar/browser/static/fullcalendar/locale/ro.js +1 -0
  68. cone/calendar/browser/static/fullcalendar/locale/ru.js +1 -0
  69. cone/calendar/browser/static/fullcalendar/locale/sk.js +1 -0
  70. cone/calendar/browser/static/fullcalendar/locale/sl.js +1 -0
  71. cone/calendar/browser/static/fullcalendar/locale/sr-cyrl.js +1 -0
  72. cone/calendar/browser/static/fullcalendar/locale/sr.js +1 -0
  73. cone/calendar/browser/static/fullcalendar/locale/sv.js +1 -0
  74. cone/calendar/browser/static/fullcalendar/locale/th.js +1 -0
  75. cone/calendar/browser/static/fullcalendar/locale/tr.js +1 -0
  76. cone/calendar/browser/static/fullcalendar/locale/uk.js +1 -0
  77. cone/calendar/browser/static/fullcalendar/locale/vi.js +1 -0
  78. cone/calendar/browser/static/fullcalendar/locale/zh-cn.js +1 -0
  79. cone/calendar/browser/static/fullcalendar/locale/zh-tw.js +1 -0
  80. cone/calendar/browser/static/fullcalendar/locale-all.js +5 -0
  81. cone/calendar/browser/static/moment/locale/af.js +73 -0
  82. cone/calendar/browser/static/moment/locale/ar-dz.js +59 -0
  83. cone/calendar/browser/static/moment/locale/ar-ly.js +126 -0
  84. cone/calendar/browser/static/moment/locale/ar-ma.js +60 -0
  85. cone/calendar/browser/static/moment/locale/ar-sa.js +105 -0
  86. cone/calendar/browser/static/moment/locale/ar-tn.js +59 -0
  87. cone/calendar/browser/static/moment/locale/ar.js +142 -0
  88. cone/calendar/browser/static/moment/locale/az.js +105 -0
  89. cone/calendar/browser/static/moment/locale/be.js +134 -0
  90. cone/calendar/browser/static/moment/locale/bg.js +90 -0
  91. cone/calendar/browser/static/moment/locale/bn.js +119 -0
  92. cone/calendar/browser/static/moment/locale/bo.js +119 -0
  93. cone/calendar/browser/static/moment/locale/br.js +108 -0
  94. cone/calendar/browser/static/moment/locale/bs.js +143 -0
  95. cone/calendar/browser/static/moment/locale/ca.js +81 -0
  96. cone/calendar/browser/static/moment/locale/cs.js +172 -0
  97. cone/calendar/browser/static/moment/locale/cv.js +63 -0
  98. cone/calendar/browser/static/moment/locale/cy.js +81 -0
  99. cone/calendar/browser/static/moment/locale/da.js +60 -0
  100. cone/calendar/browser/static/moment/locale/de-at.js +79 -0
  101. cone/calendar/browser/static/moment/locale/de.js +78 -0
  102. cone/calendar/browser/static/moment/locale/dv.js +100 -0
  103. cone/calendar/browser/static/moment/locale/el.js +98 -0
  104. cone/calendar/browser/static/moment/locale/en-au.js +67 -0
  105. cone/calendar/browser/static/moment/locale/en-ca.js +63 -0
  106. cone/calendar/browser/static/moment/locale/en-gb.js +67 -0
  107. cone/calendar/browser/static/moment/locale/en-ie.js +67 -0
  108. cone/calendar/browser/static/moment/locale/en-nz.js +67 -0
  109. cone/calendar/browser/static/moment/locale/eo.js +73 -0
  110. cone/calendar/browser/static/moment/locale/es-do.js +80 -0
  111. cone/calendar/browser/static/moment/locale/es.js +81 -0
  112. cone/calendar/browser/static/moment/locale/et.js +80 -0
  113. cone/calendar/browser/static/moment/locale/eu.js +66 -0
  114. cone/calendar/browser/static/moment/locale/fa.js +107 -0
  115. cone/calendar/browser/static/moment/locale/fi.js +107 -0
  116. cone/calendar/browser/static/moment/locale/fo.js +60 -0
  117. cone/calendar/browser/static/moment/locale/fr-ca.js +60 -0
  118. cone/calendar/browser/static/moment/locale/fr-ch.js +64 -0
  119. cone/calendar/browser/static/moment/locale/fr.js +64 -0
  120. cone/calendar/browser/static/moment/locale/fy.js +73 -0
  121. cone/calendar/browser/static/moment/locale/gd.js +76 -0
  122. cone/calendar/browser/static/moment/locale/gl.js +77 -0
  123. cone/calendar/browser/static/moment/locale/he.js +99 -0
  124. cone/calendar/browser/static/moment/locale/hi.js +124 -0
  125. cone/calendar/browser/static/moment/locale/hr.js +145 -0
  126. cone/calendar/browser/static/moment/locale/hu.js +109 -0
  127. cone/calendar/browser/static/moment/locale/hy-am.js +95 -0
  128. cone/calendar/browser/static/moment/locale/id.js +83 -0
  129. cone/calendar/browser/static/moment/locale/is.js +127 -0
  130. cone/calendar/browser/static/moment/locale/it.js +70 -0
  131. cone/calendar/browser/static/moment/locale/ja.js +76 -0
  132. cone/calendar/browser/static/moment/locale/jv.js +83 -0
  133. cone/calendar/browser/static/moment/locale/ka.js +89 -0
  134. cone/calendar/browser/static/moment/locale/kk.js +87 -0
  135. cone/calendar/browser/static/moment/locale/km.js +58 -0
  136. cone/calendar/browser/static/moment/locale/ko.js +65 -0
  137. cone/calendar/browser/static/moment/locale/ky.js +88 -0
  138. cone/calendar/browser/static/moment/locale/lb.js +137 -0
  139. cone/calendar/browser/static/moment/locale/lo.js +70 -0
  140. cone/calendar/browser/static/moment/locale/lt.js +117 -0
  141. cone/calendar/browser/static/moment/locale/lv.js +97 -0
  142. cone/calendar/browser/static/moment/locale/me.js +111 -0
  143. cone/calendar/browser/static/moment/locale/mi.js +64 -0
  144. cone/calendar/browser/static/moment/locale/mk.js +90 -0
  145. cone/calendar/browser/static/moment/locale/ml.js +81 -0
  146. cone/calendar/browser/static/moment/locale/mr.js +159 -0
  147. cone/calendar/browser/static/moment/locale/ms-my.js +83 -0
  148. cone/calendar/browser/static/moment/locale/ms.js +82 -0
  149. cone/calendar/browser/static/moment/locale/my.js +96 -0
  150. cone/calendar/browser/static/moment/locale/nb.js +63 -0
  151. cone/calendar/browser/static/moment/locale/ne.js +123 -0
  152. cone/calendar/browser/static/moment/locale/nl-be.js +86 -0
  153. cone/calendar/browser/static/moment/locale/nl.js +86 -0
  154. cone/calendar/browser/static/moment/locale/nn.js +60 -0
  155. cone/calendar/browser/static/moment/locale/pa-in.js +124 -0
  156. cone/calendar/browser/static/moment/locale/pl.js +105 -0
  157. cone/calendar/browser/static/moment/locale/pt-br.js +61 -0
  158. cone/calendar/browser/static/moment/locale/pt.js +65 -0
  159. cone/calendar/browser/static/moment/locale/ro.js +75 -0
  160. cone/calendar/browser/static/moment/locale/ru.js +183 -0
  161. cone/calendar/browser/static/moment/locale/se.js +61 -0
  162. cone/calendar/browser/static/moment/locale/si.js +71 -0
  163. cone/calendar/browser/static/moment/locale/sk.js +150 -0
  164. cone/calendar/browser/static/moment/locale/sl.js +162 -0
  165. cone/calendar/browser/static/moment/locale/sq.js +70 -0
  166. cone/calendar/browser/static/moment/locale/sr-cyrl.js +110 -0
  167. cone/calendar/browser/static/moment/locale/sr.js +110 -0
  168. cone/calendar/browser/static/moment/locale/ss.js +89 -0
  169. cone/calendar/browser/static/moment/locale/sv.js +69 -0
  170. cone/calendar/browser/static/moment/locale/sw.js +59 -0
  171. cone/calendar/browser/static/moment/locale/ta.js +130 -0
  172. cone/calendar/browser/static/moment/locale/te.js +89 -0
  173. cone/calendar/browser/static/moment/locale/tet.js +68 -0
  174. cone/calendar/browser/static/moment/locale/th.js +67 -0
  175. cone/calendar/browser/static/moment/locale/tl-ph.js +62 -0
  176. cone/calendar/browser/static/moment/locale/tlh.js +120 -0
  177. cone/calendar/browser/static/moment/locale/tr.js +90 -0
  178. cone/calendar/browser/static/moment/locale/tzl.js +91 -0
  179. cone/calendar/browser/static/moment/locale/tzm-latn.js +58 -0
  180. cone/calendar/browser/static/moment/locale/tzm.js +58 -0
  181. cone/calendar/browser/static/moment/locale/uk.js +146 -0
  182. cone/calendar/browser/static/moment/locale/uz.js +58 -0
  183. cone/calendar/browser/static/moment/locale/vi.js +79 -0
  184. cone/calendar/browser/static/moment/locale/x-pseudo.js +68 -0
  185. cone/calendar/browser/static/moment/locale/yo.js +60 -0
  186. cone/calendar/browser/static/moment/locale/zh-cn.js +127 -0
  187. cone/calendar/browser/static/moment/locale/zh-hk.js +105 -0
  188. cone/calendar/browser/static/moment/locale/zh-tw.js +104 -0
  189. cone/calendar/browser/static/moment/locales.js +8624 -0
  190. cone/calendar/browser/static/moment/locales.min.js +663 -0
  191. cone/calendar/browser/static/moment/moment-with-locales.js +12910 -0
  192. cone/calendar/browser/static/moment/moment-with-locales.min.js +1216 -0
  193. cone/calendar/browser/static/moment/moment.min.js +551 -0
  194. cone/calendar/interfaces.py +14 -0
  195. cone/calendar/locale/cone.calendar.pot +0 -0
  196. cone/calendar/locale/de/LC_MESSAGES/cone.calendar.po +0 -0
  197. cone/calendar/locale/en/LC_MESSAGES/cone.calendar.po +0 -0
  198. cone/calendar/tests/test_calendar.py +340 -0
  199. cone_calendar-1.1.0.dist-info/METADATA +252 -0
  200. cone_calendar-1.1.0.dist-info/RECORD +202 -0
  201. cone_calendar-1.1.0.dist-info/WHEEL +4 -0
  202. cone_calendar-1.1.0.dist-info/licenses/LICENSE.rst +27 -0
@@ -0,0 +1,70 @@
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
+
13
+ var lo = moment.defineLocale('lo', {
14
+ months : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
15
+ monthsShort : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
16
+ weekdays : 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
17
+ weekdaysShort : 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
18
+ weekdaysMin : 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
19
+ weekdaysParseExact : true,
20
+ longDateFormat : {
21
+ LT : 'HH:mm',
22
+ LTS : 'HH:mm:ss',
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
+ meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
29
+ isPM: function (input) {
30
+ return input === 'ຕອນແລງ';
31
+ },
32
+ meridiem : function (hour, minute, isLower) {
33
+ if (hour < 12) {
34
+ return 'ຕອນເຊົ້າ';
35
+ } else {
36
+ return 'ຕອນແລງ';
37
+ }
38
+ },
39
+ calendar : {
40
+ sameDay : '[ມື້ນີ້ເວລາ] LT',
41
+ nextDay : '[ມື້ອື່ນເວລາ] LT',
42
+ nextWeek : '[ວັນ]dddd[ໜ້າເວລາ] LT',
43
+ lastDay : '[ມື້ວານນີ້ເວລາ] LT',
44
+ lastWeek : '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
45
+ sameElse : 'L'
46
+ },
47
+ relativeTime : {
48
+ future : 'ອີກ %s',
49
+ past : '%sຜ່ານມາ',
50
+ s : 'ບໍ່ເທົ່າໃດວິນາທີ',
51
+ m : '1 ນາທີ',
52
+ mm : '%d ນາທີ',
53
+ h : '1 ຊົ່ວໂມງ',
54
+ hh : '%d ຊົ່ວໂມງ',
55
+ d : '1 ມື້',
56
+ dd : '%d ມື້',
57
+ M : '1 ເດືອນ',
58
+ MM : '%d ເດືອນ',
59
+ y : '1 ປີ',
60
+ yy : '%d ປີ'
61
+ },
62
+ ordinalParse: /(ທີ່)\d{1,2}/,
63
+ ordinal : function (number) {
64
+ return 'ທີ່' + number;
65
+ }
66
+ });
67
+
68
+ return lo;
69
+
70
+ })));
@@ -0,0 +1,117 @@
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
+
13
+ var units = {
14
+ 'm' : 'minutė_minutės_minutę',
15
+ 'mm': 'minutės_minučių_minutes',
16
+ 'h' : 'valanda_valandos_valandą',
17
+ 'hh': 'valandos_valandų_valandas',
18
+ 'd' : 'diena_dienos_dieną',
19
+ 'dd': 'dienos_dienų_dienas',
20
+ 'M' : 'mėnuo_mėnesio_mėnesį',
21
+ 'MM': 'mėnesiai_mėnesių_mėnesius',
22
+ 'y' : 'metai_metų_metus',
23
+ 'yy': 'metai_metų_metus'
24
+ };
25
+ function translateSeconds(number, withoutSuffix, key, isFuture) {
26
+ if (withoutSuffix) {
27
+ return 'kelios sekundės';
28
+ } else {
29
+ return isFuture ? 'kelių sekundžių' : 'kelias sekundes';
30
+ }
31
+ }
32
+ function translateSingular(number, withoutSuffix, key, isFuture) {
33
+ return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]);
34
+ }
35
+ function special(number) {
36
+ return number % 10 === 0 || (number > 10 && number < 20);
37
+ }
38
+ function forms(key) {
39
+ return units[key].split('_');
40
+ }
41
+ function translate(number, withoutSuffix, key, isFuture) {
42
+ var result = number + ' ';
43
+ if (number === 1) {
44
+ return result + translateSingular(number, withoutSuffix, key[0], isFuture);
45
+ } else if (withoutSuffix) {
46
+ return result + (special(number) ? forms(key)[1] : forms(key)[0]);
47
+ } else {
48
+ if (isFuture) {
49
+ return result + forms(key)[1];
50
+ } else {
51
+ return result + (special(number) ? forms(key)[1] : forms(key)[2]);
52
+ }
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
+ standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'),
59
+ isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/
60
+ },
61
+ monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
62
+ weekdays : {
63
+ format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'),
64
+ standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'),
65
+ isFormat: /dddd HH:mm/
66
+ },
67
+ weekdaysShort : 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
68
+ weekdaysMin : 'S_P_A_T_K_Pn_Š'.split('_'),
69
+ weekdaysParseExact : true,
70
+ longDateFormat : {
71
+ LT : 'HH:mm',
72
+ LTS : 'HH:mm:ss',
73
+ L : 'YYYY-MM-DD',
74
+ LL : 'YYYY [m.] MMMM D [d.]',
75
+ LLL : 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
76
+ LLLL : 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',
77
+ l : 'YYYY-MM-DD',
78
+ ll : 'YYYY [m.] MMMM D [d.]',
79
+ lll : 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
80
+ llll : 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]'
81
+ },
82
+ calendar : {
83
+ sameDay : '[Šiandien] LT',
84
+ nextDay : '[Rytoj] LT',
85
+ nextWeek : 'dddd LT',
86
+ lastDay : '[Vakar] LT',
87
+ lastWeek : '[Praėjusį] dddd LT',
88
+ sameElse : 'L'
89
+ },
90
+ relativeTime : {
91
+ future : 'po %s',
92
+ past : 'prieš %s',
93
+ s : translateSeconds,
94
+ m : translateSingular,
95
+ mm : translate,
96
+ h : translateSingular,
97
+ hh : translate,
98
+ d : translateSingular,
99
+ dd : translate,
100
+ M : translateSingular,
101
+ MM : translate,
102
+ y : translateSingular,
103
+ yy : translate
104
+ },
105
+ ordinalParse: /\d{1,2}-oji/,
106
+ ordinal : function (number) {
107
+ return number + '-oji';
108
+ },
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 lt;
116
+
117
+ })));
@@ -0,0 +1,97 @@
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
+
14
+ var units = {
15
+ 'm': 'minūtes_minūtēm_minūte_minūtes'.split('_'),
16
+ 'mm': 'minūtes_minūtēm_minūte_minūtes'.split('_'),
17
+ 'h': 'stundas_stundām_stunda_stundas'.split('_'),
18
+ 'hh': 'stundas_stundām_stunda_stundas'.split('_'),
19
+ 'd': 'dienas_dienām_diena_dienas'.split('_'),
20
+ 'dd': 'dienas_dienām_diena_dienas'.split('_'),
21
+ 'M': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
22
+ 'MM': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
23
+ 'y': 'gada_gadiem_gads_gadi'.split('_'),
24
+ 'yy': 'gada_gadiem_gads_gadi'.split('_')
25
+ };
26
+ /**
27
+ * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
28
+ */
29
+ function format(forms, number, withoutSuffix) {
30
+ if (withoutSuffix) {
31
+ // E.g. "21 minūte", "3 minūtes".
32
+ return number % 10 === 1 && number % 100 !== 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 % 100 !== 11 ? forms[0] : forms[1];
37
+ }
38
+ }
39
+ function relativeTimeWithPlural(number, withoutSuffix, key) {
40
+ return number + ' ' + format(units[key], number, withoutSuffix);
41
+ }
42
+ function relativeTimeWithSingular(number, withoutSuffix, key) {
43
+ return format(units[key], number, withoutSuffix);
44
+ }
45
+ function relativeSeconds(number, withoutSuffix) {
46
+ return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';
47
+ }
48
+
49
+ var lv = moment.defineLocale('lv', {
50
+ months : 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'),
51
+ monthsShort : 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),
52
+ weekdays : 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'),
53
+ weekdaysShort : 'Sv_P_O_T_C_Pk_S'.split('_'),
54
+ weekdaysMin : 'Sv_P_O_T_C_Pk_S'.split('_'),
55
+ weekdaysParseExact : true,
56
+ longDateFormat : {
57
+ LT : 'HH:mm',
58
+ LTS : 'HH:mm:ss',
59
+ L : 'DD.MM.YYYY.',
60
+ LL : 'YYYY. [gada] D. MMMM',
61
+ LLL : 'YYYY. [gada] D. MMMM, HH:mm',
62
+ LLLL : 'YYYY. [gada] D. MMMM, dddd, HH:mm'
63
+ },
64
+ calendar : {
65
+ sameDay : '[Šodien pulksten] LT',
66
+ nextDay : '[Rīt pulksten] LT',
67
+ nextWeek : 'dddd [pulksten] LT',
68
+ lastDay : '[Vakar pulksten] LT',
69
+ lastWeek : '[Pagājušā] dddd [pulksten] LT',
70
+ sameElse : 'L'
71
+ },
72
+ relativeTime : {
73
+ future : 'pēc %s',
74
+ past : 'pirms %s',
75
+ s : relativeSeconds,
76
+ m : relativeTimeWithSingular,
77
+ mm : relativeTimeWithPlural,
78
+ h : relativeTimeWithSingular,
79
+ hh : relativeTimeWithPlural,
80
+ d : relativeTimeWithSingular,
81
+ dd : relativeTimeWithPlural,
82
+ M : relativeTimeWithSingular,
83
+ MM : relativeTimeWithPlural,
84
+ y : relativeTimeWithSingular,
85
+ yy : relativeTimeWithPlural
86
+ },
87
+ ordinalParse: /\d{1,2}\./,
88
+ ordinal : '%d.',
89
+ week : {
90
+ dow : 1, // Monday is the first day of the week.
91
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
92
+ }
93
+ });
94
+
95
+ return lv;
96
+
97
+ })));
@@ -0,0 +1,111 @@
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
+
13
+ var translator = {
14
+ words: { //Different grammatical cases
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 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
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 number + ' ' + translator.correctGrammaticalCase(number, wordKey);
32
+ }
33
+ }
34
+ };
35
+
36
+ var me = moment.defineLocale('me', {
37
+ months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),
38
+ monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
39
+ monthsParseExact : true,
40
+ weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
41
+ weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
42
+ weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
43
+ weekdaysParseExact : true,
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: '[danas u] LT',
54
+ nextDay: '[sjutra u] LT',
55
+
56
+ nextWeek: function () {
57
+ switch (this.day()) {
58
+ case 0:
59
+ return '[u] [nedjelju] [u] LT';
60
+ case 3:
61
+ return '[u] [srijedu] [u] LT';
62
+ case 6:
63
+ return '[u] [subotu] [u] LT';
64
+ case 1:
65
+ case 2:
66
+ case 4:
67
+ case 5:
68
+ return '[u] dddd [u] LT';
69
+ }
70
+ },
71
+ lastDay : '[juče u] LT',
72
+ lastWeek : function () {
73
+ var lastWeekDays = [
74
+ '[prošle] [nedjelje] [u] LT',
75
+ '[prošlog] [ponedjeljka] [u] LT',
76
+ '[prošlog] [utorka] [u] LT',
77
+ '[prošle] [srijede] [u] LT',
78
+ '[prošlog] [četvrtka] [u] LT',
79
+ '[prošlog] [petka] [u] LT',
80
+ '[prošle] [subote] [u] LT'
81
+ ];
82
+ return lastWeekDays[this.day()];
83
+ },
84
+ sameElse : 'L'
85
+ },
86
+ relativeTime : {
87
+ future : 'za %s',
88
+ past : 'prije %s',
89
+ s : 'nekoliko sekundi',
90
+ m : translator.translate,
91
+ mm : translator.translate,
92
+ h : translator.translate,
93
+ hh : translator.translate,
94
+ d : 'dan',
95
+ dd : translator.translate,
96
+ M : 'mjesec',
97
+ MM : translator.translate,
98
+ y : 'godinu',
99
+ yy : translator.translate
100
+ },
101
+ ordinalParse: /\d{1,2}\./,
102
+ ordinal : '%d.',
103
+ week : {
104
+ dow : 1, // Monday is the first day of the week.
105
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
106
+ }
107
+ });
108
+
109
+ return me;
110
+
111
+ })));
@@ -0,0 +1,64 @@
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
+
13
+ var mi = moment.defineLocale('mi', {
14
+ 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('_'),
15
+ monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'),
16
+ monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
17
+ monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
18
+ monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
19
+ monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
20
+ weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
21
+ weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
22
+ weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.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 [i] HH:mm',
29
+ LLLL: 'dddd, D MMMM YYYY [i] HH:mm'
30
+ },
31
+ calendar: {
32
+ sameDay: '[i teie mahana, i] LT',
33
+ nextDay: '[apopo i] LT',
34
+ nextWeek: 'dddd [i] LT',
35
+ lastDay: '[inanahi i] LT',
36
+ lastWeek: 'dddd [whakamutunga i] LT',
37
+ sameElse: 'L'
38
+ },
39
+ relativeTime: {
40
+ future: 'i roto i %s',
41
+ past: '%s i mua',
42
+ s: 'te hēkona ruarua',
43
+ m: 'he meneti',
44
+ mm: '%d meneti',
45
+ h: 'te haora',
46
+ hh: '%d haora',
47
+ d: 'he ra',
48
+ dd: '%d ra',
49
+ M: 'he marama',
50
+ MM: '%d marama',
51
+ y: 'he tau',
52
+ yy: '%d tau'
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 mi;
63
+
64
+ })));
@@ -0,0 +1,90 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Macedonian [mk]
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 : 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'),
15
+ monthsShort : 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
16
+ weekdays : 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'),
17
+ weekdaysShort : 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
18
+ weekdaysMin : 'нe_пo_вт_ср_че_пе_сa'.split('_'),
19
+ longDateFormat : {
20
+ LT : 'H:mm',
21
+ LTS : 'H:mm:ss',
22
+ L : 'D.MM.YYYY',
23
+ LL : 'D MMMM YYYY',
24
+ LLL : 'D MMMM YYYY H:mm',
25
+ LLLL : 'dddd, D MMMM YYYY H:mm'
26
+ },
27
+ calendar : {
28
+ sameDay : '[Денес во] LT',
29
+ nextDay : '[Утре во] LT',
30
+ nextWeek : '[Во] dddd [во] LT',
31
+ lastDay : '[Вчера во] LT',
32
+ lastWeek : function () {
33
+ switch (this.day()) {
34
+ case 0:
35
+ case 3:
36
+ case 6:
37
+ return '[Изминатата] dddd [во] LT';
38
+ case 1:
39
+ case 2:
40
+ case 4:
41
+ case 5:
42
+ return '[Изминатиот] dddd [во] LT';
43
+ }
44
+ },
45
+ sameElse : 'L'
46
+ },
47
+ relativeTime : {
48
+ future : 'после %s',
49
+ past : 'пред %s',
50
+ s : 'неколку секунди',
51
+ m : 'минута',
52
+ mm : '%d минути',
53
+ h : 'час',
54
+ hh : '%d часа',
55
+ d : 'ден',
56
+ dd : '%d дена',
57
+ M : 'месец',
58
+ MM : '%d месеци',
59
+ y : 'година',
60
+ yy : '%d години'
61
+ },
62
+ ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
63
+ ordinal : function (number) {
64
+ var lastDigit = number % 10,
65
+ last2Digits = number % 100;
66
+ if (number === 0) {
67
+ return number + '-ев';
68
+ } else if (last2Digits === 0) {
69
+ return number + '-ен';
70
+ } else if (last2Digits > 10 && last2Digits < 20) {
71
+ return number + '-ти';
72
+ } else if (lastDigit === 1) {
73
+ return number + '-ви';
74
+ } else if (lastDigit === 2) {
75
+ return number + '-ри';
76
+ } else if (lastDigit === 7 || lastDigit === 8) {
77
+ return number + '-ми';
78
+ } else {
79
+ return number + '-ти';
80
+ }
81
+ },
82
+ week : {
83
+ dow : 1, // Monday is the first day of the week.
84
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
85
+ }
86
+ });
87
+
88
+ return mk;
89
+
90
+ })));
@@ -0,0 +1,81 @@
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
+
13
+ var ml = moment.defineLocale('ml', {
14
+ months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'),
15
+ monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'),
16
+ monthsParseExact : true,
17
+ weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'),
18
+ weekdaysShort : 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
19
+ weekdaysMin : 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
20
+ longDateFormat : {
21
+ LT : 'A h:mm -നു',
22
+ LTS : 'A h:mm:ss -നു',
23
+ L : 'DD/MM/YYYY',
24
+ LL : 'D MMMM YYYY',
25
+ LLL : 'D MMMM YYYY, A h:mm -നു',
26
+ LLLL : 'dddd, D MMMM YYYY, A h:mm -നു'
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 : '%s കഴിഞ്ഞ്',
38
+ past : '%s മുൻപ്',
39
+ s : 'അൽപ നിമിഷങ്ങൾ',
40
+ m : 'ഒരു മിനിറ്റ്',
41
+ mm : '%d മിനിറ്റ്',
42
+ h : 'ഒരു മണിക്കൂർ',
43
+ hh : '%d മണിക്കൂർ',
44
+ d : 'ഒരു ദിവസം',
45
+ dd : '%d ദിവസം',
46
+ M : 'ഒരു മാസം',
47
+ MM : '%d മാസം',
48
+ y : 'ഒരു വർഷം',
49
+ yy : '%d വർഷം'
50
+ },
51
+ meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
52
+ meridiemHour : function (hour, meridiem) {
53
+ if (hour === 12) {
54
+ hour = 0;
55
+ }
56
+ if ((meridiem === 'രാത്രി' && hour >= 4) ||
57
+ meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||
58
+ meridiem === 'വൈകുന്നേരം') {
59
+ return hour + 12;
60
+ } else {
61
+ return hour;
62
+ }
63
+ },
64
+ meridiem : function (hour, minute, isLower) {
65
+ if (hour < 4) {
66
+ return 'രാത്രി';
67
+ } else if (hour < 12) {
68
+ return 'രാവിലെ';
69
+ } else if (hour < 17) {
70
+ return 'ഉച്ച കഴിഞ്ഞ്';
71
+ } else if (hour < 20) {
72
+ return 'വൈകുന്നേരം';
73
+ } else {
74
+ return 'രാത്രി';
75
+ }
76
+ }
77
+ });
78
+
79
+ return ml;
80
+
81
+ })));