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,145 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Croatian [hr]
3
+ //! author : Bojan Marković : https://github.com/bmarkovic
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
+ function translate(number, withoutSuffix, key) {
14
+ var result = number + ' ';
15
+ switch (key) {
16
+ case 'm':
17
+ return withoutSuffix ? 'jedna minuta' : 'jedne minute';
18
+ case 'mm':
19
+ if (number === 1) {
20
+ result += 'minuta';
21
+ } else if (number === 2 || number === 3 || number === 4) {
22
+ result += 'minute';
23
+ } else {
24
+ result += 'minuta';
25
+ }
26
+ return result;
27
+ case 'h':
28
+ return withoutSuffix ? 'jedan sat' : 'jednog sata';
29
+ case 'hh':
30
+ if (number === 1) {
31
+ result += 'sat';
32
+ } else if (number === 2 || number === 3 || number === 4) {
33
+ result += 'sata';
34
+ } else {
35
+ result += 'sati';
36
+ }
37
+ return result;
38
+ case 'dd':
39
+ if (number === 1) {
40
+ result += 'dan';
41
+ } else {
42
+ result += 'dana';
43
+ }
44
+ return result;
45
+ case 'MM':
46
+ if (number === 1) {
47
+ result += 'mjesec';
48
+ } else if (number === 2 || number === 3 || number === 4) {
49
+ result += 'mjeseca';
50
+ } else {
51
+ result += 'mjeseci';
52
+ }
53
+ return result;
54
+ case 'yy':
55
+ if (number === 1) {
56
+ result += 'godina';
57
+ } else if (number === 2 || number === 3 || number === 4) {
58
+ result += 'godine';
59
+ } else {
60
+ result += 'godina';
61
+ }
62
+ return result;
63
+ }
64
+ }
65
+
66
+ var hr = moment.defineLocale('hr', {
67
+ months : {
68
+ format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'),
69
+ standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_')
70
+ },
71
+ monthsShort : 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'),
72
+ monthsParseExact: true,
73
+ weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
74
+ weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
75
+ weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),
76
+ weekdaysParseExact : true,
77
+ longDateFormat : {
78
+ LT : 'H:mm',
79
+ LTS : 'H:mm:ss',
80
+ L : 'DD.MM.YYYY',
81
+ LL : 'D. MMMM YYYY',
82
+ LLL : 'D. MMMM YYYY H:mm',
83
+ LLLL : 'dddd, D. MMMM YYYY H:mm'
84
+ },
85
+ calendar : {
86
+ sameDay : '[danas u] LT',
87
+ nextDay : '[sutra u] LT',
88
+ nextWeek : function () {
89
+ switch (this.day()) {
90
+ case 0:
91
+ return '[u] [nedjelju] [u] LT';
92
+ case 3:
93
+ return '[u] [srijedu] [u] LT';
94
+ case 6:
95
+ return '[u] [subotu] [u] LT';
96
+ case 1:
97
+ case 2:
98
+ case 4:
99
+ case 5:
100
+ return '[u] dddd [u] LT';
101
+ }
102
+ },
103
+ lastDay : '[jučer u] LT',
104
+ lastWeek : function () {
105
+ switch (this.day()) {
106
+ case 0:
107
+ case 3:
108
+ return '[prošlu] dddd [u] LT';
109
+ case 6:
110
+ return '[prošle] [subote] [u] LT';
111
+ case 1:
112
+ case 2:
113
+ case 4:
114
+ case 5:
115
+ return '[prošli] dddd [u] LT';
116
+ }
117
+ },
118
+ sameElse : 'L'
119
+ },
120
+ relativeTime : {
121
+ future : 'za %s',
122
+ past : 'prije %s',
123
+ s : 'par sekundi',
124
+ m : translate,
125
+ mm : translate,
126
+ h : translate,
127
+ hh : translate,
128
+ d : 'dan',
129
+ dd : translate,
130
+ M : 'mjesec',
131
+ MM : translate,
132
+ y : 'godinu',
133
+ yy : translate
134
+ },
135
+ ordinalParse: /\d{1,2}\./,
136
+ ordinal : '%d.',
137
+ week : {
138
+ dow : 1, // Monday is the first day of the week.
139
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
140
+ }
141
+ });
142
+
143
+ return hr;
144
+
145
+ })));
@@ -0,0 +1,109 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Hungarian [hu]
3
+ //! author : Adam Brunner : https://github.com/adambrunner
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 weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
14
+ function translate(number, withoutSuffix, key, isFuture) {
15
+ var num = number,
16
+ suffix;
17
+ switch (key) {
18
+ case 's':
19
+ return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce';
20
+ case 'm':
21
+ return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
22
+ case 'mm':
23
+ return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
24
+ case 'h':
25
+ return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
26
+ case 'hh':
27
+ return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
28
+ case 'd':
29
+ return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
30
+ case 'dd':
31
+ return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
32
+ case 'M':
33
+ return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
34
+ case 'MM':
35
+ return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
36
+ case 'y':
37
+ return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
38
+ case 'yy':
39
+ return num + (isFuture || withoutSuffix ? ' év' : ' éve');
40
+ }
41
+ return '';
42
+ }
43
+ function week(isFuture) {
44
+ return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]';
45
+ }
46
+
47
+ var hu = moment.defineLocale('hu', {
48
+ months : 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'),
49
+ monthsShort : 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'),
50
+ weekdays : 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
51
+ weekdaysShort : 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
52
+ weekdaysMin : 'v_h_k_sze_cs_p_szo'.split('_'),
53
+ longDateFormat : {
54
+ LT : 'H:mm',
55
+ LTS : 'H:mm:ss',
56
+ L : 'YYYY.MM.DD.',
57
+ LL : 'YYYY. MMMM D.',
58
+ LLL : 'YYYY. MMMM D. H:mm',
59
+ LLLL : 'YYYY. MMMM D., dddd H:mm'
60
+ },
61
+ meridiemParse: /de|du/i,
62
+ isPM: function (input) {
63
+ return input.charAt(1).toLowerCase() === 'u';
64
+ },
65
+ meridiem : function (hours, minutes, isLower) {
66
+ if (hours < 12) {
67
+ return isLower === true ? 'de' : 'DE';
68
+ } else {
69
+ return isLower === true ? 'du' : 'DU';
70
+ }
71
+ },
72
+ calendar : {
73
+ sameDay : '[ma] LT[-kor]',
74
+ nextDay : '[holnap] LT[-kor]',
75
+ nextWeek : function () {
76
+ return week.call(this, true);
77
+ },
78
+ lastDay : '[tegnap] LT[-kor]',
79
+ lastWeek : function () {
80
+ return week.call(this, false);
81
+ },
82
+ sameElse : 'L'
83
+ },
84
+ relativeTime : {
85
+ future : '%s múlva',
86
+ past : '%s',
87
+ s : translate,
88
+ m : translate,
89
+ mm : translate,
90
+ h : translate,
91
+ hh : translate,
92
+ d : translate,
93
+ dd : translate,
94
+ M : translate,
95
+ MM : translate,
96
+ y : translate,
97
+ yy : translate
98
+ },
99
+ ordinalParse: /\d{1,2}\./,
100
+ ordinal : '%d.',
101
+ week : {
102
+ dow : 1, // Monday is the first day of the week.
103
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
104
+ }
105
+ });
106
+
107
+ return hu;
108
+
109
+ })));
@@ -0,0 +1,95 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Armenian [hy-am]
3
+ //! author : Armendarabyan : https://github.com/armendarabyan
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 hyAm = moment.defineLocale('hy-am', {
14
+ months : {
15
+ format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'),
16
+ standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_')
17
+ },
18
+ monthsShort : 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
19
+ weekdays : 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'),
20
+ weekdaysShort : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
21
+ weekdaysMin : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
22
+ longDateFormat : {
23
+ LT : 'HH:mm',
24
+ LTS : 'HH:mm:ss',
25
+ L : 'DD.MM.YYYY',
26
+ LL : 'D MMMM YYYY թ.',
27
+ LLL : 'D MMMM YYYY թ., HH:mm',
28
+ LLLL : 'dddd, D MMMM YYYY թ., HH:mm'
29
+ },
30
+ calendar : {
31
+ sameDay: '[այսօր] LT',
32
+ nextDay: '[վաղը] LT',
33
+ lastDay: '[երեկ] LT',
34
+ nextWeek: function () {
35
+ return 'dddd [օրը ժամը] LT';
36
+ },
37
+ lastWeek: function () {
38
+ return '[անցած] dddd [օրը ժամը] LT';
39
+ },
40
+ sameElse: 'L'
41
+ },
42
+ relativeTime : {
43
+ future : '%s հետո',
44
+ past : '%s առաջ',
45
+ s : 'մի քանի վայրկյան',
46
+ m : 'րոպե',
47
+ mm : '%d րոպե',
48
+ h : 'ժամ',
49
+ hh : '%d ժամ',
50
+ d : 'օր',
51
+ dd : '%d օր',
52
+ M : 'ամիս',
53
+ MM : '%d ամիս',
54
+ y : 'տարի',
55
+ yy : '%d տարի'
56
+ },
57
+ meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
58
+ isPM: function (input) {
59
+ return /^(ցերեկվա|երեկոյան)$/.test(input);
60
+ },
61
+ meridiem : function (hour) {
62
+ if (hour < 4) {
63
+ return 'գիշերվա';
64
+ } else if (hour < 12) {
65
+ return 'առավոտվա';
66
+ } else if (hour < 17) {
67
+ return 'ցերեկվա';
68
+ } else {
69
+ return 'երեկոյան';
70
+ }
71
+ },
72
+ ordinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
73
+ ordinal: function (number, period) {
74
+ switch (period) {
75
+ case 'DDD':
76
+ case 'w':
77
+ case 'W':
78
+ case 'DDDo':
79
+ if (number === 1) {
80
+ return number + '-ին';
81
+ }
82
+ return number + '-րդ';
83
+ default:
84
+ return number;
85
+ }
86
+ },
87
+ week : {
88
+ dow : 1, // Monday is the first day of the week.
89
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
90
+ }
91
+ });
92
+
93
+ return hyAm;
94
+
95
+ })));
@@ -0,0 +1,83 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Indonesian [id]
3
+ //! author : Mohammad Satrio Utomo : https://github.com/tyok
4
+ //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
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 id = moment.defineLocale('id', {
15
+ months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
16
+ monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des'.split('_'),
17
+ weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
18
+ weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
19
+ weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.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: /pagi|siang|sore|malam/,
29
+ meridiemHour : function (hour, meridiem) {
30
+ if (hour === 12) {
31
+ hour = 0;
32
+ }
33
+ if (meridiem === 'pagi') {
34
+ return hour;
35
+ } else if (meridiem === 'siang') {
36
+ return hour >= 11 ? hour : hour + 12;
37
+ } else if (meridiem === 'sore' || meridiem === 'malam') {
38
+ return hour + 12;
39
+ }
40
+ },
41
+ meridiem : function (hours, minutes, isLower) {
42
+ if (hours < 11) {
43
+ return 'pagi';
44
+ } else if (hours < 15) {
45
+ return 'siang';
46
+ } else if (hours < 19) {
47
+ return 'sore';
48
+ } else {
49
+ return 'malam';
50
+ }
51
+ },
52
+ calendar : {
53
+ sameDay : '[Hari ini pukul] LT',
54
+ nextDay : '[Besok pukul] LT',
55
+ nextWeek : 'dddd [pukul] LT',
56
+ lastDay : '[Kemarin pukul] LT',
57
+ lastWeek : 'dddd [lalu pukul] LT',
58
+ sameElse : 'L'
59
+ },
60
+ relativeTime : {
61
+ future : 'dalam %s',
62
+ past : '%s yang lalu',
63
+ s : 'beberapa detik',
64
+ m : 'semenit',
65
+ mm : '%d menit',
66
+ h : 'sejam',
67
+ hh : '%d jam',
68
+ d : 'sehari',
69
+ dd : '%d hari',
70
+ M : 'sebulan',
71
+ MM : '%d bulan',
72
+ y : 'setahun',
73
+ yy : '%d tahun'
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 id;
82
+
83
+ })));
@@ -0,0 +1,127 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Icelandic [is]
3
+ //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
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
+ function plural(n) {
14
+ if (n % 100 === 11) {
15
+ return true;
16
+ } else if (n % 10 === 1) {
17
+ return false;
18
+ }
19
+ return true;
20
+ }
21
+ function translate(number, withoutSuffix, key, isFuture) {
22
+ var result = number + ' ';
23
+ switch (key) {
24
+ case 's':
25
+ return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
26
+ case 'm':
27
+ return withoutSuffix ? 'mínúta' : 'mínútu';
28
+ case 'mm':
29
+ if (plural(number)) {
30
+ return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum');
31
+ } else if (withoutSuffix) {
32
+ return result + 'mínúta';
33
+ }
34
+ return result + 'mínútu';
35
+ case 'hh':
36
+ if (plural(number)) {
37
+ return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');
38
+ }
39
+ return result + 'klukkustund';
40
+ case 'd':
41
+ if (withoutSuffix) {
42
+ return 'dagur';
43
+ }
44
+ return isFuture ? 'dag' : 'degi';
45
+ case 'dd':
46
+ if (plural(number)) {
47
+ if (withoutSuffix) {
48
+ return result + 'dagar';
49
+ }
50
+ return result + (isFuture ? 'daga' : 'dögum');
51
+ } else if (withoutSuffix) {
52
+ return result + 'dagur';
53
+ }
54
+ return result + (isFuture ? 'dag' : 'degi');
55
+ case 'M':
56
+ if (withoutSuffix) {
57
+ return 'mánuður';
58
+ }
59
+ return isFuture ? 'mánuð' : 'mánuði';
60
+ case 'MM':
61
+ if (plural(number)) {
62
+ if (withoutSuffix) {
63
+ return result + 'mánuðir';
64
+ }
65
+ return result + (isFuture ? 'mánuði' : 'mánuðum');
66
+ } else if (withoutSuffix) {
67
+ return result + 'mánuður';
68
+ }
69
+ return result + (isFuture ? 'mánuð' : 'mánuði');
70
+ case 'y':
71
+ return withoutSuffix || isFuture ? 'ár' : 'ári';
72
+ case 'yy':
73
+ if (plural(number)) {
74
+ return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
75
+ }
76
+ return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
77
+ }
78
+ }
79
+
80
+ var is = moment.defineLocale('is', {
81
+ months : 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'),
82
+ monthsShort : 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
83
+ weekdays : 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'),
84
+ weekdaysShort : 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
85
+ weekdaysMin : 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
86
+ longDateFormat : {
87
+ LT : 'H:mm',
88
+ LTS : 'H:mm:ss',
89
+ L : 'DD.MM.YYYY',
90
+ LL : 'D. MMMM YYYY',
91
+ LLL : 'D. MMMM YYYY [kl.] H:mm',
92
+ LLLL : 'dddd, D. MMMM YYYY [kl.] H:mm'
93
+ },
94
+ calendar : {
95
+ sameDay : '[í dag kl.] LT',
96
+ nextDay : '[á morgun kl.] LT',
97
+ nextWeek : 'dddd [kl.] LT',
98
+ lastDay : '[í gær kl.] LT',
99
+ lastWeek : '[síðasta] dddd [kl.] LT',
100
+ sameElse : 'L'
101
+ },
102
+ relativeTime : {
103
+ future : 'eftir %s',
104
+ past : 'fyrir %s síðan',
105
+ s : translate,
106
+ m : translate,
107
+ mm : translate,
108
+ h : 'klukkustund',
109
+ hh : translate,
110
+ d : translate,
111
+ dd : translate,
112
+ M : translate,
113
+ MM : translate,
114
+ y : translate,
115
+ yy : translate
116
+ },
117
+ ordinalParse: /\d{1,2}\./,
118
+ ordinal : '%d.',
119
+ week : {
120
+ dow : 1, // Monday is the first day of the week.
121
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
122
+ }
123
+ });
124
+
125
+ return is;
126
+
127
+ })));
@@ -0,0 +1,70 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Italian [it]
3
+ //! author : Lorenzo : https://github.com/aliem
4
+ //! author: Mattia Larentis: https://github.com/nostalgiaz
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 it = moment.defineLocale('it', {
15
+ months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
16
+ monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
17
+ weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'),
18
+ weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'),
19
+ weekdaysMin : 'Do_Lu_Ma_Me_Gi_Ve_Sa'.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 HH:mm',
26
+ LLLL : 'dddd, D MMMM YYYY HH:mm'
27
+ },
28
+ calendar : {
29
+ sameDay: '[Oggi alle] LT',
30
+ nextDay: '[Domani alle] LT',
31
+ nextWeek: 'dddd [alle] LT',
32
+ lastDay: '[Ieri alle] LT',
33
+ lastWeek: function () {
34
+ switch (this.day()) {
35
+ case 0:
36
+ return '[la scorsa] dddd [alle] LT';
37
+ default:
38
+ return '[lo scorso] dddd [alle] LT';
39
+ }
40
+ },
41
+ sameElse: 'L'
42
+ },
43
+ relativeTime : {
44
+ future : function (s) {
45
+ return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s;
46
+ },
47
+ past : '%s fa',
48
+ s : 'alcuni secondi',
49
+ m : 'un minuto',
50
+ mm : '%d minuti',
51
+ h : 'un\'ora',
52
+ hh : '%d ore',
53
+ d : 'un giorno',
54
+ dd : '%d giorni',
55
+ M : 'un mese',
56
+ MM : '%d mesi',
57
+ y : 'un anno',
58
+ yy : '%d anni'
59
+ },
60
+ ordinalParse : /\d{1,2}º/,
61
+ ordinal: '%dº',
62
+ week : {
63
+ dow : 1, // Monday is the first day of the week.
64
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
65
+ }
66
+ });
67
+
68
+ return it;
69
+
70
+ })));