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,76 @@
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
+
13
+ var ja = moment.defineLocale('ja', {
14
+ months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
15
+ monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
16
+ weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
17
+ weekdaysShort : '日_月_火_水_木_金_土'.split('_'),
18
+ weekdaysMin : '日_月_火_水_木_金_土'.split('_'),
19
+ longDateFormat : {
20
+ LT : 'Ah時m分',
21
+ LTS : 'Ah時m分s秒',
22
+ L : 'YYYY/MM/DD',
23
+ LL : 'YYYY年M月D日',
24
+ LLL : 'YYYY年M月D日Ah時m分',
25
+ LLLL : 'YYYY年M月D日Ah時m分 dddd'
26
+ },
27
+ meridiemParse: /午前|午後/i,
28
+ isPM : function (input) {
29
+ return input === '午後';
30
+ },
31
+ meridiem : function (hour, minute, isLower) {
32
+ if (hour < 12) {
33
+ return '午前';
34
+ } else {
35
+ return '午後';
36
+ }
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
+ ordinalParse : /\d{1,2}日/,
47
+ ordinal : function (number, period) {
48
+ switch (period) {
49
+ case 'd':
50
+ case 'D':
51
+ case 'DDD':
52
+ return number + '日';
53
+ default:
54
+ return number;
55
+ }
56
+ },
57
+ relativeTime : {
58
+ future : '%s後',
59
+ past : '%s前',
60
+ s : '数秒',
61
+ m : '1分',
62
+ mm : '%d分',
63
+ h : '1時間',
64
+ hh : '%d時間',
65
+ d : '1日',
66
+ dd : '%d日',
67
+ M : '1ヶ月',
68
+ MM : '%dヶ月',
69
+ y : '1年',
70
+ yy : '%d年'
71
+ }
72
+ });
73
+
74
+ return ja;
75
+
76
+ })));
@@ -0,0 +1,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
+
14
+ var jv = moment.defineLocale('jv', {
15
+ months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'),
16
+ monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
17
+ weekdays : 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
18
+ weekdaysShort : 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
19
+ weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
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 [pukul] HH.mm',
26
+ LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
27
+ },
28
+ meridiemParse: /enjing|siyang|sonten|ndalu/,
29
+ meridiemHour : function (hour, meridiem) {
30
+ if (hour === 12) {
31
+ hour = 0;
32
+ }
33
+ if (meridiem === 'enjing') {
34
+ return hour;
35
+ } else if (meridiem === 'siyang') {
36
+ return hour >= 11 ? hour : hour + 12;
37
+ } else if (meridiem === 'sonten' || meridiem === 'ndalu') {
38
+ return hour + 12;
39
+ }
40
+ },
41
+ meridiem : function (hours, minutes, isLower) {
42
+ if (hours < 11) {
43
+ return 'enjing';
44
+ } else if (hours < 15) {
45
+ return 'siyang';
46
+ } else if (hours < 19) {
47
+ return 'sonten';
48
+ } else {
49
+ return 'ndalu';
50
+ }
51
+ },
52
+ calendar : {
53
+ sameDay : '[Dinten puniko pukul] LT',
54
+ nextDay : '[Mbenjang pukul] LT',
55
+ nextWeek : 'dddd [pukul] LT',
56
+ lastDay : '[Kala wingi pukul] LT',
57
+ lastWeek : 'dddd [kepengker pukul] LT',
58
+ sameElse : 'L'
59
+ },
60
+ relativeTime : {
61
+ future : 'wonten ing %s',
62
+ past : '%s ingkang kepengker',
63
+ s : 'sawetawis detik',
64
+ m : 'setunggal menit',
65
+ mm : '%d menit',
66
+ h : 'setunggal jam',
67
+ hh : '%d jam',
68
+ d : 'sedinten',
69
+ dd : '%d dinten',
70
+ M : 'sewulan',
71
+ MM : '%d wulan',
72
+ y : 'setaun',
73
+ yy : '%d taun'
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
+ })));
@@ -0,0 +1,89 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Georgian [ka]
3
+ //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili
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
+ standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),
16
+ format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_')
17
+ },
18
+ monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
19
+ weekdays : {
20
+ standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),
21
+ format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),
22
+ isFormat: /(წინა|შემდეგ)/
23
+ },
24
+ weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
25
+ weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
26
+ longDateFormat : {
27
+ LT : 'h:mm A',
28
+ LTS : 'h:mm:ss A',
29
+ L : 'DD/MM/YYYY',
30
+ LL : 'D MMMM YYYY',
31
+ LLL : 'D MMMM YYYY h:mm A',
32
+ LLLL : 'dddd, D MMMM YYYY h:mm A'
33
+ },
34
+ calendar : {
35
+ sameDay : '[დღეს] LT[-ზე]',
36
+ nextDay : '[ხვალ] LT[-ზე]',
37
+ lastDay : '[გუშინ] LT[-ზე]',
38
+ nextWeek : '[შემდეგ] dddd LT[-ზე]',
39
+ lastWeek : '[წინა] dddd LT-ზე',
40
+ sameElse : 'L'
41
+ },
42
+ relativeTime : {
43
+ future : function (s) {
44
+ return (/(წამი|წუთი|საათი|წელი)/).test(s) ?
45
+ s.replace(/ი$/, 'ში') :
46
+ s + 'ში';
47
+ },
48
+ past : function (s) {
49
+ if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {
50
+ return s.replace(/(ი|ე)$/, 'ის წინ');
51
+ }
52
+ if ((/წელი/).test(s)) {
53
+ return s.replace(/წელი$/, 'წლის წინ');
54
+ }
55
+ },
56
+ s : 'რამდენიმე წამი',
57
+ m : 'წუთი',
58
+ mm : '%d წუთი',
59
+ h : 'საათი',
60
+ hh : '%d საათი',
61
+ d : 'დღე',
62
+ dd : '%d დღე',
63
+ M : 'თვე',
64
+ MM : '%d თვე',
65
+ y : 'წელი',
66
+ yy : '%d წელი'
67
+ },
68
+ ordinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
69
+ ordinal : function (number) {
70
+ if (number === 0) {
71
+ return number;
72
+ }
73
+ if (number === 1) {
74
+ return number + '-ლი';
75
+ }
76
+ if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) {
77
+ return 'მე-' + number;
78
+ }
79
+ return number + '-ე';
80
+ },
81
+ week : {
82
+ dow : 1,
83
+ doy : 7
84
+ }
85
+ });
86
+
87
+ return ka;
88
+
89
+ })));
@@ -0,0 +1,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
+
13
+ var suffixes = {
14
+ 0: '-ші',
15
+ 1: '-ші',
16
+ 2: '-ші',
17
+ 3: '-ші',
18
+ 4: '-ші',
19
+ 5: '-ші',
20
+ 6: '-шы',
21
+ 7: '-ші',
22
+ 8: '-ші',
23
+ 9: '-шы',
24
+ 10: '-шы',
25
+ 20: '-шы',
26
+ 30: '-шы',
27
+ 40: '-шы',
28
+ 50: '-ші',
29
+ 60: '-шы',
30
+ 70: '-ші',
31
+ 80: '-ші',
32
+ 90: '-шы',
33
+ 100: '-ші'
34
+ };
35
+
36
+ var kk = moment.defineLocale('kk', {
37
+ months : 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'),
38
+ monthsShort : 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
39
+ weekdays : 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'),
40
+ weekdaysShort : 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
41
+ weekdaysMin : 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
42
+ longDateFormat : {
43
+ LT : 'HH:mm',
44
+ LTS : 'HH:mm:ss',
45
+ L : 'DD.MM.YYYY',
46
+ LL : 'D MMMM YYYY',
47
+ LLL : 'D MMMM YYYY HH:mm',
48
+ LLLL : 'dddd, D MMMM YYYY HH:mm'
49
+ },
50
+ calendar : {
51
+ sameDay : '[Бүгін сағат] LT',
52
+ nextDay : '[Ертең сағат] LT',
53
+ nextWeek : 'dddd [сағат] LT',
54
+ lastDay : '[Кеше сағат] LT',
55
+ lastWeek : '[Өткен аптаның] dddd [сағат] LT',
56
+ sameElse : 'L'
57
+ },
58
+ relativeTime : {
59
+ future : '%s ішінде',
60
+ past : '%s бұрын',
61
+ s : 'бірнеше секунд',
62
+ m : 'бір минут',
63
+ mm : '%d минут',
64
+ h : 'бір сағат',
65
+ hh : '%d сағат',
66
+ d : 'бір күн',
67
+ dd : '%d күн',
68
+ M : 'бір ай',
69
+ MM : '%d ай',
70
+ y : 'бір жыл',
71
+ yy : '%d жыл'
72
+ },
73
+ ordinalParse: /\d{1,2}-(ші|шы)/,
74
+ ordinal : function (number) {
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 : 1, // Monday is the first day of the week.
81
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
82
+ }
83
+ });
84
+
85
+ return kk;
86
+
87
+ })));
@@ -0,0 +1,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
+
13
+ var km = moment.defineLocale('km', {
14
+ months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
15
+ monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
16
+ weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
17
+ weekdaysShort: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
18
+ weekdaysMin: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
19
+ longDateFormat: {
20
+ LT: 'HH:mm',
21
+ LTS : 'HH:mm:ss',
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',
29
+ nextDay: '[ស្អែក ម៉ោង] LT',
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: 'មួយម៉ោង',
42
+ hh: '%d ម៉ោង',
43
+ d: 'មួយថ្ងៃ',
44
+ dd: '%d ថ្ងៃ',
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
+ })));
@@ -0,0 +1,65 @@
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
+
14
+ var ko = moment.defineLocale('ko', {
15
+ months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
16
+ monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
17
+ weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
18
+ weekdaysShort : '일_월_화_수_목_금_토'.split('_'),
19
+ weekdaysMin : '일_월_화_수_목_금_토'.split('_'),
20
+ longDateFormat : {
21
+ LT : 'A h시 m분',
22
+ LTS : 'A h시 m분 s초',
23
+ L : 'YYYY.MM.DD',
24
+ LL : 'YYYY년 MMMM D일',
25
+ LLL : 'YYYY년 MMMM D일 A h시 m분',
26
+ LLLL : 'YYYY년 MMMM D일 dddd A h시 m분'
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
+ ss : '%d초',
41
+ m : '일분',
42
+ mm : '%d분',
43
+ h : '한 시간',
44
+ hh : '%d시간',
45
+ d : '하루',
46
+ dd : '%d일',
47
+ M : '한 달',
48
+ MM : '%d달',
49
+ y : '일 년',
50
+ yy : '%d년'
51
+ },
52
+ ordinalParse : /\d{1,2}일/,
53
+ ordinal : '%d일',
54
+ meridiemParse : /오전|오후/,
55
+ isPM : function (token) {
56
+ return token === '오후';
57
+ },
58
+ meridiem : function (hour, minute, isUpper) {
59
+ return hour < 12 ? '오전' : '오후';
60
+ }
61
+ });
62
+
63
+ return ko;
64
+
65
+ })));
@@ -0,0 +1,88 @@
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
+
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
+ monthsShort : 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'),
40
+ weekdays : 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'),
41
+ weekdaysShort : 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
42
+ weekdaysMin : 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
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 : '[Бүгүн саат] LT',
53
+ nextDay : '[Эртең саат] LT',
54
+ nextWeek : 'dddd [саат] LT',
55
+ lastDay : '[Кече саат] LT',
56
+ lastWeek : '[Өткен аптанын] dddd [күнү] [саат] LT',
57
+ sameElse : 'L'
58
+ },
59
+ relativeTime : {
60
+ future : '%s ичинде',
61
+ past : '%s мурун',
62
+ s : 'бирнече секунд',
63
+ m : 'бир мүнөт',
64
+ mm : '%d мүнөт',
65
+ h : 'бир саат',
66
+ hh : '%d саат',
67
+ d : 'бир күн',
68
+ dd : '%d күн',
69
+ M : 'бир ай',
70
+ MM : '%d ай',
71
+ y : 'бир жыл',
72
+ yy : '%d жыл'
73
+ },
74
+ ordinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
75
+ ordinal : function (number) {
76
+ var a = number % 10,
77
+ b = number >= 100 ? 100 : null;
78
+ return number + (suffixes[number] || suffixes[a] || suffixes[b]);
79
+ },
80
+ week : {
81
+ dow : 1, // Monday is the first day of the week.
82
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
83
+ }
84
+ });
85
+
86
+ return ky;
87
+
88
+ })));
@@ -0,0 +1,137 @@
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
+
14
+ function processRelativeTime(number, withoutSuffix, key, isFuture) {
15
+ var format = {
16
+ 'm': ['eng Minutt', 'enger Minutt'],
17
+ 'h': ['eng Stonn', 'enger Stonn'],
18
+ 'd': ['een Dag', 'engem Dag'],
19
+ 'M': ['ee Mount', 'engem Mount'],
20
+ 'y': ['ee Joer', 'engem Joer']
21
+ };
22
+ return withoutSuffix ? format[key][0] : format[key][1];
23
+ }
24
+ function processFutureTime(string) {
25
+ var number = string.substr(0, string.indexOf(' '));
26
+ if (eifelerRegelAppliesToNumber(number)) {
27
+ return 'a ' + string;
28
+ }
29
+ return 'an ' + string;
30
+ }
31
+ function processPastTime(string) {
32
+ var number = string.substr(0, string.indexOf(' '));
33
+ if (eifelerRegelAppliesToNumber(number)) {
34
+ return 'viru ' + string;
35
+ }
36
+ return 'virun ' + string;
37
+ }
38
+ /**
39
+ * Returns true if the word before the given number loses the '-n' ending.
40
+ * e.g. 'an 10 Deeg' but 'a 5 Deeg'
41
+ *
42
+ * @param number {integer}
43
+ * @returns {boolean}
44
+ */
45
+ function eifelerRegelAppliesToNumber(number) {
46
+ number = parseInt(number, 10);
47
+ if (isNaN(number)) {
48
+ return false;
49
+ }
50
+ if (number < 0) {
51
+ // Negative Number --> always true
52
+ return true;
53
+ } else if (number < 10) {
54
+ // Only 1 digit
55
+ if (4 <= number && number <= 7) {
56
+ return true;
57
+ }
58
+ return false;
59
+ } else if (number < 100) {
60
+ // 2 digits
61
+ var lastDigit = number % 10, firstDigit = number / 10;
62
+ if (lastDigit === 0) {
63
+ return eifelerRegelAppliesToNumber(firstDigit);
64
+ }
65
+ return eifelerRegelAppliesToNumber(lastDigit);
66
+ } else if (number < 10000) {
67
+ // 3 or 4 digits --> recursively check first digit
68
+ while (number >= 10) {
69
+ number = number / 10;
70
+ }
71
+ return eifelerRegelAppliesToNumber(number);
72
+ } else {
73
+ // Anything larger than 4 digits: recursively check first n-3 digits
74
+ number = number / 1000;
75
+ return eifelerRegelAppliesToNumber(number);
76
+ }
77
+ }
78
+
79
+ var lb = moment.defineLocale('lb', {
80
+ months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
81
+ monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
82
+ monthsParseExact : true,
83
+ weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'),
84
+ weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
85
+ weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
86
+ weekdaysParseExact : true,
87
+ longDateFormat: {
88
+ LT: 'H:mm [Auer]',
89
+ LTS: 'H:mm:ss [Auer]',
90
+ L: 'DD.MM.YYYY',
91
+ LL: 'D. MMMM YYYY',
92
+ LLL: 'D. MMMM YYYY H:mm [Auer]',
93
+ LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]'
94
+ },
95
+ calendar: {
96
+ sameDay: '[Haut um] LT',
97
+ sameElse: 'L',
98
+ nextDay: '[Muer um] LT',
99
+ nextWeek: 'dddd [um] LT',
100
+ lastDay: '[Gëschter um] LT',
101
+ lastWeek: function () {
102
+ // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
103
+ switch (this.day()) {
104
+ case 2:
105
+ case 4:
106
+ return '[Leschten] dddd [um] LT';
107
+ default:
108
+ return '[Leschte] dddd [um] LT';
109
+ }
110
+ }
111
+ },
112
+ relativeTime : {
113
+ future : processFutureTime,
114
+ past : processPastTime,
115
+ s : 'e puer Sekonnen',
116
+ m : processRelativeTime,
117
+ mm : '%d Minutten',
118
+ h : processRelativeTime,
119
+ hh : '%d Stonnen',
120
+ d : processRelativeTime,
121
+ dd : '%d Deeg',
122
+ M : processRelativeTime,
123
+ MM : '%d Méint',
124
+ y : processRelativeTime,
125
+ yy : '%d Joer'
126
+ },
127
+ ordinalParse: /\d{1,2}\./,
128
+ ordinal: '%d.',
129
+ week: {
130
+ dow: 1, // Monday is the first day of the week.
131
+ doy: 4 // The week that contains Jan 4th is the first week of the year.
132
+ }
133
+ });
134
+
135
+ return lb;
136
+
137
+ })));