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,80 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Spanish (Dominican Republic) [es-do]
3
+
4
+ ;(function (global, factory) {
5
+ typeof exports === 'object' && typeof module !== 'undefined'
6
+ && typeof require === 'function' ? factory(require('../moment')) :
7
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
8
+ factory(global.moment)
9
+ }(this, (function (moment) { 'use strict';
10
+
11
+
12
+ var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_');
13
+ var monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
14
+
15
+ var esDo = moment.defineLocale('es-do', {
16
+ months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
17
+ monthsShort : function (m, format) {
18
+ if (/-MMM-/.test(format)) {
19
+ return monthsShort[m.month()];
20
+ } else {
21
+ return monthsShortDot[m.month()];
22
+ }
23
+ },
24
+ monthsParseExact : true,
25
+ weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
26
+ weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
27
+ weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
28
+ weekdaysParseExact : true,
29
+ longDateFormat : {
30
+ LT : 'h:mm A',
31
+ LTS : 'h:mm:ss A',
32
+ L : 'DD/MM/YYYY',
33
+ LL : 'D [de] MMMM [de] YYYY',
34
+ LLL : 'D [de] MMMM [de] YYYY h:mm A',
35
+ LLLL : 'dddd, D [de] MMMM [de] YYYY h:mm A'
36
+ },
37
+ calendar : {
38
+ sameDay : function () {
39
+ return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
40
+ },
41
+ nextDay : function () {
42
+ return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
43
+ },
44
+ nextWeek : function () {
45
+ return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
46
+ },
47
+ lastDay : function () {
48
+ return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
49
+ },
50
+ lastWeek : function () {
51
+ return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
52
+ },
53
+ sameElse : 'L'
54
+ },
55
+ relativeTime : {
56
+ future : 'en %s',
57
+ past : 'hace %s',
58
+ s : 'unos segundos',
59
+ m : 'un minuto',
60
+ mm : '%d minutos',
61
+ h : 'una hora',
62
+ hh : '%d horas',
63
+ d : 'un día',
64
+ dd : '%d días',
65
+ M : 'un mes',
66
+ MM : '%d meses',
67
+ y : 'un año',
68
+ yy : '%d años'
69
+ },
70
+ ordinalParse : /\d{1,2}º/,
71
+ ordinal : '%dº',
72
+ week : {
73
+ dow : 1, // Monday is the first day of the week.
74
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
75
+ }
76
+ });
77
+
78
+ return esDo;
79
+
80
+ })));
@@ -0,0 +1,81 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Spanish [es]
3
+ //! author : Julio Napurí : https://github.com/julionc
4
+
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
+ factory(global.moment)
10
+ }(this, (function (moment) { 'use strict';
11
+
12
+
13
+ var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_');
14
+ var monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
15
+
16
+ var es = moment.defineLocale('es', {
17
+ months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
18
+ monthsShort : function (m, format) {
19
+ if (/-MMM-/.test(format)) {
20
+ return monthsShort[m.month()];
21
+ } else {
22
+ return monthsShortDot[m.month()];
23
+ }
24
+ },
25
+ monthsParseExact : true,
26
+ weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
27
+ weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
28
+ weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
29
+ weekdaysParseExact : true,
30
+ longDateFormat : {
31
+ LT : 'H:mm',
32
+ LTS : 'H:mm:ss',
33
+ L : 'DD/MM/YYYY',
34
+ LL : 'D [de] MMMM [de] YYYY',
35
+ LLL : 'D [de] MMMM [de] YYYY H:mm',
36
+ LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm'
37
+ },
38
+ calendar : {
39
+ sameDay : function () {
40
+ return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
41
+ },
42
+ nextDay : function () {
43
+ return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
44
+ },
45
+ nextWeek : function () {
46
+ return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
47
+ },
48
+ lastDay : function () {
49
+ return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
50
+ },
51
+ lastWeek : function () {
52
+ return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
53
+ },
54
+ sameElse : 'L'
55
+ },
56
+ relativeTime : {
57
+ future : 'en %s',
58
+ past : 'hace %s',
59
+ s : 'unos segundos',
60
+ m : 'un minuto',
61
+ mm : '%d minutos',
62
+ h : 'una hora',
63
+ hh : '%d horas',
64
+ d : 'un día',
65
+ dd : '%d días',
66
+ M : 'un mes',
67
+ MM : '%d meses',
68
+ y : 'un año',
69
+ yy : '%d años'
70
+ },
71
+ ordinalParse : /\d{1,2}º/,
72
+ ordinal : '%dº',
73
+ week : {
74
+ dow : 1, // Monday is the first day of the week.
75
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
76
+ }
77
+ });
78
+
79
+ return es;
80
+
81
+ })));
@@ -0,0 +1,80 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Estonian [et]
3
+ //! author : Henry Kehlmann : https://github.com/madhenry
4
+ //! improvements : Illimar Tambek : https://github.com/ragulka
5
+
6
+ ;(function (global, factory) {
7
+ typeof exports === 'object' && typeof module !== 'undefined'
8
+ && typeof require === 'function' ? factory(require('../moment')) :
9
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10
+ factory(global.moment)
11
+ }(this, (function (moment) { 'use strict';
12
+
13
+
14
+ function processRelativeTime(number, withoutSuffix, key, isFuture) {
15
+ var format = {
16
+ 's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
17
+ 'm' : ['ühe minuti', 'üks minut'],
18
+ 'mm': [number + ' minuti', number + ' minutit'],
19
+ 'h' : ['ühe tunni', 'tund aega', 'üks tund'],
20
+ 'hh': [number + ' tunni', number + ' tundi'],
21
+ 'd' : ['ühe päeva', 'üks päev'],
22
+ 'M' : ['kuu aja', 'kuu aega', 'üks kuu'],
23
+ 'MM': [number + ' kuu', number + ' kuud'],
24
+ 'y' : ['ühe aasta', 'aasta', 'üks aasta'],
25
+ 'yy': [number + ' aasta', number + ' aastat']
26
+ };
27
+ if (withoutSuffix) {
28
+ return format[key][2] ? format[key][2] : format[key][1];
29
+ }
30
+ return isFuture ? format[key][0] : format[key][1];
31
+ }
32
+
33
+ var et = moment.defineLocale('et', {
34
+ months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'),
35
+ monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
36
+ weekdays : 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'),
37
+ weekdaysShort : 'P_E_T_K_N_R_L'.split('_'),
38
+ weekdaysMin : 'P_E_T_K_N_R_L'.split('_'),
39
+ longDateFormat : {
40
+ LT : 'H:mm',
41
+ LTS : 'H:mm:ss',
42
+ L : 'DD.MM.YYYY',
43
+ LL : 'D. MMMM YYYY',
44
+ LLL : 'D. MMMM YYYY H:mm',
45
+ LLLL : 'dddd, D. MMMM YYYY H:mm'
46
+ },
47
+ calendar : {
48
+ sameDay : '[Täna,] LT',
49
+ nextDay : '[Homme,] LT',
50
+ nextWeek : '[Järgmine] dddd LT',
51
+ lastDay : '[Eile,] LT',
52
+ lastWeek : '[Eelmine] dddd LT',
53
+ sameElse : 'L'
54
+ },
55
+ relativeTime : {
56
+ future : '%s pärast',
57
+ past : '%s tagasi',
58
+ s : processRelativeTime,
59
+ m : processRelativeTime,
60
+ mm : processRelativeTime,
61
+ h : processRelativeTime,
62
+ hh : processRelativeTime,
63
+ d : processRelativeTime,
64
+ dd : '%d päeva',
65
+ M : processRelativeTime,
66
+ MM : processRelativeTime,
67
+ y : processRelativeTime,
68
+ yy : processRelativeTime
69
+ },
70
+ ordinalParse: /\d{1,2}\./,
71
+ ordinal : '%d.',
72
+ week : {
73
+ dow : 1, // Monday is the first day of the week.
74
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
75
+ }
76
+ });
77
+
78
+ return et;
79
+
80
+ })));
@@ -0,0 +1,66 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Basque [eu]
3
+ //! author : Eneko Illarramendi : https://github.com/eillarra
4
+
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
+ factory(global.moment)
10
+ }(this, (function (moment) { 'use strict';
11
+
12
+
13
+ var eu = moment.defineLocale('eu', {
14
+ months : 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'),
15
+ monthsShort : 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'),
16
+ monthsParseExact : true,
17
+ weekdays : 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'),
18
+ weekdaysShort : 'ig._al._ar._az._og._ol._lr.'.split('_'),
19
+ weekdaysMin : 'ig_al_ar_az_og_ol_lr'.split('_'),
20
+ weekdaysParseExact : true,
21
+ longDateFormat : {
22
+ LT : 'HH:mm',
23
+ LTS : 'HH:mm:ss',
24
+ L : 'YYYY-MM-DD',
25
+ LL : 'YYYY[ko] MMMM[ren] D[a]',
26
+ LLL : 'YYYY[ko] MMMM[ren] D[a] HH:mm',
27
+ LLLL : 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
28
+ l : 'YYYY-M-D',
29
+ ll : 'YYYY[ko] MMM D[a]',
30
+ lll : 'YYYY[ko] MMM D[a] HH:mm',
31
+ llll : 'ddd, YYYY[ko] MMM D[a] HH:mm'
32
+ },
33
+ calendar : {
34
+ sameDay : '[gaur] LT[etan]',
35
+ nextDay : '[bihar] LT[etan]',
36
+ nextWeek : 'dddd LT[etan]',
37
+ lastDay : '[atzo] LT[etan]',
38
+ lastWeek : '[aurreko] dddd LT[etan]',
39
+ sameElse : 'L'
40
+ },
41
+ relativeTime : {
42
+ future : '%s barru',
43
+ past : 'duela %s',
44
+ s : 'segundo batzuk',
45
+ m : 'minutu bat',
46
+ mm : '%d minutu',
47
+ h : 'ordu bat',
48
+ hh : '%d ordu',
49
+ d : 'egun bat',
50
+ dd : '%d egun',
51
+ M : 'hilabete bat',
52
+ MM : '%d hilabete',
53
+ y : 'urte bat',
54
+ yy : '%d urte'
55
+ },
56
+ ordinalParse: /\d{1,2}\./,
57
+ ordinal : '%d.',
58
+ week : {
59
+ dow : 1, // Monday is the first day of the week.
60
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
61
+ }
62
+ });
63
+
64
+ return eu;
65
+
66
+ })));
@@ -0,0 +1,107 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Persian [fa]
3
+ //! author : Ebrahim Byagowi : https://github.com/ebraminio
4
+
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
+ factory(global.moment)
10
+ }(this, (function (moment) { 'use strict';
11
+
12
+
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 fa = moment.defineLocale('fa', {
39
+ months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
40
+ monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
41
+ weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
42
+ weekdaysShort : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
43
+ weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'),
44
+ weekdaysParseExact : true,
45
+ longDateFormat : {
46
+ LT : 'HH:mm',
47
+ LTS : 'HH:mm:ss',
48
+ L : 'DD/MM/YYYY',
49
+ LL : 'D MMMM YYYY',
50
+ LLL : 'D MMMM YYYY HH:mm',
51
+ LLLL : 'dddd, D MMMM YYYY HH:mm'
52
+ },
53
+ meridiemParse: /قبل از ظهر|بعد از ظهر/,
54
+ isPM: function (input) {
55
+ return /بعد از ظهر/.test(input);
56
+ },
57
+ meridiem : function (hour, minute, isLower) {
58
+ if (hour < 12) {
59
+ return 'قبل از ظهر';
60
+ } else {
61
+ return 'بعد از ظهر';
62
+ }
63
+ },
64
+ calendar : {
65
+ sameDay : '[امروز ساعت] LT',
66
+ nextDay : '[فردا ساعت] LT',
67
+ nextWeek : 'dddd [ساعت] LT',
68
+ lastDay : '[دیروز ساعت] LT',
69
+ lastWeek : 'dddd [پیش] [ساعت] LT',
70
+ sameElse : 'L'
71
+ },
72
+ relativeTime : {
73
+ future : 'در %s',
74
+ past : '%s پیش',
75
+ s : 'چندین ثانیه',
76
+ m : 'یک دقیقه',
77
+ mm : '%d دقیقه',
78
+ h : 'یک ساعت',
79
+ hh : '%d ساعت',
80
+ d : 'یک روز',
81
+ dd : '%d روز',
82
+ M : 'یک ماه',
83
+ MM : '%d ماه',
84
+ y : 'یک سال',
85
+ yy : '%d سال'
86
+ },
87
+ preparse: function (string) {
88
+ return string.replace(/[۰-۹]/g, function (match) {
89
+ return numberMap[match];
90
+ }).replace(/،/g, ',');
91
+ },
92
+ postformat: function (string) {
93
+ return string.replace(/\d/g, function (match) {
94
+ return symbolMap[match];
95
+ }).replace(/,/g, '،');
96
+ },
97
+ ordinalParse: /\d{1,2}م/,
98
+ ordinal : '%dم',
99
+ week : {
100
+ dow : 6, // Saturday is the first day of the week.
101
+ doy : 12 // The week that contains Jan 1st is the first week of the year.
102
+ }
103
+ });
104
+
105
+ return fa;
106
+
107
+ })));
@@ -0,0 +1,107 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Finnish [fi]
3
+ //! author : Tarmo Aidantausta : https://github.com/bleadof
4
+
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
+ factory(global.moment)
10
+ }(this, (function (moment) { 'use strict';
11
+
12
+
13
+ var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' ');
14
+ var numbersFuture = [
15
+ 'nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden',
16
+ numbersPast[7], numbersPast[8], numbersPast[9]
17
+ ];
18
+ function translate(number, withoutSuffix, key, isFuture) {
19
+ var result = '';
20
+ switch (key) {
21
+ case 's':
22
+ return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
23
+ case 'm':
24
+ return isFuture ? 'minuutin' : 'minuutti';
25
+ case 'mm':
26
+ result = isFuture ? 'minuutin' : 'minuuttia';
27
+ break;
28
+ case 'h':
29
+ return isFuture ? 'tunnin' : 'tunti';
30
+ case 'hh':
31
+ result = isFuture ? 'tunnin' : 'tuntia';
32
+ break;
33
+ case 'd':
34
+ return isFuture ? 'päivän' : 'päivä';
35
+ case 'dd':
36
+ result = isFuture ? 'päivän' : 'päivää';
37
+ break;
38
+ case 'M':
39
+ return isFuture ? 'kuukauden' : 'kuukausi';
40
+ case 'MM':
41
+ result = isFuture ? 'kuukauden' : 'kuukautta';
42
+ break;
43
+ case 'y':
44
+ return isFuture ? 'vuoden' : 'vuosi';
45
+ case 'yy':
46
+ result = isFuture ? 'vuoden' : 'vuotta';
47
+ break;
48
+ }
49
+ result = verbalNumber(number, isFuture) + ' ' + result;
50
+ return result;
51
+ }
52
+ function verbalNumber(number, isFuture) {
53
+ return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number;
54
+ }
55
+
56
+ var fi = moment.defineLocale('fi', {
57
+ months : 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'),
58
+ monthsShort : 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'),
59
+ weekdays : 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'),
60
+ weekdaysShort : 'su_ma_ti_ke_to_pe_la'.split('_'),
61
+ weekdaysMin : 'su_ma_ti_ke_to_pe_la'.split('_'),
62
+ longDateFormat : {
63
+ LT : 'HH.mm',
64
+ LTS : 'HH.mm.ss',
65
+ L : 'DD.MM.YYYY',
66
+ LL : 'Do MMMM[ta] YYYY',
67
+ LLL : 'Do MMMM[ta] YYYY, [klo] HH.mm',
68
+ LLLL : 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
69
+ l : 'D.M.YYYY',
70
+ ll : 'Do MMM YYYY',
71
+ lll : 'Do MMM YYYY, [klo] HH.mm',
72
+ llll : 'ddd, Do MMM YYYY, [klo] HH.mm'
73
+ },
74
+ calendar : {
75
+ sameDay : '[tänään] [klo] LT',
76
+ nextDay : '[huomenna] [klo] LT',
77
+ nextWeek : 'dddd [klo] LT',
78
+ lastDay : '[eilen] [klo] LT',
79
+ lastWeek : '[viime] dddd[na] [klo] LT',
80
+ sameElse : 'L'
81
+ },
82
+ relativeTime : {
83
+ future : '%s päästä',
84
+ past : '%s sitten',
85
+ s : translate,
86
+ m : translate,
87
+ mm : translate,
88
+ h : translate,
89
+ hh : translate,
90
+ d : translate,
91
+ dd : translate,
92
+ M : translate,
93
+ MM : translate,
94
+ y : translate,
95
+ yy : translate
96
+ },
97
+ ordinalParse: /\d{1,2}\./,
98
+ ordinal : '%d.',
99
+ week : {
100
+ dow : 1, // Monday is the first day of the week.
101
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
102
+ }
103
+ });
104
+
105
+ return fi;
106
+
107
+ })));
@@ -0,0 +1,60 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Faroese [fo]
3
+ //! author : Ragnar Johannesen : https://github.com/ragnar123
4
+
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
+ factory(global.moment)
10
+ }(this, (function (moment) { 'use strict';
11
+
12
+
13
+ var fo = moment.defineLocale('fo', {
14
+ months : 'januar_februar_mars_apríl_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 : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),
17
+ weekdaysShort : 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
18
+ weekdaysMin : 'su_má_tý_mi_hó_fr_le'.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 : '[Í dag kl.] LT',
29
+ nextDay : '[Í morgin kl.] LT',
30
+ nextWeek : 'dddd [kl.] LT',
31
+ lastDay : '[Í gjár kl.] LT',
32
+ lastWeek : '[síðstu] dddd [kl] LT',
33
+ sameElse : 'L'
34
+ },
35
+ relativeTime : {
36
+ future : 'um %s',
37
+ past : '%s síðani',
38
+ s : 'fá sekund',
39
+ m : 'ein minutt',
40
+ mm : '%d minuttir',
41
+ h : 'ein tími',
42
+ hh : '%d tímar',
43
+ d : 'ein dagur',
44
+ dd : '%d dagar',
45
+ M : 'ein mánaði',
46
+ MM : '%d mánaðir',
47
+ y : 'eitt á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 fo;
59
+
60
+ })));
@@ -0,0 +1,60 @@
1
+ //! moment.js locale configuration
2
+ //! locale : French (Canada) [fr-ca]
3
+ //! author : Jonathan Abourbih : https://github.com/jonbca
4
+
5
+ ;(function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined'
7
+ && typeof require === 'function' ? factory(require('../moment')) :
8
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9
+ factory(global.moment)
10
+ }(this, (function (moment) { 'use strict';
11
+
12
+
13
+ var frCa = moment.defineLocale('fr-ca', {
14
+ months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
15
+ monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
16
+ monthsParseExact : true,
17
+ weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
18
+ weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
19
+ weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
20
+ weekdaysParseExact : true,
21
+ longDateFormat : {
22
+ LT : 'HH:mm',
23
+ LTS : 'HH:mm:ss',
24
+ L : 'YYYY-MM-DD',
25
+ LL : 'D MMMM YYYY',
26
+ LLL : 'D MMMM YYYY HH:mm',
27
+ LLLL : 'dddd D MMMM YYYY HH:mm'
28
+ },
29
+ calendar : {
30
+ sameDay: '[Aujourd\'hui à] LT',
31
+ nextDay: '[Demain à] LT',
32
+ nextWeek: 'dddd [à] LT',
33
+ lastDay: '[Hier à] LT',
34
+ lastWeek: 'dddd [dernier à] LT',
35
+ sameElse: 'L'
36
+ },
37
+ relativeTime : {
38
+ future : 'dans %s',
39
+ past : 'il y a %s',
40
+ s : 'quelques secondes',
41
+ m : 'une minute',
42
+ mm : '%d minutes',
43
+ h : 'une heure',
44
+ hh : '%d heures',
45
+ d : 'un jour',
46
+ dd : '%d jours',
47
+ M : 'un mois',
48
+ MM : '%d mois',
49
+ y : 'un an',
50
+ yy : '%d ans'
51
+ },
52
+ ordinalParse: /\d{1,2}(er|e)/,
53
+ ordinal : function (number) {
54
+ return number + (number === 1 ? 'er' : 'e');
55
+ }
56
+ });
57
+
58
+ return frCa;
59
+
60
+ })));