esday 0.4.1 → 0.5.0

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 (381) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE +21 -0
  3. package/README.md +20 -2
  4. package/chunks/B5f9poqo.js +120 -0
  5. package/chunks/BDssPbM_.js +106 -0
  6. package/chunks/BRRrAbUl.js +56 -0
  7. package/chunks/BXRGSAJG.js +128 -0
  8. package/chunks/BeVgU2nj.js +188 -0
  9. package/chunks/BtmEtAW3.js +43 -0
  10. package/chunks/CQ57zhVp.js +106 -0
  11. package/chunks/CQJ0-ZuR.js +106 -0
  12. package/chunks/CWqzr5E5.js +108 -0
  13. package/chunks/Cb5SvF6r.js +25 -0
  14. package/chunks/Cg4ZI9v8.js +180 -0
  15. package/chunks/CoBtJ4c1.js +144 -0
  16. package/chunks/D009Z-ld.js +109 -0
  17. package/chunks/DMtTiWuY.js +127 -0
  18. package/chunks/DXHbH1CI.js +9 -0
  19. package/chunks/Dixb5KKs.js +116 -0
  20. package/chunks/DjY7KvwG.js +28 -0
  21. package/chunks/DqhiVwLi.d.ts +203 -0
  22. package/chunks/GjKpN6U-.js +135 -0
  23. package/chunks/MtjcOKi-.d.ts +6 -0
  24. package/chunks/St35qgL0.d.ts +103 -0
  25. package/chunks/Y32qdU_5.js +62 -0
  26. package/chunks/br7kModF.js +110 -0
  27. package/chunks/l2Rxo2H0.js +106 -0
  28. package/chunks/tfkJ5D3p.js +115 -0
  29. package/index.d.ts +3 -6
  30. package/index.js +556 -293
  31. package/locales/af.d.ts +8 -0
  32. package/locales/af.js +106 -0
  33. package/locales/am.d.ts +8 -0
  34. package/locales/am.js +106 -0
  35. package/locales/ar-dz.d.ts +11 -0
  36. package/locales/ar-dz.js +32 -0
  37. package/locales/ar-iq.d.ts +11 -0
  38. package/locales/ar-iq.js +14 -0
  39. package/locales/ar-kw.d.ts +11 -0
  40. package/locales/ar-kw.js +28 -0
  41. package/locales/ar-ly.d.ts +11 -0
  42. package/locales/ar-ly.js +14 -0
  43. package/locales/ar-ma.d.ts +11 -0
  44. package/locales/ar-ma.js +29 -0
  45. package/locales/ar-sa.d.ts +11 -0
  46. package/locales/ar-sa.js +29 -0
  47. package/locales/ar-tn.d.ts +11 -0
  48. package/locales/ar-tn.js +29 -0
  49. package/locales/ar.d.ts +8 -0
  50. package/locales/ar.js +3 -0
  51. package/locales/az.d.ts +8 -0
  52. package/locales/az.js +106 -0
  53. package/locales/be.d.ts +8 -0
  54. package/locales/be.js +140 -0
  55. package/locales/bg.d.ts +8 -0
  56. package/locales/bg.js +125 -0
  57. package/locales/bi.d.ts +8 -0
  58. package/locales/bi.js +106 -0
  59. package/locales/bm.d.ts +8 -0
  60. package/locales/bm.js +106 -0
  61. package/locales/bn-bd.d.ts +11 -0
  62. package/locales/bn-bd.js +24 -0
  63. package/locales/bn.d.ts +8 -0
  64. package/locales/bn.js +3 -0
  65. package/locales/bo.d.ts +8 -0
  66. package/locales/bo.js +106 -0
  67. package/locales/br.d.ts +8 -0
  68. package/locales/br.js +179 -0
  69. package/locales/bs.d.ts +8 -0
  70. package/locales/bs.js +128 -0
  71. package/locales/ca.d.ts +8 -0
  72. package/locales/ca.js +143 -0
  73. package/locales/cs.d.ts +8 -0
  74. package/locales/cs.js +182 -0
  75. package/locales/cv.d.ts +8 -0
  76. package/locales/cv.js +106 -0
  77. package/locales/cy.d.ts +8 -0
  78. package/locales/cy.js +106 -0
  79. package/locales/da.d.ts +8 -0
  80. package/locales/da.js +106 -0
  81. package/locales/de-at.d.ts +11 -0
  82. package/locales/de-at.js +44 -0
  83. package/locales/de-ch.d.ts +11 -0
  84. package/locales/de-ch.js +14 -0
  85. package/locales/de.d.ts +8 -0
  86. package/locales/de.js +3 -0
  87. package/locales/dv.d.ts +8 -0
  88. package/locales/dv.js +106 -0
  89. package/locales/el.d.ts +8 -0
  90. package/locales/el.js +115 -0
  91. package/locales/en-au.d.ts +11 -0
  92. package/locales/en-au.js +27 -0
  93. package/locales/en-ca.d.ts +11 -0
  94. package/locales/en-ca.js +27 -0
  95. package/locales/en-gb.d.ts +13 -0
  96. package/locales/en-gb.js +28 -0
  97. package/locales/en-ie.d.ts +11 -0
  98. package/locales/en-ie.js +26 -0
  99. package/locales/en-il.d.ts +11 -0
  100. package/locales/en-il.js +28 -0
  101. package/locales/en-in.d.ts +11 -0
  102. package/locales/en-in.js +26 -0
  103. package/locales/en-nz.d.ts +11 -0
  104. package/locales/en-nz.js +28 -0
  105. package/locales/en-sg.d.ts +11 -0
  106. package/locales/en-sg.js +28 -0
  107. package/locales/en-tt.d.ts +11 -0
  108. package/locales/en-tt.js +28 -0
  109. package/locales/en-us.d.ts +11 -0
  110. package/locales/en-us.js +13 -0
  111. package/locales/en.d.ts +7 -5
  112. package/locales/en.js +3 -1
  113. package/locales/eo.d.ts +8 -0
  114. package/locales/eo.js +106 -0
  115. package/locales/es-do.d.ts +11 -0
  116. package/locales/es-do.js +27 -0
  117. package/locales/es-mx.d.ts +11 -0
  118. package/locales/es-mx.js +15 -0
  119. package/locales/es-pr.d.ts +11 -0
  120. package/locales/es-pr.js +18 -0
  121. package/locales/es-us.d.ts +11 -0
  122. package/locales/es-us.js +14 -0
  123. package/locales/es.d.ts +8 -0
  124. package/locales/es.js +3 -0
  125. package/locales/et.d.ts +8 -0
  126. package/locales/et.js +142 -0
  127. package/locales/eu.d.ts +8 -0
  128. package/locales/eu.js +106 -0
  129. package/locales/fa.d.ts +8 -0
  130. package/locales/fa.js +106 -0
  131. package/locales/fi.d.ts +8 -0
  132. package/locales/fi.js +165 -0
  133. package/locales/fil.d.ts +8 -0
  134. package/locales/fil.js +106 -0
  135. package/locales/fo.d.ts +8 -0
  136. package/locales/fo.js +106 -0
  137. package/locales/fr-ca.d.ts +11 -0
  138. package/locales/fr-ca.js +18 -0
  139. package/locales/fr-ch.d.ts +11 -0
  140. package/locales/fr-ch.js +18 -0
  141. package/locales/fr.d.ts +8 -0
  142. package/locales/fr.js +3 -0
  143. package/locales/fy.d.ts +8 -0
  144. package/locales/fy.js +106 -0
  145. package/locales/ga.d.ts +8 -0
  146. package/locales/ga.js +106 -0
  147. package/locales/gd.d.ts +8 -0
  148. package/locales/gd.js +106 -0
  149. package/locales/gl.d.ts +8 -0
  150. package/locales/gl.js +116 -0
  151. package/locales/gom-deva.d.ts +8 -0
  152. package/locales/gom-deva.js +146 -0
  153. package/locales/gom-latn.d.ts +8 -0
  154. package/locales/gom-latn.js +146 -0
  155. package/locales/gu.d.ts +8 -0
  156. package/locales/gu.js +106 -0
  157. package/locales/he.d.ts +8 -0
  158. package/locales/he.js +129 -0
  159. package/locales/hi.d.ts +8 -0
  160. package/locales/hi.js +125 -0
  161. package/locales/hr.d.ts +8 -0
  162. package/locales/hr.js +189 -0
  163. package/locales/ht.d.ts +8 -0
  164. package/locales/ht.js +106 -0
  165. package/locales/hu.d.ts +8 -0
  166. package/locales/hu.js +140 -0
  167. package/locales/hy-am.d.ts +8 -0
  168. package/locales/hy-am.js +127 -0
  169. package/locales/id.d.ts +8 -0
  170. package/locales/id.js +106 -0
  171. package/locales/is.d.ts +8 -0
  172. package/locales/is.js +155 -0
  173. package/locales/it-ch.d.ts +11 -0
  174. package/locales/it-ch.js +32 -0
  175. package/locales/it.d.ts +8 -0
  176. package/locales/it.js +3 -0
  177. package/locales/ja.d.ts +15 -0
  178. package/locales/ja.js +109 -0
  179. package/locales/jv.d.ts +8 -0
  180. package/locales/jv.js +106 -0
  181. package/locales/ka.d.ts +8 -0
  182. package/locales/ka.js +126 -0
  183. package/locales/kk.d.ts +8 -0
  184. package/locales/kk.js +106 -0
  185. package/locales/km.d.ts +8 -0
  186. package/locales/km.js +106 -0
  187. package/locales/kn.d.ts +8 -0
  188. package/locales/kn.js +106 -0
  189. package/locales/ko.d.ts +8 -0
  190. package/locales/ko.js +105 -0
  191. package/locales/ku.d.ts +8 -0
  192. package/locales/ku.js +119 -0
  193. package/locales/ky.d.ts +8 -0
  194. package/locales/ky.js +106 -0
  195. package/locales/lb.d.ts +8 -0
  196. package/locales/lb.js +166 -0
  197. package/locales/lo.d.ts +8 -0
  198. package/locales/lo.js +105 -0
  199. package/locales/lt.d.ts +8 -0
  200. package/locales/lt.js +106 -0
  201. package/locales/lv.d.ts +8 -0
  202. package/locales/lv.js +106 -0
  203. package/locales/me.d.ts +8 -0
  204. package/locales/me.js +129 -0
  205. package/locales/mi.d.ts +8 -0
  206. package/locales/mi.js +106 -0
  207. package/locales/mk.d.ts +8 -0
  208. package/locales/mk.js +117 -0
  209. package/locales/ml.d.ts +8 -0
  210. package/locales/ml.js +109 -0
  211. package/locales/mn.d.ts +8 -0
  212. package/locales/mn.js +106 -0
  213. package/locales/mr.d.ts +8 -0
  214. package/locales/mr.js +215 -0
  215. package/locales/ms-my.d.ts +11 -0
  216. package/locales/ms-my.js +14 -0
  217. package/locales/ms.d.ts +8 -0
  218. package/locales/ms.js +3 -0
  219. package/locales/mt.d.ts +8 -0
  220. package/locales/mt.js +106 -0
  221. package/locales/my.d.ts +8 -0
  222. package/locales/my.js +132 -0
  223. package/locales/nb.d.ts +8 -0
  224. package/locales/nb.js +106 -0
  225. package/locales/ne.d.ts +8 -0
  226. package/locales/ne.js +106 -0
  227. package/locales/nl-be.d.ts +11 -0
  228. package/locales/nl-be.js +18 -0
  229. package/locales/nl.d.ts +8 -0
  230. package/locales/nl.js +3 -0
  231. package/locales/nn.d.ts +8 -0
  232. package/locales/nn.js +106 -0
  233. package/locales/oc-lnc.d.ts +8 -0
  234. package/locales/oc-lnc.js +126 -0
  235. package/locales/pa-in.d.ts +8 -0
  236. package/locales/pa-in.js +123 -0
  237. package/locales/pl.d.ts +8 -0
  238. package/locales/pl.js +159 -0
  239. package/locales/pt-br.d.ts +11 -0
  240. package/locales/pt-br.js +53 -0
  241. package/locales/pt.d.ts +8 -0
  242. package/locales/pt.js +3 -0
  243. package/locales/rn.d.ts +8 -0
  244. package/locales/rn.js +106 -0
  245. package/locales/ro.d.ts +8 -0
  246. package/locales/ro.js +106 -0
  247. package/locales/ru.d.ts +15 -0
  248. package/locales/ru.js +236 -0
  249. package/locales/rw.d.ts +8 -0
  250. package/locales/rw.js +106 -0
  251. package/locales/sd.d.ts +8 -0
  252. package/locales/sd.js +106 -0
  253. package/locales/se.d.ts +8 -0
  254. package/locales/se.js +106 -0
  255. package/locales/si.d.ts +8 -0
  256. package/locales/si.js +106 -0
  257. package/locales/sk.d.ts +8 -0
  258. package/locales/sk.js +162 -0
  259. package/locales/sl.d.ts +8 -0
  260. package/locales/sl.js +171 -0
  261. package/locales/sq.d.ts +8 -0
  262. package/locales/sq.js +106 -0
  263. package/locales/sr-cyrl.d.ts +11 -0
  264. package/locales/sr-cyrl.js +173 -0
  265. package/locales/sr.d.ts +8 -0
  266. package/locales/sr.js +3 -0
  267. package/locales/ss.d.ts +8 -0
  268. package/locales/ss.js +108 -0
  269. package/locales/sv-fi.d.ts +11 -0
  270. package/locales/sv-fi.js +27 -0
  271. package/locales/sv.d.ts +8 -0
  272. package/locales/sv.js +3 -0
  273. package/locales/sw.d.ts +8 -0
  274. package/locales/sw.js +106 -0
  275. package/locales/ta.d.ts +8 -0
  276. package/locales/ta.js +137 -0
  277. package/locales/te.d.ts +8 -0
  278. package/locales/te.js +109 -0
  279. package/locales/tet.d.ts +8 -0
  280. package/locales/tet.js +110 -0
  281. package/locales/tg.d.ts +8 -0
  282. package/locales/tg.js +128 -0
  283. package/locales/th.d.ts +8 -0
  284. package/locales/th.js +106 -0
  285. package/locales/tk.d.ts +8 -0
  286. package/locales/tk.js +134 -0
  287. package/locales/tl-ph.d.ts +8 -0
  288. package/locales/tl-ph.js +106 -0
  289. package/locales/tlh.d.ts +8 -0
  290. package/locales/tlh.js +152 -0
  291. package/locales/tr.d.ts +8 -0
  292. package/locales/tr.js +134 -0
  293. package/locales/tzl.d.ts +8 -0
  294. package/locales/tzl.js +123 -0
  295. package/locales/tzm-latn.d.ts +11 -0
  296. package/locales/tzm-latn.js +68 -0
  297. package/locales/tzm.d.ts +8 -0
  298. package/locales/tzm.js +3 -0
  299. package/locales/ug-cn.d.ts +8 -0
  300. package/locales/ug-cn.js +111 -0
  301. package/locales/uk.d.ts +8 -0
  302. package/locales/uk.js +194 -0
  303. package/locales/ur.d.ts +8 -0
  304. package/locales/ur.js +108 -0
  305. package/locales/uz-latn.d.ts +11 -0
  306. package/locales/uz-latn.js +68 -0
  307. package/locales/uz.d.ts +8 -0
  308. package/locales/uz.js +3 -0
  309. package/locales/vi.d.ts +8 -0
  310. package/locales/vi.js +106 -0
  311. package/locales/x-pseudo.d.ts +8 -0
  312. package/locales/x-pseudo.js +110 -0
  313. package/locales/yo.d.ts +8 -0
  314. package/locales/yo.js +106 -0
  315. package/locales/zh-cn.d.ts +11 -0
  316. package/locales/zh-cn.js +14 -0
  317. package/locales/zh-hk.d.ts +11 -0
  318. package/locales/zh-hk.js +23 -0
  319. package/locales/zh-mo.d.ts +11 -0
  320. package/locales/zh-mo.js +23 -0
  321. package/locales/zh-tw.d.ts +11 -0
  322. package/locales/zh-tw.js +23 -0
  323. package/locales/zh.d.ts +13 -4
  324. package/locales/zh.js +2 -63
  325. package/package.json +51 -25
  326. package/plugins/advancedFormat/index.d.ts +8 -0
  327. package/plugins/advancedFormat/index.js +20 -0
  328. package/plugins/advancedParse/index.d.ts +8 -0
  329. package/plugins/advancedParse/index.js +406 -0
  330. package/plugins/calendar/index.d.ts +14 -0
  331. package/plugins/calendar/index.js +33 -0
  332. package/plugins/dayOfYear/index.d.ts +13 -0
  333. package/plugins/dayOfYear/index.js +12 -0
  334. package/plugins/isBetween/index.d.ts +23 -0
  335. package/plugins/isBetween/index.js +16 -0
  336. package/plugins/isLeapYear/index.d.ts +12 -0
  337. package/plugins/isLeapYear/index.js +11 -0
  338. package/plugins/isSameOrAfter/index.d.ts +12 -0
  339. package/plugins/isSameOrAfter/index.js +10 -0
  340. package/plugins/isSameOrBefore/index.d.ts +12 -0
  341. package/plugins/isSameOrBefore/index.js +10 -0
  342. package/plugins/isToday/index.d.ts +8 -6
  343. package/plugins/isToday/index.js +10 -6
  344. package/plugins/isTomorrow/index.d.ts +12 -0
  345. package/plugins/isTomorrow/index.js +14 -0
  346. package/plugins/isYesterday/index.d.ts +12 -0
  347. package/plugins/isYesterday/index.js +14 -0
  348. package/plugins/isoWeek/index.d.ts +21 -0
  349. package/plugins/isoWeek/index.js +240 -0
  350. package/plugins/locale/index.d.ts +4 -75
  351. package/plugins/locale/index.js +6 -69
  352. package/plugins/localeData/index.d.ts +8 -0
  353. package/plugins/localeData/index.js +148 -0
  354. package/plugins/localizedFormat/index.d.ts +8 -0
  355. package/plugins/localizedFormat/index.js +88 -0
  356. package/plugins/localizedParse/index.d.ts +8 -0
  357. package/plugins/localizedParse/index.js +199 -0
  358. package/plugins/minMax/index.d.ts +13 -0
  359. package/plugins/minMax/index.js +22 -0
  360. package/plugins/objectSupport/index.d.ts +8 -0
  361. package/plugins/objectSupport/index.js +104 -0
  362. package/plugins/pluralGetSet/index.d.ts +20 -0
  363. package/plugins/pluralGetSet/index.js +16 -0
  364. package/plugins/quarterOfYear/index.d.ts +16 -0
  365. package/plugins/quarterOfYear/index.js +58 -0
  366. package/plugins/relativeTime/index.d.ts +59 -0
  367. package/plugins/relativeTime/index.js +154 -0
  368. package/plugins/toArray/index.d.ts +12 -0
  369. package/plugins/toArray/index.js +18 -0
  370. package/plugins/toObject/index.d.ts +20 -0
  371. package/plugins/toObject/index.js +18 -0
  372. package/plugins/utc/index.d.ts +14 -17
  373. package/plugins/utc/index.js +191 -37
  374. package/plugins/week/index.d.ts +21 -0
  375. package/plugins/week/index.js +360 -0
  376. package/EsDay-KXQgnL1r.d.ts +0 -89
  377. package/chunk-MLKGABMK.js +0 -7
  378. package/chunk-NUV73YDM.js +0 -60
  379. package/chunk-SQBPUYUY.js +0 -140
  380. package/plugins/customParseFormat/index.d.ts +0 -5
  381. package/plugins/customParseFormat/index.js +0 -159
