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,159 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Marathi [mr]
3
+ //! author : Harshad Kale : https://github.com/kalehv
4
+ //! author : Vivek Athalye : https://github.com/vnathalye
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 symbolMap = {
15
+ '1': '१',
16
+ '2': '२',
17
+ '3': '३',
18
+ '4': '४',
19
+ '5': '५',
20
+ '6': '६',
21
+ '7': '७',
22
+ '8': '८',
23
+ '9': '९',
24
+ '0': '०'
25
+ };
26
+ var numberMap = {
27
+ '१': '1',
28
+ '२': '2',
29
+ '३': '3',
30
+ '४': '4',
31
+ '५': '5',
32
+ '६': '6',
33
+ '७': '7',
34
+ '८': '8',
35
+ '९': '9',
36
+ '०': '0'
37
+ };
38
+
39
+ function relativeTimeMr(number, withoutSuffix, string, isFuture)
40
+ {
41
+ var output = '';
42
+ if (withoutSuffix) {
43
+ switch (string) {
44
+ case 's': output = 'काही सेकंद'; break;
45
+ case 'm': output = 'एक मिनिट'; break;
46
+ case 'mm': output = '%d मिनिटे'; break;
47
+ case 'h': output = 'एक तास'; break;
48
+ case 'hh': output = '%d तास'; break;
49
+ case 'd': output = 'एक दिवस'; break;
50
+ case 'dd': output = '%d दिवस'; break;
51
+ case 'M': output = 'एक महिना'; break;
52
+ case 'MM': output = '%d महिने'; break;
53
+ case 'y': output = 'एक वर्ष'; break;
54
+ case 'yy': output = '%d वर्षे'; break;
55
+ }
56
+ }
57
+ else {
58
+ switch (string) {
59
+ case 's': output = 'काही सेकंदां'; break;
60
+ case 'm': output = 'एका मिनिटा'; break;
61
+ case 'mm': output = '%d मिनिटां'; break;
62
+ case 'h': output = 'एका तासा'; break;
63
+ case 'hh': output = '%d तासां'; break;
64
+ case 'd': output = 'एका दिवसा'; break;
65
+ case 'dd': output = '%d दिवसां'; break;
66
+ case 'M': output = 'एका महिन्या'; break;
67
+ case 'MM': output = '%d महिन्यां'; break;
68
+ case 'y': output = 'एका वर्षा'; break;
69
+ case 'yy': output = '%d वर्षां'; break;
70
+ }
71
+ }
72
+ return output.replace(/%d/i, number);
73
+ }
74
+
75
+ var mr = moment.defineLocale('mr', {
76
+ months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),
77
+ monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),
78
+ monthsParseExact : true,
79
+ weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
80
+ weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
81
+ weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),
82
+ longDateFormat : {
83
+ LT : 'A h:mm वाजता',
84
+ LTS : 'A h:mm:ss वाजता',
85
+ L : 'DD/MM/YYYY',
86
+ LL : 'D MMMM YYYY',
87
+ LLL : 'D MMMM YYYY, A h:mm वाजता',
88
+ LLLL : 'dddd, D MMMM YYYY, A h:mm वाजता'
89
+ },
90
+ calendar : {
91
+ sameDay : '[आज] LT',
92
+ nextDay : '[उद्या] LT',
93
+ nextWeek : 'dddd, LT',
94
+ lastDay : '[काल] LT',
95
+ lastWeek: '[मागील] dddd, LT',
96
+ sameElse : 'L'
97
+ },
98
+ relativeTime : {
99
+ future: '%sमध्ये',
100
+ past: '%sपूर्वी',
101
+ s: relativeTimeMr,
102
+ m: relativeTimeMr,
103
+ mm: relativeTimeMr,
104
+ h: relativeTimeMr,
105
+ hh: relativeTimeMr,
106
+ d: relativeTimeMr,
107
+ dd: relativeTimeMr,
108
+ M: relativeTimeMr,
109
+ MM: relativeTimeMr,
110
+ y: relativeTimeMr,
111
+ yy: relativeTimeMr
112
+ },
113
+ preparse: function (string) {
114
+ return string.replace(/[१२३४५६७८९०]/g, function (match) {
115
+ return numberMap[match];
116
+ });
117
+ },
118
+ postformat: function (string) {
119
+ return string.replace(/\d/g, function (match) {
120
+ return symbolMap[match];
121
+ });
122
+ },
123
+ meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/,
124
+ meridiemHour : function (hour, meridiem) {
125
+ if (hour === 12) {
126
+ hour = 0;
127
+ }
128
+ if (meridiem === 'रात्री') {
129
+ return hour < 4 ? hour : hour + 12;
130
+ } else if (meridiem === 'सकाळी') {
131
+ return hour;
132
+ } else if (meridiem === 'दुपारी') {
133
+ return hour >= 10 ? hour : hour + 12;
134
+ } else if (meridiem === 'सायंकाळी') {
135
+ return hour + 12;
136
+ }
137
+ },
138
+ meridiem: function (hour, minute, isLower) {
139
+ if (hour < 4) {
140
+ return 'रात्री';
141
+ } else if (hour < 10) {
142
+ return 'सकाळी';
143
+ } else if (hour < 17) {
144
+ return 'दुपारी';
145
+ } else if (hour < 20) {
146
+ return 'सायंकाळी';
147
+ } else {
148
+ return 'रात्री';
149
+ }
150
+ },
151
+ week : {
152
+ dow : 0, // Sunday is the first day of the week.
153
+ doy : 6 // The week that contains Jan 1st is the first week of the year.
154
+ }
155
+ });
156
+
157
+ return mr;
158
+
159
+ })));
@@ -0,0 +1,83 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Malay [ms-my]
3
+ //! note : DEPRECATED, the correct one is [ms]
4
+ //! author : Weldan Jamili : https://github.com/weldan
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 msMy = moment.defineLocale('ms-my', {
15
+ months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
16
+ monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
17
+ weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
18
+ weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
19
+ weekdaysMin : 'Ah_Is_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|tengahari|petang|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 === 'tengahari') {
36
+ return hour >= 11 ? hour : hour + 12;
37
+ } else if (meridiem === 'petang' || 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 'tengahari';
46
+ } else if (hours < 19) {
47
+ return 'petang';
48
+ } else {
49
+ return 'malam';
50
+ }
51
+ },
52
+ calendar : {
53
+ sameDay : '[Hari ini pukul] LT',
54
+ nextDay : '[Esok pukul] LT',
55
+ nextWeek : 'dddd [pukul] LT',
56
+ lastDay : '[Kelmarin pukul] LT',
57
+ lastWeek : 'dddd [lepas pukul] LT',
58
+ sameElse : 'L'
59
+ },
60
+ relativeTime : {
61
+ future : 'dalam %s',
62
+ past : '%s yang lepas',
63
+ s : 'beberapa saat',
64
+ m : 'seminit',
65
+ mm : '%d minit',
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 msMy;
82
+
83
+ })));
@@ -0,0 +1,82 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Malay [ms]
3
+ //! author : Weldan Jamili : https://github.com/weldan
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 ms = moment.defineLocale('ms', {
14
+ months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
15
+ monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
16
+ weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
17
+ weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
18
+ weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.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 [pukul] HH.mm',
25
+ LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
26
+ },
27
+ meridiemParse: /pagi|tengahari|petang|malam/,
28
+ meridiemHour: function (hour, meridiem) {
29
+ if (hour === 12) {
30
+ hour = 0;
31
+ }
32
+ if (meridiem === 'pagi') {
33
+ return hour;
34
+ } else if (meridiem === 'tengahari') {
35
+ return hour >= 11 ? hour : hour + 12;
36
+ } else if (meridiem === 'petang' || meridiem === 'malam') {
37
+ return hour + 12;
38
+ }
39
+ },
40
+ meridiem : function (hours, minutes, isLower) {
41
+ if (hours < 11) {
42
+ return 'pagi';
43
+ } else if (hours < 15) {
44
+ return 'tengahari';
45
+ } else if (hours < 19) {
46
+ return 'petang';
47
+ } else {
48
+ return 'malam';
49
+ }
50
+ },
51
+ calendar : {
52
+ sameDay : '[Hari ini pukul] LT',
53
+ nextDay : '[Esok pukul] LT',
54
+ nextWeek : 'dddd [pukul] LT',
55
+ lastDay : '[Kelmarin pukul] LT',
56
+ lastWeek : 'dddd [lepas pukul] LT',
57
+ sameElse : 'L'
58
+ },
59
+ relativeTime : {
60
+ future : 'dalam %s',
61
+ past : '%s yang lepas',
62
+ s : 'beberapa saat',
63
+ m : 'seminit',
64
+ mm : '%d minit',
65
+ h : 'sejam',
66
+ hh : '%d jam',
67
+ d : 'sehari',
68
+ dd : '%d hari',
69
+ M : 'sebulan',
70
+ MM : '%d bulan',
71
+ y : 'setahun',
72
+ yy : '%d tahun'
73
+ },
74
+ week : {
75
+ dow : 1, // Monday is the first day of the week.
76
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
77
+ }
78
+ });
79
+
80
+ return ms;
81
+
82
+ })));
@@ -0,0 +1,96 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Burmese [my]
3
+ //! author : Squar team, mysquar.com
4
+ //! author : David Rossellat : https://github.com/gholadr
5
+ //! author : Tin Aung Lin : https://github.com/thanyawzinmin
6
+
7
+ ;(function (global, factory) {
8
+ typeof exports === 'object' && typeof module !== 'undefined'
9
+ && typeof require === 'function' ? factory(require('../moment')) :
10
+ typeof define === 'function' && define.amd ? define(['../moment'], factory) :
11
+ factory(global.moment)
12
+ }(this, (function (moment) { 'use strict';
13
+
14
+
15
+ var symbolMap = {
16
+ '1': '၁',
17
+ '2': '၂',
18
+ '3': '၃',
19
+ '4': '၄',
20
+ '5': '၅',
21
+ '6': '၆',
22
+ '7': '၇',
23
+ '8': '၈',
24
+ '9': '၉',
25
+ '0': '၀'
26
+ };
27
+ var numberMap = {
28
+ '၁': '1',
29
+ '၂': '2',
30
+ '၃': '3',
31
+ '၄': '4',
32
+ '၅': '5',
33
+ '၆': '6',
34
+ '၇': '7',
35
+ '၈': '8',
36
+ '၉': '9',
37
+ '၀': '0'
38
+ };
39
+
40
+ var my = moment.defineLocale('my', {
41
+ months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'),
42
+ monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
43
+ weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'),
44
+ weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
45
+ weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
46
+
47
+ longDateFormat: {
48
+ LT: 'HH:mm',
49
+ LTS: 'HH:mm:ss',
50
+ L: 'DD/MM/YYYY',
51
+ LL: 'D MMMM YYYY',
52
+ LLL: 'D MMMM YYYY HH:mm',
53
+ LLLL: 'dddd D MMMM YYYY HH:mm'
54
+ },
55
+ calendar: {
56
+ sameDay: '[ယနေ.] LT [မှာ]',
57
+ nextDay: '[မနက်ဖြန်] LT [မှာ]',
58
+ nextWeek: 'dddd LT [မှာ]',
59
+ lastDay: '[မနေ.က] LT [မှာ]',
60
+ lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
61
+ sameElse: 'L'
62
+ },
63
+ relativeTime: {
64
+ future: 'လာမည့် %s မှာ',
65
+ past: 'လွန်ခဲ့သော %s က',
66
+ s: 'စက္ကန်.အနည်းငယ်',
67
+ m: 'တစ်မိနစ်',
68
+ mm: '%d မိနစ်',
69
+ h: 'တစ်နာရီ',
70
+ hh: '%d နာရီ',
71
+ d: 'တစ်ရက်',
72
+ dd: '%d ရက်',
73
+ M: 'တစ်လ',
74
+ MM: '%d လ',
75
+ y: 'တစ်နှစ်',
76
+ yy: '%d နှစ်'
77
+ },
78
+ preparse: function (string) {
79
+ return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
80
+ return numberMap[match];
81
+ });
82
+ },
83
+ postformat: function (string) {
84
+ return string.replace(/\d/g, function (match) {
85
+ return symbolMap[match];
86
+ });
87
+ },
88
+ week: {
89
+ dow: 1, // Monday is the first day of the week.
90
+ doy: 4 // The week that contains Jan 1st is the first week of the year.
91
+ }
92
+ });
93
+
94
+ return my;
95
+
96
+ })));
@@ -0,0 +1,63 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Norwegian Bokmål [nb]
3
+ //! authors : Espen Hovlandsdal : https://github.com/rexxars
4
+ //! Sigurd Gartmann : https://github.com/sigurdga
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 nb = moment.defineLocale('nb', {
15
+ months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
16
+ monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
17
+ monthsParseExact : true,
18
+ weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
19
+ weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'),
20
+ weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
21
+ weekdaysParseExact : true,
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 [kl.] HH:mm',
28
+ LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
29
+ },
30
+ calendar : {
31
+ sameDay: '[i dag kl.] LT',
32
+ nextDay: '[i morgen kl.] LT',
33
+ nextWeek: 'dddd [kl.] LT',
34
+ lastDay: '[i går kl.] LT',
35
+ lastWeek: '[forrige] dddd [kl.] LT',
36
+ sameElse: 'L'
37
+ },
38
+ relativeTime : {
39
+ future : 'om %s',
40
+ past : '%s siden',
41
+ s : 'noen sekunder',
42
+ m : 'ett minutt',
43
+ mm : '%d minutter',
44
+ h : 'en time',
45
+ hh : '%d timer',
46
+ d : 'en dag',
47
+ dd : '%d dager',
48
+ M : 'en måned',
49
+ MM : '%d måneder',
50
+ y : 'ett år',
51
+ yy : '%d år'
52
+ },
53
+ ordinalParse: /\d{1,2}\./,
54
+ ordinal : '%d.',
55
+ week : {
56
+ dow : 1, // Monday is the first day of the week.
57
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
58
+ }
59
+ });
60
+
61
+ return nb;
62
+
63
+ })));
@@ -0,0 +1,123 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Nepalese [ne]
3
+ //! author : suvash : https://github.com/suvash
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 ne = moment.defineLocale('ne', {
39
+ months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
40
+ monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
41
+ monthsParseExact : true,
42
+ weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
43
+ weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
44
+ weekdaysMin : 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
45
+ weekdaysParseExact : true,
46
+ longDateFormat : {
47
+ LT : 'Aको h:mm बजे',
48
+ LTS : 'Aको h:mm:ss बजे',
49
+ L : 'DD/MM/YYYY',
50
+ LL : 'D MMMM YYYY',
51
+ LLL : 'D MMMM YYYY, Aको h:mm बजे',
52
+ LLLL : 'dddd, D MMMM YYYY, Aको h:mm बजे'
53
+ },
54
+ preparse: function (string) {
55
+ return string.replace(/[१२३४५६७८९०]/g, function (match) {
56
+ return numberMap[match];
57
+ });
58
+ },
59
+ postformat: function (string) {
60
+ return string.replace(/\d/g, function (match) {
61
+ return symbolMap[match];
62
+ });
63
+ },
64
+ meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
65
+ meridiemHour : function (hour, meridiem) {
66
+ if (hour === 12) {
67
+ hour = 0;
68
+ }
69
+ if (meridiem === 'राति') {
70
+ return hour < 4 ? hour : hour + 12;
71
+ } else if (meridiem === 'बिहान') {
72
+ return hour;
73
+ } else if (meridiem === 'दिउँसो') {
74
+ return hour >= 10 ? hour : hour + 12;
75
+ } else if (meridiem === 'साँझ') {
76
+ return hour + 12;
77
+ }
78
+ },
79
+ meridiem : function (hour, minute, isLower) {
80
+ if (hour < 3) {
81
+ return 'राति';
82
+ } else if (hour < 12) {
83
+ return 'बिहान';
84
+ } else if (hour < 16) {
85
+ return 'दिउँसो';
86
+ } else if (hour < 20) {
87
+ return 'साँझ';
88
+ } else {
89
+ return 'राति';
90
+ }
91
+ },
92
+ calendar : {
93
+ sameDay : '[आज] LT',
94
+ nextDay : '[भोलि] LT',
95
+ nextWeek : '[आउँदो] dddd[,] LT',
96
+ lastDay : '[हिजो] LT',
97
+ lastWeek : '[गएको] dddd[,] LT',
98
+ sameElse : 'L'
99
+ },
100
+ relativeTime : {
101
+ future : '%sमा',
102
+ past : '%s अगाडि',
103
+ s : 'केही क्षण',
104
+ m : 'एक मिनेट',
105
+ mm : '%d मिनेट',
106
+ h : 'एक घण्टा',
107
+ hh : '%d घण्टा',
108
+ d : 'एक दिन',
109
+ dd : '%d दिन',
110
+ M : 'एक महिना',
111
+ MM : '%d महिना',
112
+ y : 'एक बर्ष',
113
+ yy : '%d बर्ष'
114
+ },
115
+ week : {
116
+ dow : 0, // Sunday is the first day of the week.
117
+ doy : 6 // The week that contains Jan 1st is the first week of the year.
118
+ }
119
+ });
120
+
121
+ return ne;
122
+
123
+ })));