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,86 @@
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
+
14
+ var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_');
15
+ var monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
16
+
17
+ var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];
18
+ var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
19
+
20
+ var nlBe = moment.defineLocale('nl-be', {
21
+ months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
22
+ monthsShort : function (m, format) {
23
+ if (/-MMM-/.test(format)) {
24
+ return monthsShortWithoutDots[m.month()];
25
+ } else {
26
+ return monthsShortWithDots[m.month()];
27
+ }
28
+ },
29
+
30
+ monthsRegex: monthsRegex,
31
+ monthsShortRegex: monthsRegex,
32
+ monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,
33
+ monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
34
+
35
+ monthsParse : monthsParse,
36
+ longMonthsParse : monthsParse,
37
+ shortMonthsParse : monthsParse,
38
+
39
+ weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
40
+ weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
41
+ weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
42
+ weekdaysParseExact : true,
43
+ longDateFormat : {
44
+ LT : 'HH:mm',
45
+ LTS : 'HH:mm:ss',
46
+ L : 'DD/MM/YYYY',
47
+ LL : 'D MMMM YYYY',
48
+ LLL : 'D MMMM YYYY HH:mm',
49
+ LLLL : 'dddd D MMMM YYYY HH:mm'
50
+ },
51
+ calendar : {
52
+ sameDay: '[vandaag om] LT',
53
+ nextDay: '[morgen om] LT',
54
+ nextWeek: 'dddd [om] LT',
55
+ lastDay: '[gisteren om] LT',
56
+ lastWeek: '[afgelopen] dddd [om] LT',
57
+ sameElse: 'L'
58
+ },
59
+ relativeTime : {
60
+ future : 'over %s',
61
+ past : '%s geleden',
62
+ s : 'een paar seconden',
63
+ m : 'één minuut',
64
+ mm : '%d minuten',
65
+ h : 'één uur',
66
+ hh : '%d uur',
67
+ d : 'één dag',
68
+ dd : '%d dagen',
69
+ M : 'één maand',
70
+ MM : '%d maanden',
71
+ y : 'één jaar',
72
+ yy : '%d jaar'
73
+ },
74
+ ordinalParse: /\d{1,2}(ste|de)/,
75
+ ordinal : function (number) {
76
+ return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
77
+ },
78
+ week : {
79
+ dow : 1, // Monday is the first day of the week.
80
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
81
+ }
82
+ });
83
+
84
+ return nlBe;
85
+
86
+ })));
@@ -0,0 +1,86 @@
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
+
14
+ var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_');
15
+ var monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
16
+
17
+ var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];
18
+ var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
19
+
20
+ var nl = moment.defineLocale('nl', {
21
+ months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
22
+ monthsShort : function (m, format) {
23
+ if (/-MMM-/.test(format)) {
24
+ return monthsShortWithoutDots[m.month()];
25
+ } else {
26
+ return monthsShortWithDots[m.month()];
27
+ }
28
+ },
29
+
30
+ monthsRegex: monthsRegex,
31
+ monthsShortRegex: monthsRegex,
32
+ monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,
33
+ monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
34
+
35
+ monthsParse : monthsParse,
36
+ longMonthsParse : monthsParse,
37
+ shortMonthsParse : monthsParse,
38
+
39
+ weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
40
+ weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
41
+ weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
42
+ weekdaysParseExact : true,
43
+ longDateFormat : {
44
+ LT : 'HH:mm',
45
+ LTS : 'HH:mm:ss',
46
+ L : 'DD-MM-YYYY',
47
+ LL : 'D MMMM YYYY',
48
+ LLL : 'D MMMM YYYY HH:mm',
49
+ LLLL : 'dddd D MMMM YYYY HH:mm'
50
+ },
51
+ calendar : {
52
+ sameDay: '[vandaag om] LT',
53
+ nextDay: '[morgen om] LT',
54
+ nextWeek: 'dddd [om] LT',
55
+ lastDay: '[gisteren om] LT',
56
+ lastWeek: '[afgelopen] dddd [om] LT',
57
+ sameElse: 'L'
58
+ },
59
+ relativeTime : {
60
+ future : 'over %s',
61
+ past : '%s geleden',
62
+ s : 'een paar seconden',
63
+ m : 'één minuut',
64
+ mm : '%d minuten',
65
+ h : 'één uur',
66
+ hh : '%d uur',
67
+ d : 'één dag',
68
+ dd : '%d dagen',
69
+ M : 'één maand',
70
+ MM : '%d maanden',
71
+ y : 'één jaar',
72
+ yy : '%d jaar'
73
+ },
74
+ ordinalParse: /\d{1,2}(ste|de)/,
75
+ ordinal : function (number) {
76
+ return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
77
+ },
78
+ week : {
79
+ dow : 1, // Monday is the first day of the week.
80
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
81
+ }
82
+ });
83
+
84
+ return nl;
85
+
86
+ })));
@@ -0,0 +1,60 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Nynorsk [nn]
3
+ //! author : https://github.com/mechuwind
4
+
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
+ factory(global.moment)
10
+ }(this, (function (moment) { 'use strict';
11
+
12
+
13
+ var nn = moment.defineLocale('nn', {
14
+ months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
15
+ monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
16
+ weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
17
+ weekdaysShort : 'sun_mån_tys_ons_tor_fre_lau'.split('_'),
18
+ weekdaysMin : 'su_må_ty_on_to_fr_lø'.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 [kl.] H:mm',
25
+ LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
26
+ },
27
+ calendar : {
28
+ sameDay: '[I dag klokka] LT',
29
+ nextDay: '[I morgon klokka] LT',
30
+ nextWeek: 'dddd [klokka] LT',
31
+ lastDay: '[I går klokka] LT',
32
+ lastWeek: '[Føregåande] dddd [klokka] LT',
33
+ sameElse: 'L'
34
+ },
35
+ relativeTime : {
36
+ future : 'om %s',
37
+ past : '%s sidan',
38
+ s : 'nokre sekund',
39
+ m : 'eit minutt',
40
+ mm : '%d minutt',
41
+ h : 'ein time',
42
+ hh : '%d timar',
43
+ d : 'ein dag',
44
+ dd : '%d dagar',
45
+ M : 'ein månad',
46
+ MM : '%d månader',
47
+ y : 'eit år',
48
+ yy : '%d år'
49
+ },
50
+ ordinalParse: /\d{1,2}\./,
51
+ ordinal : '%d.',
52
+ week : {
53
+ dow : 1, // Monday is the first day of the week.
54
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
55
+ }
56
+ });
57
+
58
+ return nn;
59
+
60
+ })));
@@ -0,0 +1,124 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Punjabi (India) [pa-in]
3
+ //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit
4
+
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
+ factory(global.moment)
10
+ }(this, (function (moment) { 'use strict';
11
+
12
+
13
+ var symbolMap = {
14
+ '1': '੧',
15
+ '2': '੨',
16
+ '3': '੩',
17
+ '4': '੪',
18
+ '5': '੫',
19
+ '6': '੬',
20
+ '7': '੭',
21
+ '8': '੮',
22
+ '9': '੯',
23
+ '0': '੦'
24
+ };
25
+ var numberMap = {
26
+ '੧': '1',
27
+ '੨': '2',
28
+ '੩': '3',
29
+ '੪': '4',
30
+ '੫': '5',
31
+ '੬': '6',
32
+ '੭': '7',
33
+ '੮': '8',
34
+ '੯': '9',
35
+ '੦': '0'
36
+ };
37
+
38
+ var paIn = moment.defineLocale('pa-in', {
39
+ // There are months name as per Nanakshahi Calender but they are not used as rigidly in modern Punjabi.
40
+ months : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
41
+ monthsShort : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
42
+ weekdays : 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'),
43
+ weekdaysShort : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
44
+ weekdaysMin : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
45
+ longDateFormat : {
46
+ LT : 'A h:mm ਵਜੇ',
47
+ LTS : 'A h:mm:ss ਵਜੇ',
48
+ L : 'DD/MM/YYYY',
49
+ LL : 'D MMMM YYYY',
50
+ LLL : 'D MMMM YYYY, A h:mm ਵਜੇ',
51
+ LLLL : 'dddd, D MMMM YYYY, A h:mm ਵਜੇ'
52
+ },
53
+ calendar : {
54
+ sameDay : '[ਅਜ] LT',
55
+ nextDay : '[ਕਲ] LT',
56
+ nextWeek : 'dddd, LT',
57
+ lastDay : '[ਕਲ] LT',
58
+ lastWeek : '[ਪਿਛਲੇ] dddd, LT',
59
+ sameElse : 'L'
60
+ },
61
+ relativeTime : {
62
+ future : '%s ਵਿੱਚ',
63
+ past : '%s ਪਿਛਲੇ',
64
+ s : 'ਕੁਝ ਸਕਿੰਟ',
65
+ m : 'ਇਕ ਮਿੰਟ',
66
+ mm : '%d ਮਿੰਟ',
67
+ h : 'ਇੱਕ ਘੰਟਾ',
68
+ hh : '%d ਘੰਟੇ',
69
+ d : 'ਇੱਕ ਦਿਨ',
70
+ dd : '%d ਦਿਨ',
71
+ M : 'ਇੱਕ ਮਹੀਨਾ',
72
+ MM : '%d ਮਹੀਨੇ',
73
+ y : 'ਇੱਕ ਸਾਲ',
74
+ yy : '%d ਸਾਲ'
75
+ },
76
+ preparse: function (string) {
77
+ return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
78
+ return numberMap[match];
79
+ });
80
+ },
81
+ postformat: function (string) {
82
+ return string.replace(/\d/g, function (match) {
83
+ return symbolMap[match];
84
+ });
85
+ },
86
+ // Punjabi notation for meridiems are quite fuzzy in practice. While there exists
87
+ // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
88
+ meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
89
+ meridiemHour : function (hour, meridiem) {
90
+ if (hour === 12) {
91
+ hour = 0;
92
+ }
93
+ if (meridiem === 'ਰਾਤ') {
94
+ return hour < 4 ? hour : hour + 12;
95
+ } else if (meridiem === 'ਸਵੇਰ') {
96
+ return hour;
97
+ } else if (meridiem === 'ਦੁਪਹਿਰ') {
98
+ return hour >= 10 ? hour : hour + 12;
99
+ } else if (meridiem === 'ਸ਼ਾਮ') {
100
+ return hour + 12;
101
+ }
102
+ },
103
+ meridiem : function (hour, minute, isLower) {
104
+ if (hour < 4) {
105
+ return 'ਰਾਤ';
106
+ } else if (hour < 10) {
107
+ return 'ਸਵੇਰ';
108
+ } else if (hour < 17) {
109
+ return 'ਦੁਪਹਿਰ';
110
+ } else if (hour < 20) {
111
+ return 'ਸ਼ਾਮ';
112
+ } else {
113
+ return 'ਰਾਤ';
114
+ }
115
+ },
116
+ week : {
117
+ dow : 0, // Sunday is the first day of the week.
118
+ doy : 6 // The week that contains Jan 1st is the first week of the year.
119
+ }
120
+ });
121
+
122
+ return paIn;
123
+
124
+ })));
@@ -0,0 +1,105 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Polish [pl]
3
+ //! author : Rafal Hirsz : https://github.com/evoL
4
+
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
+ factory(global.moment)
10
+ }(this, (function (moment) { 'use strict';
11
+
12
+
13
+ var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_');
14
+ var monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_');
15
+ function plural(n) {
16
+ return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1);
17
+ }
18
+ function translate(number, withoutSuffix, key) {
19
+ var result = number + ' ';
20
+ switch (key) {
21
+ case 'm':
22
+ return withoutSuffix ? 'minuta' : 'minutę';
23
+ case 'mm':
24
+ return result + (plural(number) ? 'minuty' : 'minut');
25
+ case 'h':
26
+ return withoutSuffix ? 'godzina' : 'godzinę';
27
+ case 'hh':
28
+ return result + (plural(number) ? 'godziny' : 'godzin');
29
+ case 'MM':
30
+ return result + (plural(number) ? 'miesiące' : 'miesięcy');
31
+ case 'yy':
32
+ return result + (plural(number) ? 'lata' : 'lat');
33
+ }
34
+ }
35
+
36
+ var pl = moment.defineLocale('pl', {
37
+ months : function (momentToFormat, format) {
38
+ if (format === '') {
39
+ // Hack: if format empty we know this is used to generate
40
+ // RegExp by moment. Give then back both valid forms of months
41
+ // in RegExp ready format.
42
+ return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')';
43
+ } else if (/D MMMM/.test(format)) {
44
+ return monthsSubjective[momentToFormat.month()];
45
+ } else {
46
+ return monthsNominative[momentToFormat.month()];
47
+ }
48
+ },
49
+ monthsShort : 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
50
+ weekdays : 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
51
+ weekdaysShort : 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
52
+ weekdaysMin : 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
53
+ longDateFormat : {
54
+ LT : 'HH:mm',
55
+ LTS : 'HH:mm:ss',
56
+ L : 'DD.MM.YYYY',
57
+ LL : 'D MMMM YYYY',
58
+ LLL : 'D MMMM YYYY HH:mm',
59
+ LLLL : 'dddd, D MMMM YYYY HH:mm'
60
+ },
61
+ calendar : {
62
+ sameDay: '[Dziś o] LT',
63
+ nextDay: '[Jutro o] LT',
64
+ nextWeek: '[W] dddd [o] LT',
65
+ lastDay: '[Wczoraj o] LT',
66
+ lastWeek: function () {
67
+ switch (this.day()) {
68
+ case 0:
69
+ return '[W zeszłą niedzielę o] LT';
70
+ case 3:
71
+ return '[W zeszłą środę o] LT';
72
+ case 6:
73
+ return '[W zeszłą sobotę o] LT';
74
+ default:
75
+ return '[W zeszły] dddd [o] LT';
76
+ }
77
+ },
78
+ sameElse: 'L'
79
+ },
80
+ relativeTime : {
81
+ future : 'za %s',
82
+ past : '%s temu',
83
+ s : 'kilka sekund',
84
+ m : translate,
85
+ mm : translate,
86
+ h : translate,
87
+ hh : translate,
88
+ d : '1 dzień',
89
+ dd : '%d dni',
90
+ M : 'miesiąc',
91
+ MM : translate,
92
+ y : 'rok',
93
+ yy : translate
94
+ },
95
+ ordinalParse: /\d{1,2}\./,
96
+ ordinal : '%d.',
97
+ week : {
98
+ dow : 1, // Monday is the first day of the week.
99
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
100
+ }
101
+ });
102
+
103
+ return pl;
104
+
105
+ })));
@@ -0,0 +1,61 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Portuguese (Brazil) [pt-br]
3
+ //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
4
+
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
+ factory(global.moment)
10
+ }(this, (function (moment) { 'use strict';
11
+
12
+
13
+ var ptBr = moment.defineLocale('pt-br', {
14
+ months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
15
+ monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
16
+ weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
17
+ weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
18
+ weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'),
19
+ weekdaysParseExact : true,
20
+ longDateFormat : {
21
+ LT : 'HH:mm',
22
+ LTS : 'HH:mm:ss',
23
+ L : 'DD/MM/YYYY',
24
+ LL : 'D [de] MMMM [de] YYYY',
25
+ LLL : 'D [de] MMMM [de] YYYY [às] HH:mm',
26
+ LLLL : 'dddd, D [de] MMMM [de] YYYY [às] HH:mm'
27
+ },
28
+ calendar : {
29
+ sameDay: '[Hoje às] LT',
30
+ nextDay: '[Amanhã às] LT',
31
+ nextWeek: 'dddd [às] LT',
32
+ lastDay: '[Ontem às] LT',
33
+ lastWeek: function () {
34
+ return (this.day() === 0 || this.day() === 6) ?
35
+ '[Último] dddd [às] LT' : // Saturday + Sunday
36
+ '[Última] dddd [às] LT'; // Monday - Friday
37
+ },
38
+ sameElse: 'L'
39
+ },
40
+ relativeTime : {
41
+ future : 'em %s',
42
+ past : '%s atrás',
43
+ s : 'poucos segundos',
44
+ m : 'um minuto',
45
+ mm : '%d minutos',
46
+ h : 'uma hora',
47
+ hh : '%d horas',
48
+ d : 'um dia',
49
+ dd : '%d dias',
50
+ M : 'um mês',
51
+ MM : '%d meses',
52
+ y : 'um ano',
53
+ yy : '%d anos'
54
+ },
55
+ ordinalParse: /\d{1,2}º/,
56
+ ordinal : '%dº'
57
+ });
58
+
59
+ return ptBr;
60
+
61
+ })));
@@ -0,0 +1,65 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Portuguese [pt]
3
+ //! author : Jefferson : https://github.com/jalex79
4
+
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
+ factory(global.moment)
10
+ }(this, (function (moment) { 'use strict';
11
+
12
+
13
+ var pt = moment.defineLocale('pt', {
14
+ months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
15
+ monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
16
+ weekdays : 'Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado'.split('_'),
17
+ weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
18
+ weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'),
19
+ weekdaysParseExact : true,
20
+ longDateFormat : {
21
+ LT : 'HH:mm',
22
+ LTS : 'HH:mm:ss',
23
+ L : 'DD/MM/YYYY',
24
+ LL : 'D [de] MMMM [de] YYYY',
25
+ LLL : 'D [de] MMMM [de] YYYY HH:mm',
26
+ LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm'
27
+ },
28
+ calendar : {
29
+ sameDay: '[Hoje às] LT',
30
+ nextDay: '[Amanhã às] LT',
31
+ nextWeek: 'dddd [às] LT',
32
+ lastDay: '[Ontem às] LT',
33
+ lastWeek: function () {
34
+ return (this.day() === 0 || this.day() === 6) ?
35
+ '[Último] dddd [às] LT' : // Saturday + Sunday
36
+ '[Última] dddd [às] LT'; // Monday - Friday
37
+ },
38
+ sameElse: 'L'
39
+ },
40
+ relativeTime : {
41
+ future : 'em %s',
42
+ past : 'há %s',
43
+ s : 'segundos',
44
+ m : 'um minuto',
45
+ mm : '%d minutos',
46
+ h : 'uma hora',
47
+ hh : '%d horas',
48
+ d : 'um dia',
49
+ dd : '%d dias',
50
+ M : 'um mês',
51
+ MM : '%d meses',
52
+ y : 'um ano',
53
+ yy : '%d anos'
54
+ },
55
+ ordinalParse: /\d{1,2}º/,
56
+ ordinal : '%dº',
57
+ week : {
58
+ dow : 1, // Monday is the first day of the week.
59
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
60
+ }
61
+ });
62
+
63
+ return pt;
64
+
65
+ })));
@@ -0,0 +1,75 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Romanian [ro]
3
+ //! author : Vlad Gurdiga : https://github.com/gurdiga
4
+ //! author : Valentin Agachi : https://github.com/avaly
5
+
6
+ ;(function (global, factory) {
7
+ typeof exports === 'object' && typeof module !== 'undefined'
8
+ && typeof require === 'function' ? factory(require('../moment')) :
9
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10
+ factory(global.moment)
11
+ }(this, (function (moment) { 'use strict';
12
+
13
+
14
+ function relativeTimeWithPlural(number, withoutSuffix, key) {
15
+ var format = {
16
+ 'mm': 'minute',
17
+ 'hh': 'ore',
18
+ 'dd': 'zile',
19
+ 'MM': 'luni',
20
+ 'yy': 'ani'
21
+ },
22
+ separator = ' ';
23
+ if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
24
+ separator = ' de ';
25
+ }
26
+ return number + separator + format[key];
27
+ }
28
+
29
+ var ro = moment.defineLocale('ro', {
30
+ months : 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'),
31
+ monthsShort : 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'),
32
+ monthsParseExact: true,
33
+ weekdays : 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
34
+ weekdaysShort : 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
35
+ weekdaysMin : 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
36
+ longDateFormat : {
37
+ LT : 'H:mm',
38
+ LTS : 'H:mm:ss',
39
+ L : 'DD.MM.YYYY',
40
+ LL : 'D MMMM YYYY',
41
+ LLL : 'D MMMM YYYY H:mm',
42
+ LLLL : 'dddd, D MMMM YYYY H:mm'
43
+ },
44
+ calendar : {
45
+ sameDay: '[azi la] LT',
46
+ nextDay: '[mâine la] LT',
47
+ nextWeek: 'dddd [la] LT',
48
+ lastDay: '[ieri la] LT',
49
+ lastWeek: '[fosta] dddd [la] LT',
50
+ sameElse: 'L'
51
+ },
52
+ relativeTime : {
53
+ future : 'peste %s',
54
+ past : '%s în urmă',
55
+ s : 'câteva secunde',
56
+ m : 'un minut',
57
+ mm : relativeTimeWithPlural,
58
+ h : 'o oră',
59
+ hh : relativeTimeWithPlural,
60
+ d : 'o zi',
61
+ dd : relativeTimeWithPlural,
62
+ M : 'o lună',
63
+ MM : relativeTimeWithPlural,
64
+ y : 'un an',
65
+ yy : relativeTimeWithPlural
66
+ },
67
+ week : {
68
+ dow : 1, // Monday is the first day of the week.
69
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
70
+ }
71
+ });
72
+
73
+ return ro;
74
+
75
+ })));