package/locales/is.js ADDED
@@ -0,0 +1,155 @@
1
+ //#region src/locales/is.ts
2
+ function plural(value) {
3
+ if (value % 100 === 11) return true;
4
+ if (value % 10 === 1) return false;
5
+ return true;
6
+ }
7
+ const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
8
+ const timeValueAsNumber = +timeValue;
9
+ const result = `${timeValueAsNumber} `;
10
+ switch (token) {
11
+ case "s": return withoutSuffix || isFuture ? "nokkrar sekúndur" : "nokkrum sekúndum";
12
+ case "ss":
13
+ if (plural(timeValueAsNumber)) return `${result}${withoutSuffix || isFuture ? "sekúndur" : "sekúndum"}`;
14
+ return `${result}sekúnda`;
15
+ case "m": return withoutSuffix ? "mínúta" : "mínútu";
16
+ case "mm":
17
+ if (plural(timeValueAsNumber)) return `${result}${withoutSuffix || isFuture ? "mínútur" : "mínútum"}`;
18
+ if (withoutSuffix) return `${result}mínúta`;
19
+ return `${result}mínútu`;
20
+ case "h": return withoutSuffix ? "klukkustund" : "klukkustund";
21
+ case "hh":
22
+ if (plural(timeValueAsNumber)) return result + (withoutSuffix || isFuture ? "klukkustundir" : "klukkustundum");
23
+ return `${result}klukkustund`;
24
+ case "d":
25
+ if (withoutSuffix) return "dagur";
26
+ return isFuture ? "dag" : "degi";
27
+ case "dd":
28
+ if (plural(timeValueAsNumber)) {
29
+ if (withoutSuffix) return `${result}dagar`;
30
+ return `${result}${isFuture ? "daga" : "dögum"}`;
31
+ }
32
+ if (withoutSuffix) return `${result}dagur`;
33
+ return `${result}${isFuture ? "dag" : "degi"}`;
34
+ case "M":
35
+ if (withoutSuffix) return "mánuður";
36
+ return isFuture ? "mánuð" : "mánuði";
37
+ case "MM":
38
+ if (plural(timeValueAsNumber)) {
39
+ if (withoutSuffix) return `${result}mánuðir`;
40
+ return `${result}${isFuture ? "mánuði" : "mánuðum"}`;
41
+ }
42
+ if (withoutSuffix) return `${result}mánuður`;
43
+ return `${result}${isFuture ? "mánuð" : "mánuði"}`;
44
+ case "y": return withoutSuffix || isFuture ? "ár" : "ári";
45
+ case "yy":
46
+ if (plural(timeValueAsNumber)) return `${result}${withoutSuffix || isFuture ? "ár" : "árum"}`;
47
+ return `${result}${withoutSuffix || isFuture ? "ár" : "ári"}`;
48
+ default: return "";
49
+ }
50
+ };
51
+ const localeIs = {
52
+ name: "is",
53
+ weekdays: [
54
+ "sunnudagur",
55
+ "mánudagur",
56
+ "þriðjudagur",
57
+ "miðvikudagur",
58
+ "fimmtudagur",
59
+ "föstudagur",
60
+ "laugardagur"
61
+ ],
62
+ weekdaysShort: [
63
+ "sun",
64
+ "mán",
65
+ "þri",
66
+ "mið",
67
+ "fim",
68
+ "fös",
69
+ "lau"
70
+ ],
71
+ weekdaysMin: [
72
+ "Su",
73
+ "Má",
74
+ "Þr",
75
+ "Mi",
76
+ "Fi",
77
+ "Fö",
78
+ "La"
79
+ ],
80
+ months: [
81
+ "janúar",
82
+ "febrúar",
83
+ "mars",
84
+ "apríl",
85
+ "maí",
86
+ "júní",
87
+ "júlí",
88
+ "ágúst",
89
+ "september",
90
+ "október",
91
+ "nóvember",
92
+ "desember"
93
+ ],
94
+ monthsShort: [
95
+ "jan",
96
+ "feb",
97
+ "mar",
98
+ "apr",
99
+ "maí",
100
+ "jún",
101
+ "júl",
102
+ "ágú",
103
+ "sep",
104
+ "okt",
105
+ "nóv",
106
+ "des"
107
+ ],
108
+ ordinal: (n) => `${n}`,
109
+ weekStart: 1,
110
+ yearStart: 4,
111
+ formats: {
112
+ LT: "H:mm",
113
+ LTS: "H:mm:ss",
114
+ L: "DD.MM.YYYY",
115
+ LL: "D. MMMM YYYY",
116
+ LLL: "D. MMMM YYYY [kl.] H:mm",
117
+ LLLL: "dddd, D. MMMM YYYY [kl.] H:mm",
118
+ l: "DD.MM.YYYY",
119
+ ll: "D. MMMM YYYY",
120
+ lll: "D. MMMM YYYY [kl.] H:mm",
121
+ llll: "dddd, D. MMMM YYYY [kl.] H:mm"
122
+ },
123
+ calendar: {
124
+ sameDay: "[í dag kl.] LT",
125
+ nextDay: "[á morgun kl.] LT",
126
+ nextWeek: "dddd [kl.] LT",
127
+ lastDay: "[í gær kl.] LT",
128
+ lastWeek: "[síðasta] dddd [kl.] LT",
129
+ sameElse: "L"
130
+ },
131
+ relativeTime: {
132
+ future: "eftir %s",
133
+ past: "fyrir %s síðan",
134
+ s: relativeTimeFormatter,
135
+ ss: relativeTimeFormatter,
136
+ m: relativeTimeFormatter,
137
+ mm: relativeTimeFormatter,
138
+ h: relativeTimeFormatter,
139
+ hh: relativeTimeFormatter,
140
+ d: relativeTimeFormatter,
141
+ dd: relativeTimeFormatter,
142
+ M: relativeTimeFormatter,
143
+ MM: relativeTimeFormatter,
144
+ y: relativeTimeFormatter,
145
+ yy: relativeTimeFormatter
146
+ },
147
+ meridiem: (hour, _minute, isLowercase) => {
148
+ const m = hour < 12 ? "AM" : "PM";
149
+ return isLowercase ? m.toLowerCase() : m;
150
+ }
151
+ };
152
+ var is_default = localeIs;
153
+
154
+ //#endregion
155
+ export { is_default as default };
@@ -0,0 +1,11 @@
1
+ import "../chunks/DqhiVwLi.js";
2
+ import "../chunks/MtjcOKi-.js";
3
+ import { Locale } from "../chunks/St35qgL0.js";
4
+
5
+ //#region src/locales/it-ch.d.ts
6
+ /**
7
+ * Italian (Switzerland) [it-CH]
8
+ */
9
+ declare const localeItCh: Locale;
10
+ //#endregion
11
+ export { localeItCh as default };
@@ -0,0 +1,32 @@
1
+ import "../chunks/Y32qdU_5.js";
2
+ import "../chunks/Cb5SvF6r.js";
3
+ import "../chunks/DjY7KvwG.js";
4
+ import "../chunks/tfkJ5D3p.js";
5
+ import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
6
+ import { it_default } from "../chunks/B5f9poqo.js";
7
+
8
+ //#region src/locales/it-ch.ts
9
+ const localeItCh = cloneLocale(it_default);
10
+ const formats = structuredClone(localeItCh.formats);
11
+ formats.L = "DD.MM.YYYY";
12
+ formats.l = "DD.MM.YYYY";
13
+ const calendar = {
14
+ sameDay: "[Oggi alle] LT",
15
+ nextDay: "[Domani alle] LT",
16
+ nextWeek: "dddd [alle] LT",
17
+ lastDay: "[Ieri alle] LT",
18
+ lastWeek() {
19
+ switch (this.day()) {
20
+ case 0: return "[la scorsa] dddd [alle] LT";
21
+ default: return "[lo scorso] dddd [alle] LT";
22
+ }
23
+ },
24
+ sameElse: "L"
25
+ };
26
+ setLocaleProperty(localeItCh, "name", "it-CH");
27
+ setLocaleProperty(localeItCh, "formats", formats);
28
+ setLocaleProperty(localeItCh, "calendar", calendar);
29
+ var it_ch_default = localeItCh;
30
+
31
+ //#endregion
32
+ export { it_ch_default as default };
@@ -0,0 +1,8 @@
1
+ import "../chunks/DqhiVwLi.js";
2
+ import "../chunks/MtjcOKi-.js";
3
+ import { Locale } from "../chunks/St35qgL0.js";
4
+
5
+ //#region src/locales/it.d.ts
6
+ declare const localeIt: Readonly<Locale>;
7
+ //#endregion
8
+ export { localeIt as default };
package/locales/it.js ADDED
@@ -0,0 +1,3 @@
1
+ import { it_default } from "../chunks/B5f9poqo.js";
2
+
3
+ export { it_default as default };
@@ -0,0 +1,15 @@
1
+ import "../chunks/DqhiVwLi.js";
2
+ import "../chunks/MtjcOKi-.js";
3
+ import { Locale } from "../chunks/St35qgL0.js";
4
+
5
+ //#region src/locales/ja.d.ts
6
+
7
+ declare module 'esday' {
8
+ interface EsDay {
9
+ week(): number;
10
+ week(newWeek: number): EsDay;
11
+ }
12
+ }
13
+ declare const localeJa: Readonly<Locale>;
14
+ //#endregion
15
+ export { localeJa as default };
package/locales/ja.js ADDED
@@ -0,0 +1,109 @@
1
+ //#region src/locales/ja.ts
2
+ const localeJa = {
3
+ name: "ja",
4
+ weekdays: [
5
+ "日曜日",
6
+ "月曜日",
7
+ "火曜日",
8
+ "水曜日",
9
+ "木曜日",
10
+ "金曜日",
11
+ "土曜日"
12
+ ],
13
+ weekdaysShort: [
14
+ "日",
15
+ "月",
16
+ "火",
17
+ "水",
18
+ "木",
19
+ "金",
20
+ "土"
21
+ ],
22
+ weekdaysMin: [
23
+ "日",
24
+ "月",
25
+ "火",
26
+ "水",
27
+ "木",
28
+ "金",
29
+ "土"
30
+ ],
31
+ months: [
32
+ "1月",
33
+ "2月",
34
+ "3月",
35
+ "4月",
36
+ "5月",
37
+ "6月",
38
+ "7月",
39
+ "8月",
40
+ "9月",
41
+ "10月",
42
+ "11月",
43
+ "12月"
44
+ ],
45
+ monthsShort: [
46
+ "1月",
47
+ "2月",
48
+ "3月",
49
+ "4月",
50
+ "5月",
51
+ "6月",
52
+ "7月",
53
+ "8月",
54
+ "9月",
55
+ "10月",
56
+ "11月",
57
+ "12月"
58
+ ],
59
+ ordinal: (n) => `${n}日`,
60
+ weekStart: 0,
61
+ yearStart: 4,
62
+ formats: {
63
+ LT: "HH:mm",
64
+ LTS: "HH:mm:ss",
65
+ L: "YYYY/MM/DD",
66
+ LL: "YYYY年M月D日",
67
+ LLL: "YYYY年M月D日 HH:mm",
68
+ LLLL: "YYYY年M月D日 dddd HH:mm",
69
+ l: "YYYY/MM/DD",
70
+ ll: "YYYY年M月D日",
71
+ lll: "YYYY年M月D日 HH:mm",
72
+ llll: "YYYY年M月D日(ddd) HH:mm"
73
+ },
74
+ calendar: {
75
+ sameDay: "[今日] LT",
76
+ nextDay: "[明日] LT",
77
+ nextWeek(refDate) {
78
+ if (refDate?.week?.() !== this.week?.()) return "[来週]dddd LT";
79
+ return "dddd LT";
80
+ },
81
+ lastDay: "[昨日] LT",
82
+ lastWeek(refDate) {
83
+ if (this.week?.() !== refDate?.week?.()) return "[先週]dddd LT";
84
+ return "dddd LT";
85
+ },
86
+ sameElse: "L"
87
+ },
88
+ relativeTime: {
89
+ future: "%s後",
90
+ past: "%s前",
91
+ s: "数秒",
92
+ ss: "%d秒",
93
+ m: "1分",
94
+ mm: "%d分",
95
+ h: "1時間",
96
+ hh: "%d時間",
97
+ d: "1日",
98
+ dd: "%d日",
99
+ M: "1ヶ月",
100
+ MM: "%dヶ月",
101
+ y: "1年",
102
+ yy: "%d年"
103
+ },
104
+ meridiem: (hour) => hour < 12 ? "午前" : "午後"
105
+ };
106
+ var ja_default = localeJa;
107
+
108
+ //#endregion
109
+ export { ja_default as default };
@@ -0,0 +1,8 @@
1
+ import "../chunks/DqhiVwLi.js";
2
+ import "../chunks/MtjcOKi-.js";
3
+ import { Locale } from "../chunks/St35qgL0.js";
4
+
5
+ //#region src/locales/jv.d.ts
6
+ declare const localeJv: Locale;
7
+ //#endregion
8
+ export { localeJv as default };
package/locales/jv.js ADDED
@@ -0,0 +1,106 @@
1
+ //#region src/locales/jv.ts
2
+ const localeJv = {
3
+ name: "jv",
4
+ weekdays: [
5
+ "Minggu",
6
+ "Senen",
7
+ "Seloso",
8
+ "Rebu",
9
+ "Kemis",
10
+ "Jemuwah",
11
+ "Septu"
12
+ ],
13
+ weekdaysShort: [
14
+ "Min",
15
+ "Sen",
16
+ "Sel",
17
+ "Reb",
18
+ "Kem",
19
+ "Jem",
20
+ "Sep"
21
+ ],
22
+ weekdaysMin: [
23
+ "Mg",
24
+ "Sn",
25
+ "Sl",
26
+ "Rb",
27
+ "Km",
28
+ "Jm",
29
+ "Sp"
30
+ ],
31
+ months: [
32
+ "Januari",
33
+ "Februari",
34
+ "Maret",
35
+ "April",
36
+ "Mei",
37
+ "Juni",
38
+ "Juli",
39
+ "Agustus",
40
+ "September",
41
+ "Oktober",
42
+ "Nopember",
43
+ "Desember"
44
+ ],
45
+ monthsShort: [
46
+ "Jan",
47
+ "Feb",
48
+ "Mar",
49
+ "Apr",
50
+ "Mei",
51
+ "Jun",
52
+ "Jul",
53
+ "Ags",
54
+ "Sep",
55
+ "Okt",
56
+ "Nop",
57
+ "Des"
58
+ ],
59
+ ordinal: (n) => `${n}`,
60
+ weekStart: 1,
61
+ yearStart: 4,
62
+ formats: {
63
+ LT: "HH.mm",
64
+ LTS: "HH.mm.ss",
65
+ L: "DD/MM/YYYY",
66
+ LL: "D MMMM YYYY",
67
+ LLL: "D MMMM YYYY [pukul] HH.mm",
68
+ LLLL: "dddd, D MMMM YYYY [pukul] HH.mm",
69
+ l: "DD/MM/YYYY",
70
+ ll: "D MMMM YYYY",
71
+ lll: "D MMMM YYYY [pukul] HH.mm",
72
+ llll: "dddd, D MMMM YYYY [pukul] HH.mm"
73
+ },
74
+ calendar: {
75
+ sameDay: "[Dinten puniko pukul] LT",
76
+ nextDay: "[Mbenjang pukul] LT",
77
+ nextWeek: "dddd [pukul] LT",
78
+ lastDay: "[Kala wingi pukul] LT",
79
+ lastWeek: "dddd [kepengker pukul] LT",
80
+ sameElse: "L"
81
+ },
82
+ relativeTime: {
83
+ future: "wonten ing %s",
84
+ past: "%s ingkang kepengker",
85
+ s: "sawetawis detik",
86
+ ss: "%d detik",
87
+ m: "setunggal menit",
88
+ mm: "%d menit",
89
+ h: "setunggal jam",
90
+ hh: "%d jam",
91
+ d: "sedinten",
92
+ dd: "%d dinten",
93
+ M: "sewulan",
94
+ MM: "%d wulan",
95
+ y: "setaun",
96
+ yy: "%d taun"
97
+ },
98
+ meridiem: (hour, _minute, isLowercase) => {
99
+ const m = hour < 12 ? "AM" : "PM";
100
+ return isLowercase ? m.toLowerCase() : m;
101
+ }
102
+ };
103
+ var jv_default = localeJv;
104
+
105
+ //#endregion
106
+ export { jv_default as default };
@@ -0,0 +1,8 @@
1
+ import "../chunks/DqhiVwLi.js";
2
+ import "../chunks/MtjcOKi-.js";
3
+ import { Locale } from "../chunks/St35qgL0.js";
4
+
5
+ //#region src/locales/ka.d.ts
6
+ declare const localeKa: Readonly<Locale>;
7
+ //#endregion
8
+ export { localeKa as default };
package/locales/ka.js ADDED
@@ -0,0 +1,126 @@
1
+ //#region src/locales/ka.ts
2
+ const dayNamesFormat = [
3
+ "კვირას",
4
+ "ორშაბათს",
5
+ "სამშაბათს",
6
+ "ოთხშაბათს",
7
+ "ხუთშაბათს",
8
+ "პარასკევს",
9
+ "შაბათს"
10
+ ];
11
+ const dayNamesStandalone = [
12
+ "კვირა",
13
+ "ორშაბათი",
14
+ "სამშაბათი",
15
+ "ოთხშაბათი",
16
+ "ხუთშაბათი",
17
+ "პარასკევი",
18
+ "შაბათი"
19
+ ];
20
+ const weekdays = {
21
+ standalone: dayNamesStandalone,
22
+ format: dayNamesFormat,
23
+ isFormat: /(წინა|შემდეგ)/
24
+ };
25
+ const localeKa = {
26
+ name: "ka",
27
+ weekdays,
28
+ weekdaysShort: [
29
+ "კვი",
30
+ "ორშ",
31
+ "სამ",
32
+ "ოთხ",
33
+ "ხუთ",
34
+ "პარ",
35
+ "შაბ"
36
+ ],
37
+ weekdaysMin: [
38
+ "კვ",
39
+ "ორ",
40
+ "სა",
41
+ "ოთ",
42
+ "ხუ",
43
+ "პა",
44
+ "შა"
45
+ ],
46
+ months: [
47
+ "იანვარი",
48
+ "თებერვალი",
49
+ "მარტი",
50
+ "აპრილი",
51
+ "მაისი",
52
+ "ივნისი",
53
+ "ივლისი",
54
+ "აგვისტო",
55
+ "სექტემბერი",
56
+ "ოქტომბერი",
57
+ "ნოემბერი",
58
+ "დეკემბერი"
59
+ ],
60
+ monthsShort: [
61
+ "იან",
62
+ "თებ",
63
+ "მარ",
64
+ "აპრ",
65
+ "მაი",
66
+ "ივნ",
67
+ "ივლ",
68
+ "აგვ",
69
+ "სექ",
70
+ "ოქტ",
71
+ "ნოე",
72
+ "დეკ"
73
+ ],
74
+ ordinal: (n) => {
75
+ if (n === 0) return `${n}`;
76
+ if (n === 1) return `${n}-ლი`;
77
+ if (n < 20 || n <= 100 && n % 20 === 0 || n % 100 === 0) return `მე-${n}`;
78
+ return `${n}-ე`;
79
+ },
80
+ weekStart: 1,
81
+ yearStart: 1,
82
+ formats: {
83
+ LT: "HH:mm",
84
+ LTS: "HH:mm:ss",
85
+ L: "DD/MM/YYYY",
86
+ LL: "D MMMM YYYY",
87
+ LLL: "D MMMM YYYY HH:mm",
88
+ LLLL: "dddd, D MMMM YYYY HH:mm",
89
+ l: "DD/MM/YYYY",
90
+ ll: "D MMMM YYYY",
91
+ lll: "D MMMM YYYY HH:mm",
92
+ llll: "dddd, D MMMM YYYY HH:mm"
93
+ },
94
+ calendar: {
95
+ sameDay: "[დღეს] LT[-ზე]",
96
+ nextDay: "[ხვალ] LT[-ზე]",
97
+ lastDay: "[გუშინ] LT[-ზე]",
98
+ nextWeek: "[შემდეგ] dddd LT[-ზე]",
99
+ lastWeek: "[წინა] dddd LT[-ზე]",
100
+ sameElse: "L"
101
+ },
102
+ relativeTime: {
103
+ future: "%s შემდეგ",
104
+ past: "%s წინ",
105
+ s: "წამი",
106
+ ss: "%d წამი",
107
+ m: "წუთი",
108
+ mm: "%d წუთი",
109
+ h: "საათი",
110
+ hh: "%d საათის",
111
+ d: "დღეს",
112
+ dd: "%d დღის განმავლობაში",
113
+ M: "თვის",
114
+ MM: "%d თვის",
115
+ y: "წელი",
116
+ yy: "%d წლის"
117
+ },
118
+ meridiem: (hour, _minute, isLowercase) => {
119
+ const m = hour < 12 ? "AM" : "PM";
120
+ return isLowercase ? m.toLowerCase() : m;
121
+ }
122
+ };
123
+ var ka_default = localeKa;
124
+
125
+ //#endregion
126
+ export { ka_default as default };
@@ -0,0 +1,8 @@
1
+ import "../chunks/DqhiVwLi.js";
2
+ import "../chunks/MtjcOKi-.js";
3
+ import { Locale } from "../chunks/St35qgL0.js";
4
+
5
+ //#region src/locales/kk.d.ts
6
+ declare const localeKk: Readonly<Locale>;
7
+ //#endregion
8
+ export { localeKk as default };
package/locales/kk.js ADDED
@@ -0,0 +1,106 @@
1
+ //#region src/locales/kk.ts
2
+ const localeKk = {
3
+ name: "kk",
4
+ weekdays: [
5
+ "жексенбі",
6
+ "дүйсенбі",
7
+ "сейсенбі",
8
+ "сәрсенбі",
9
+ "бейсенбі",
10
+ "жұма",
11
+ "сенбі"
12
+ ],
13
+ weekdaysShort: [
14
+ "жек",
15
+ "дүй",
16
+ "сей",
17
+ "сәр",
18
+ "бей",
19
+ "жұм",
20
+ "сен"
21
+ ],
22
+ weekdaysMin: [
23
+ "жк",
24
+ "дй",
25
+ "сй",
26
+ "ср",
27
+ "бй",
28
+ "жм",
29
+ "сн"
30
+ ],
31
+ months: [
32
+ "қаңтар",
33
+ "ақпан",
34
+ "наурыз",
35
+ "сәуір",
36
+ "мамыр",
37
+ "маусым",
38
+ "шілде",
39
+ "тамыз",
40
+ "қыркүйек",
41
+ "қазан",
42
+ "қараша",
43
+ "желтоқсан"
44
+ ],
45
+ monthsShort: [
46
+ "қаң",
47
+ "ақп",
48
+ "нау",
49
+ "сәу",
50
+ "мам",
51
+ "мау",
52
+ "шіл",
53
+ "там",
54
+ "қыр",
55
+ "қаз",
56
+ "қар",
57
+ "жел"
58
+ ],
59
+ ordinal: (n) => `${n}`,
60
+ weekStart: 1,
61
+ yearStart: 4,
62
+ formats: {
63
+ LT: "HH:mm",
64
+ LTS: "HH:mm:ss",
65
+ L: "DD.MM.YYYY",
66
+ LL: "D MMMM YYYY",
67
+ LLL: "D MMMM YYYY HH:mm",
68
+ LLLL: "dddd, D MMMM YYYY HH:mm",
69
+ l: "DD.MM.YYYY",
70
+ ll: "D MMMM YYYY",
71
+ lll: "D MMMM YYYY HH:mm",
72
+ llll: "dddd, D MMMM YYYY HH:mm"
73
+ },
74
+ calendar: {
75
+ sameDay: "[Бүгін сағат] LT",
76
+ nextDay: "[Ертең сағат] LT",
77
+ nextWeek: "dddd [сағат] LT",
78
+ lastDay: "[Кеше сағат] LT",
79
+ lastWeek: "[Өткен аптаның] dddd [сағат] LT",
80
+ sameElse: "L"
81
+ },
82
+ relativeTime: {
83
+ future: "%s ішінде",
84
+ past: "%s бұрын",
85
+ s: "бірнеше секунд",
86
+ ss: "%d секунд",
87
+ m: "бір минут",
88
+ mm: "%d минут",
89
+ h: "бір сағат",
90
+ hh: "%d сағат",
91
+ d: "бір күн",
92
+ dd: "%d күн",
93
+ M: "бір ай",
94
+ MM: "%d ай",
95
+ y: "бір жыл",
96
+ yy: "%d жыл"
97
+ },
98
+ meridiem: (hour, _minute, isLowercase) => {
99
+ const m = hour < 12 ? "AM" : "PM";
100
+ return isLowercase ? m.toLowerCase() : m;
101
+ }
102
+ };
103
+ var kk_default = localeKk;
104
+
105
+ //#endregion
106
+ export { kk_default as default };