esday 0.4.1 → 0.6.2

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 +43 -0
  2. package/LICENSE +21 -0
  3. package/README.md +63 -33
  4. package/chunks/AyQQ6US-.js +84 -0
  5. package/chunks/BkjWOpMU.js +68 -0
  6. package/chunks/C5qDMHT5.d.ts +6 -0
  7. package/chunks/CODi8AFH.d.ts +231 -0
  8. package/chunks/CXWzCl3n.js +481 -0
  9. package/chunks/CdvTtmWL.js +56 -0
  10. package/chunks/Shk32pTP.js +9 -0
  11. package/chunks/v_QBn7Xm.js +25 -0
  12. package/chunks/xt8C2lbv.js +38 -0
  13. package/index.d.mts +3 -0
  14. package/index.mjs +3 -0
  15. package/locales/af.d.mts +6 -0
  16. package/locales/af.mjs +108 -0
  17. package/locales/am.d.mts +6 -0
  18. package/locales/am.mjs +108 -0
  19. package/locales/ar-dz.d.mts +9 -0
  20. package/locales/ar-dz.mjs +30 -0
  21. package/locales/ar-iq.d.mts +9 -0
  22. package/locales/ar-iq.mjs +12 -0
  23. package/locales/ar-kw.d.mts +9 -0
  24. package/locales/ar-kw.mjs +26 -0
  25. package/locales/ar-ly.d.mts +9 -0
  26. package/locales/ar-ly.mjs +12 -0
  27. package/locales/ar-ma.d.mts +9 -0
  28. package/locales/ar-ma.mjs +27 -0
  29. package/locales/ar-sa.d.mts +9 -0
  30. package/locales/ar-sa.mjs +27 -0
  31. package/locales/ar-tn.d.mts +9 -0
  32. package/locales/ar-tn.mjs +27 -0
  33. package/locales/ar.d.mts +6 -0
  34. package/locales/ar.mjs +198 -0
  35. package/locales/az.d.mts +6 -0
  36. package/locales/az.mjs +108 -0
  37. package/locales/be.d.mts +6 -0
  38. package/locales/be.mjs +136 -0
  39. package/locales/bg.d.mts +6 -0
  40. package/locales/bg.mjs +127 -0
  41. package/locales/bi.d.mts +6 -0
  42. package/locales/bi.mjs +108 -0
  43. package/locales/bm.d.mts +6 -0
  44. package/locales/bm.mjs +108 -0
  45. package/locales/bn-bd.d.mts +9 -0
  46. package/locales/bn-bd.mjs +22 -0
  47. package/locales/bn.d.mts +6 -0
  48. package/locales/bn.mjs +137 -0
  49. package/locales/bo.d.mts +6 -0
  50. package/locales/bo.mjs +108 -0
  51. package/locales/br.d.mts +6 -0
  52. package/locales/br.mjs +180 -0
  53. package/locales/bs.d.mts +6 -0
  54. package/locales/bs.mjs +130 -0
  55. package/locales/ca.d.mts +6 -0
  56. package/locales/ca.mjs +142 -0
  57. package/locales/cs.d.mts +6 -0
  58. package/locales/cs.mjs +186 -0
  59. package/locales/cv.d.mts +6 -0
  60. package/locales/cv.mjs +108 -0
  61. package/locales/cy.d.mts +6 -0
  62. package/locales/cy.mjs +108 -0
  63. package/locales/da.d.mts +6 -0
  64. package/locales/da.mjs +108 -0
  65. package/locales/de-at.d.mts +9 -0
  66. package/locales/de-at.mjs +42 -0
  67. package/locales/de-ch.d.mts +9 -0
  68. package/locales/de-ch.mjs +12 -0
  69. package/locales/de.d.mts +6 -0
  70. package/locales/de.mjs +131 -0
  71. package/locales/dv.d.mts +6 -0
  72. package/locales/dv.mjs +108 -0
  73. package/locales/el.d.mts +6 -0
  74. package/locales/el.mjs +117 -0
  75. package/locales/en-au.d.mts +9 -0
  76. package/locales/en-au.mjs +26 -0
  77. package/locales/en-ca.d.mts +9 -0
  78. package/locales/en-ca.mjs +26 -0
  79. package/locales/en-gb.d.mts +11 -0
  80. package/locales/en-gb.mjs +29 -0
  81. package/locales/en-ie.d.mts +9 -0
  82. package/locales/en-ie.mjs +25 -0
  83. package/locales/en-il.d.mts +9 -0
  84. package/locales/en-il.mjs +27 -0
  85. package/locales/en-in.d.mts +9 -0
  86. package/locales/en-in.mjs +25 -0
  87. package/locales/en-nz.d.mts +9 -0
  88. package/locales/en-nz.mjs +27 -0
  89. package/locales/en-sg.d.mts +9 -0
  90. package/locales/en-sg.mjs +27 -0
  91. package/locales/en-tt.d.mts +9 -0
  92. package/locales/en-tt.mjs +27 -0
  93. package/locales/en-us.d.mts +9 -0
  94. package/locales/en-us.mjs +12 -0
  95. package/locales/en.d.mts +6 -0
  96. package/locales/en.mjs +117 -0
  97. package/locales/eo.d.mts +6 -0
  98. package/locales/eo.mjs +108 -0
  99. package/locales/es-do.d.mts +9 -0
  100. package/locales/es-do.mjs +25 -0
  101. package/locales/es-mx.d.mts +9 -0
  102. package/locales/es-mx.mjs +13 -0
  103. package/locales/es-pr.d.mts +9 -0
  104. package/locales/es-pr.mjs +16 -0
  105. package/locales/es-us.d.mts +9 -0
  106. package/locales/es-us.mjs +12 -0
  107. package/locales/es.d.mts +6 -0
  108. package/locales/es.mjs +118 -0
  109. package/locales/et.d.mts +6 -0
  110. package/locales/et.mjs +146 -0
  111. package/locales/eu.d.mts +6 -0
  112. package/locales/eu.mjs +108 -0
  113. package/locales/fa.d.mts +6 -0
  114. package/locales/fa.mjs +108 -0
  115. package/locales/fi.d.mts +6 -0
  116. package/locales/fi.mjs +171 -0
  117. package/locales/fil.d.mts +6 -0
  118. package/locales/fil.mjs +108 -0
  119. package/locales/fo.d.mts +6 -0
  120. package/locales/fo.mjs +108 -0
  121. package/locales/fr-ca.d.mts +9 -0
  122. package/locales/fr-ca.mjs +16 -0
  123. package/locales/fr-ch.d.mts +9 -0
  124. package/locales/fr-ch.mjs +16 -0
  125. package/locales/fr.d.mts +6 -0
  126. package/locales/fr.mjs +110 -0
  127. package/locales/fy.d.mts +6 -0
  128. package/locales/fy.mjs +108 -0
  129. package/locales/ga.d.mts +6 -0
  130. package/locales/ga.mjs +108 -0
  131. package/locales/gd.d.mts +6 -0
  132. package/locales/gd.mjs +108 -0
  133. package/locales/gl.d.mts +6 -0
  134. package/locales/gl.mjs +118 -0
  135. package/locales/gom-deva.d.mts +6 -0
  136. package/locales/gom-deva.mjs +148 -0
  137. package/locales/gom-latn.d.mts +6 -0
  138. package/locales/gom-latn.mjs +148 -0
  139. package/locales/gu.d.mts +6 -0
  140. package/locales/gu.mjs +108 -0
  141. package/locales/he.d.mts +6 -0
  142. package/locales/he.mjs +132 -0
  143. package/locales/hi.d.mts +6 -0
  144. package/locales/hi.mjs +124 -0
  145. package/locales/hr.d.mts +6 -0
  146. package/locales/hr.mjs +195 -0
  147. package/locales/ht.d.mts +6 -0
  148. package/locales/ht.mjs +108 -0
  149. package/locales/hu.d.mts +6 -0
  150. package/locales/hu.mjs +144 -0
  151. package/locales/hy-am.d.mts +6 -0
  152. package/locales/hy-am.mjs +126 -0
  153. package/locales/id.d.mts +6 -0
  154. package/locales/id.mjs +108 -0
  155. package/locales/is.d.mts +6 -0
  156. package/locales/is.mjs +167 -0
  157. package/locales/it-ch.d.mts +9 -0
  158. package/locales/it-ch.mjs +27 -0
  159. package/locales/it.d.mts +6 -0
  160. package/locales/it.mjs +121 -0
  161. package/locales/ja.d.mts +12 -0
  162. package/locales/ja.mjs +111 -0
  163. package/locales/jv.d.mts +6 -0
  164. package/locales/jv.mjs +108 -0
  165. package/locales/ka.d.mts +6 -0
  166. package/locales/ka.mjs +125 -0
  167. package/locales/kk.d.mts +6 -0
  168. package/locales/kk.mjs +108 -0
  169. package/locales/km.d.mts +6 -0
  170. package/locales/km.mjs +108 -0
  171. package/locales/kn.d.mts +6 -0
  172. package/locales/kn.mjs +108 -0
  173. package/locales/ko.d.mts +6 -0
  174. package/locales/ko.mjs +107 -0
  175. package/locales/ku.d.mts +6 -0
  176. package/locales/ku.mjs +121 -0
  177. package/locales/ky.d.mts +6 -0
  178. package/locales/ky.mjs +108 -0
  179. package/locales/lb.d.mts +6 -0
  180. package/locales/lb.mjs +169 -0
  181. package/locales/lo.d.mts +6 -0
  182. package/locales/lo.mjs +107 -0
  183. package/locales/lt.d.mts +6 -0
  184. package/locales/lt.mjs +108 -0
  185. package/locales/lv.d.mts +6 -0
  186. package/locales/lv.mjs +108 -0
  187. package/locales/me.d.mts +6 -0
  188. package/locales/me.mjs +129 -0
  189. package/locales/mi.d.mts +6 -0
  190. package/locales/mi.mjs +108 -0
  191. package/locales/mk.d.mts +6 -0
  192. package/locales/mk.mjs +119 -0
  193. package/locales/ml.d.mts +6 -0
  194. package/locales/ml.mjs +111 -0
  195. package/locales/mn.d.mts +6 -0
  196. package/locales/mn.mjs +127 -0
  197. package/locales/mr.d.mts +6 -0
  198. package/locales/mr.mjs +229 -0
  199. package/locales/ms-my.d.mts +9 -0
  200. package/locales/ms-my.mjs +12 -0
  201. package/locales/ms.d.mts +6 -0
  202. package/locales/ms.mjs +108 -0
  203. package/locales/mt.d.mts +6 -0
  204. package/locales/mt.mjs +108 -0
  205. package/locales/my.d.mts +6 -0
  206. package/locales/my.mjs +134 -0
  207. package/locales/nb.d.mts +6 -0
  208. package/locales/nb.mjs +108 -0
  209. package/locales/ne.d.mts +6 -0
  210. package/locales/ne.mjs +108 -0
  211. package/locales/nl-be.d.mts +9 -0
  212. package/locales/nl-be.mjs +16 -0
  213. package/locales/nl.d.mts +6 -0
  214. package/locales/nl.mjs +108 -0
  215. package/locales/nn.d.mts +6 -0
  216. package/locales/nn.mjs +108 -0
  217. package/locales/oc-lnc.d.mts +6 -0
  218. package/locales/oc-lnc.mjs +125 -0
  219. package/locales/pa-in.d.mts +6 -0
  220. package/locales/pa-in.mjs +125 -0
  221. package/locales/pl.d.mts +6 -0
  222. package/locales/pl.mjs +162 -0
  223. package/locales/pt-br.d.mts +9 -0
  224. package/locales/pt-br.mjs +51 -0
  225. package/locales/pt.d.mts +6 -0
  226. package/locales/pt.mjs +110 -0
  227. package/locales/rn.d.mts +6 -0
  228. package/locales/rn.mjs +108 -0
  229. package/locales/ro.d.mts +6 -0
  230. package/locales/ro.mjs +108 -0
  231. package/locales/ru.d.mts +12 -0
  232. package/locales/ru.mjs +237 -0
  233. package/locales/rw.d.mts +6 -0
  234. package/locales/rw.mjs +108 -0
  235. package/locales/sd.d.mts +6 -0
  236. package/locales/sd.mjs +108 -0
  237. package/locales/se.d.mts +6 -0
  238. package/locales/se.mjs +108 -0
  239. package/locales/si.d.mts +6 -0
  240. package/locales/si.mjs +108 -0
  241. package/locales/sk.d.mts +6 -0
  242. package/locales/sk.mjs +168 -0
  243. package/locales/sl.d.mts +6 -0
  244. package/locales/sl.mjs +177 -0
  245. package/locales/sq.d.mts +6 -0
  246. package/locales/sq.mjs +108 -0
  247. package/locales/sr-cyrl.d.mts +9 -0
  248. package/locales/sr-cyrl.mjs +174 -0
  249. package/locales/sr.d.mts +6 -0
  250. package/locales/sr.mjs +186 -0
  251. package/locales/ss.d.mts +6 -0
  252. package/locales/ss.mjs +110 -0
  253. package/locales/sv-fi.d.mts +9 -0
  254. package/locales/sv-fi.mjs +25 -0
  255. package/locales/sv.d.mts +6 -0
  256. package/locales/sv.mjs +111 -0
  257. package/locales/sw.d.mts +6 -0
  258. package/locales/sw.mjs +108 -0
  259. package/locales/ta.d.mts +6 -0
  260. package/locales/ta.mjs +139 -0
  261. package/locales/te.d.mts +6 -0
  262. package/locales/te.mjs +111 -0
  263. package/locales/tet.d.mts +6 -0
  264. package/locales/tet.mjs +111 -0
  265. package/locales/tg.d.mts +6 -0
  266. package/locales/tg.mjs +127 -0
  267. package/locales/th.d.mts +6 -0
  268. package/locales/th.mjs +108 -0
  269. package/locales/tk.d.mts +6 -0
  270. package/locales/tk.mjs +135 -0
  271. package/locales/tl-ph.d.mts +6 -0
  272. package/locales/tl-ph.mjs +108 -0
  273. package/locales/tlh.d.mts +6 -0
  274. package/locales/tlh.mjs +155 -0
  275. package/locales/tr.d.mts +6 -0
  276. package/locales/tr.mjs +135 -0
  277. package/locales/tzl.d.mts +6 -0
  278. package/locales/tzl.mjs +125 -0
  279. package/locales/tzm-latn.d.mts +9 -0
  280. package/locales/tzm-latn.mjs +68 -0
  281. package/locales/tzm.d.mts +6 -0
  282. package/locales/tzm.mjs +108 -0
  283. package/locales/ug-cn.d.mts +6 -0
  284. package/locales/ug-cn.mjs +113 -0
  285. package/locales/uk.d.mts +6 -0
  286. package/locales/uk.mjs +199 -0
  287. package/locales/ur.d.mts +6 -0
  288. package/locales/ur.mjs +110 -0
  289. package/locales/uz-latn.d.mts +9 -0
  290. package/locales/uz-latn.mjs +68 -0
  291. package/locales/uz.d.mts +6 -0
  292. package/locales/uz.mjs +108 -0
  293. package/locales/vi.d.mts +6 -0
  294. package/locales/vi.mjs +108 -0
  295. package/locales/x-pseudo.d.mts +6 -0
  296. package/locales/x-pseudo.mjs +111 -0
  297. package/locales/yo.d.mts +6 -0
  298. package/locales/yo.mjs +108 -0
  299. package/locales/zh-cn.d.mts +9 -0
  300. package/locales/zh-cn.mjs +12 -0
  301. package/locales/zh-hk.d.mts +9 -0
  302. package/locales/zh-hk.mjs +21 -0
  303. package/locales/zh-mo.d.mts +9 -0
  304. package/locales/zh-mo.mjs +21 -0
  305. package/locales/zh-tw.d.mts +9 -0
  306. package/locales/zh-tw.mjs +21 -0
  307. package/locales/zh.d.mts +12 -0
  308. package/locales/zh.mjs +129 -0
  309. package/package.json +61 -29
  310. package/plugins/advancedFormat/index.d.mts +6 -0
  311. package/plugins/advancedFormat/index.mjs +18 -0
  312. package/plugins/advancedParse/index.d.mts +6 -0
  313. package/plugins/advancedParse/index.mjs +407 -0
  314. package/plugins/calendar/index.d.mts +12 -0
  315. package/plugins/calendar/index.mjs +32 -0
  316. package/plugins/dayOfYear/index.d.mts +12 -0
  317. package/plugins/dayOfYear/index.mjs +11 -0
  318. package/plugins/duration/index.d.mts +78 -0
  319. package/plugins/duration/index.mjs +477 -0
  320. package/plugins/isBetween/index.d.mts +22 -0
  321. package/plugins/isBetween/index.mjs +15 -0
  322. package/plugins/isLeapYear/index.d.mts +11 -0
  323. package/plugins/isLeapYear/index.mjs +10 -0
  324. package/plugins/isSameOrAfter/index.d.mts +11 -0
  325. package/plugins/isSameOrAfter/index.mjs +9 -0
  326. package/plugins/isSameOrBefore/index.d.mts +11 -0
  327. package/plugins/isSameOrBefore/index.mjs +9 -0
  328. package/plugins/isToday/index.d.mts +11 -0
  329. package/plugins/isToday/index.mjs +11 -0
  330. package/plugins/isTomorrow/index.d.mts +11 -0
  331. package/plugins/isTomorrow/index.mjs +13 -0
  332. package/plugins/isYesterday/index.d.mts +11 -0
  333. package/plugins/isYesterday/index.mjs +13 -0
  334. package/plugins/isoWeek/index.d.mts +19 -0
  335. package/plugins/isoWeek/index.mjs +228 -0
  336. package/plugins/locale/index.d.mts +104 -0
  337. package/plugins/locale/index.mjs +141 -0
  338. package/plugins/localeData/index.d.mts +6 -0
  339. package/plugins/localeData/index.mjs +155 -0
  340. package/plugins/localizedFormat/index.d.mts +6 -0
  341. package/plugins/localizedFormat/index.mjs +83 -0
  342. package/plugins/localizedParse/index.d.mts +6 -0
  343. package/plugins/localizedParse/index.mjs +217 -0
  344. package/plugins/minMax/index.d.mts +12 -0
  345. package/plugins/minMax/index.mjs +21 -0
  346. package/plugins/objectSupport/index.d.mts +6 -0
  347. package/plugins/objectSupport/index.mjs +99 -0
  348. package/plugins/pluralGetSet/index.d.mts +18 -0
  349. package/plugins/pluralGetSet/index.mjs +15 -0
  350. package/plugins/quarterOfYear/index.d.mts +14 -0
  351. package/plugins/quarterOfYear/index.mjs +51 -0
  352. package/plugins/relativeTime/index.d.mts +47 -0
  353. package/plugins/relativeTime/index.mjs +187 -0
  354. package/plugins/timezone/index.d.mts +6 -0
  355. package/plugins/timezone/index.mjs +456 -0
  356. package/plugins/toArray/index.d.mts +11 -0
  357. package/plugins/toArray/index.mjs +17 -0
  358. package/plugins/toObject/index.d.mts +19 -0
  359. package/plugins/toObject/index.mjs +17 -0
  360. package/plugins/utc/index.d.mts +18 -0
  361. package/plugins/utc/index.mjs +192 -0
  362. package/plugins/week/index.d.mts +19 -0
  363. package/plugins/week/index.mjs +350 -0
  364. package/EsDay-KXQgnL1r.d.ts +0 -89
  365. package/chunk-MLKGABMK.js +0 -7
  366. package/chunk-NUV73YDM.js +0 -60
  367. package/chunk-SQBPUYUY.js +0 -140
  368. package/index.d.ts +0 -6
  369. package/index.js +0 -310
  370. package/locales/en.d.ts +0 -6
  371. package/locales/en.js +0 -1
  372. package/locales/zh.d.ts +0 -6
  373. package/locales/zh.js +0 -64
  374. package/plugins/customParseFormat/index.d.ts +0 -5
  375. package/plugins/customParseFormat/index.js +0 -159
  376. package/plugins/isToday/index.d.ts +0 -10
  377. package/plugins/isToday/index.js +0 -8
  378. package/plugins/locale/index.d.ts +0 -75
  379. package/plugins/locale/index.js +0 -70
  380. package/plugins/utc/index.d.ts +0 -22
  381. package/plugins/utc/index.js +0 -40
package/locales/se.mjs ADDED
@@ -0,0 +1,108 @@
1
+ //#region src/locales/se.ts
2
+ const localeSe = {
3
+ name: "se",
4
+ weekdays: [
5
+ "sotnabeaivi",
6
+ "vuossárga",
7
+ "maŋŋebárga",
8
+ "gaskavahkku",
9
+ "duorastat",
10
+ "bearjadat",
11
+ "lávvardat"
12
+ ],
13
+ weekdaysShort: [
14
+ "sotn",
15
+ "vuos",
16
+ "maŋ",
17
+ "gask",
18
+ "duor",
19
+ "bear",
20
+ "láv"
21
+ ],
22
+ weekdaysMin: [
23
+ "s",
24
+ "v",
25
+ "m",
26
+ "g",
27
+ "d",
28
+ "b",
29
+ "L"
30
+ ],
31
+ months: [
32
+ "ođđajagemánnu",
33
+ "guovvamánnu",
34
+ "njukčamánnu",
35
+ "cuoŋománnu",
36
+ "miessemánnu",
37
+ "geassemánnu",
38
+ "suoidnemánnu",
39
+ "borgemánnu",
40
+ "čakčamánnu",
41
+ "golggotmánnu",
42
+ "skábmamánnu",
43
+ "juovlamánnu"
44
+ ],
45
+ monthsShort: [
46
+ "ođđj",
47
+ "guov",
48
+ "njuk",
49
+ "cuo",
50
+ "mies",
51
+ "geas",
52
+ "suoi",
53
+ "borg",
54
+ "čakč",
55
+ "golg",
56
+ "skáb",
57
+ "juov"
58
+ ],
59
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
60
+ ordinal: (n) => `${n}.`,
61
+ weekStart: 1,
62
+ yearStart: 4,
63
+ formats: {
64
+ LT: "HH:mm",
65
+ LTS: "HH:mm:ss",
66
+ L: "DD.MM.YYYY",
67
+ LL: "MMMM D. [b.] YYYY",
68
+ LLL: "MMMM D. [b.] YYYY [ti.] HH:mm",
69
+ LLLL: "dddd, MMMM D. [b.] YYYY [ti.] HH:mm",
70
+ l: "DD.MM.YYYY",
71
+ ll: "MMMM D. [b.] YYYY",
72
+ lll: "MMMM D. [b.] YYYY [ti.] HH:mm",
73
+ llll: "dddd, MMMM D. [b.] YYYY [ti.] HH:mm"
74
+ },
75
+ calendar: {
76
+ sameDay: "[otne ti] LT",
77
+ nextDay: "[ihttin ti] LT",
78
+ nextWeek: "dddd [ti] LT",
79
+ lastDay: "[ikte ti] LT",
80
+ lastWeek: "[ovddit] dddd [ti] LT",
81
+ sameElse: "L"
82
+ },
83
+ relativeTime: {
84
+ future: "%s geažes",
85
+ past: "maŋit %s",
86
+ s: "moadde sekunddat",
87
+ ss: "%d sekunddat",
88
+ m: "okta minuhta",
89
+ mm: "%d minuhtat",
90
+ h: "okta diimmu",
91
+ hh: "%d diimmut",
92
+ d: "okta beaivi",
93
+ dd: "%d beaivvit",
94
+ w: "okta vahkku",
95
+ ww: "%d vahkkut",
96
+ M: "okta mánnu",
97
+ MM: "%d mánut",
98
+ y: "okta jahki",
99
+ yy: "%d jagit"
100
+ },
101
+ meridiem: (hour, _minute, isLowercase) => {
102
+ const m = hour < 12 ? "AM" : "PM";
103
+ return isLowercase ? m.toLowerCase() : m;
104
+ }
105
+ };
106
+
107
+ //#endregion
108
+ export { localeSe as default };
@@ -0,0 +1,6 @@
1
+ import { Locale } from "../plugins/locale/index.mjs";
2
+
3
+ //#region src/locales/si.d.ts
4
+ declare const localeSi: Readonly<Locale>;
5
+ //#endregion
6
+ export { localeSi as default };
package/locales/si.mjs ADDED
@@ -0,0 +1,108 @@
1
+ //#region src/locales/si.ts
2
+ const localeSi = {
3
+ name: "si",
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
+ dayOfMonthOrdinalParse: /\d{1,2} වැනි/,
60
+ ordinal: (n) => `${n}`,
61
+ weekStart: 1,
62
+ yearStart: 4,
63
+ formats: {
64
+ LT: "a h:mm",
65
+ LTS: "a h:mm:ss",
66
+ L: "YYYY/MM/DD",
67
+ LL: "YYYY MMMM D",
68
+ LLL: "YYYY MMMM D, a h:mm",
69
+ LLLL: "YYYY MMMM D [වැනි] dddd, a h:mm:ss",
70
+ l: "YYYY/MM/DD",
71
+ ll: "YYYY MMMM D",
72
+ lll: "YYYY MMMM D, a h:mm",
73
+ llll: "YYYY MMMM D [වැනි] dddd, a h:mm:ss"
74
+ },
75
+ calendar: {
76
+ sameDay: "[අද] LT[ට]",
77
+ nextDay: "[හෙට] LT[ට]",
78
+ nextWeek: "dddd LT[ට]",
79
+ lastDay: "[ඊයේ] LT[ට]",
80
+ lastWeek: "[පසුගිය] dddd LT[ට]",
81
+ sameElse: "L"
82
+ },
83
+ relativeTime: {
84
+ future: "%sකින්",
85
+ past: "%sකට පෙර",
86
+ s: "තත්පර කිහිපය",
87
+ ss: "තත්පර %d",
88
+ m: "විනාඩිය",
89
+ mm: "විනාඩි %d",
90
+ h: "පැය",
91
+ hh: "පැය %d",
92
+ d: "දිනය",
93
+ dd: "දින %d",
94
+ w: "සතියක්",
95
+ ww: "සති %d",
96
+ M: "මාසය",
97
+ MM: "මාස %d",
98
+ y: "වසර",
99
+ yy: "වසර %d"
100
+ },
101
+ meridiem: (hour, _minute, isLowercase) => {
102
+ if (hour > 11) return isLowercase ? "ප.ව." : "පස් වරු";
103
+ return isLowercase ? "පෙ.ව." : "පෙර වරු";
104
+ }
105
+ };
106
+
107
+ //#endregion
108
+ export { localeSi as default };
@@ -0,0 +1,6 @@
1
+ import { Locale } from "../plugins/locale/index.mjs";
2
+
3
+ //#region src/locales/sk.d.ts
4
+ declare const localeSk: Readonly<Locale>;
5
+ //#endregion
6
+ export { localeSk as default };
package/locales/sk.mjs ADDED
@@ -0,0 +1,168 @@
1
+ //#region src/locales/sk.ts
2
+ const calendar = {
3
+ sameDay: "[dnes o] LT",
4
+ nextDay: "[zajtra o] LT",
5
+ nextWeek() {
6
+ switch (this.day()) {
7
+ case 0: return "[v nedeľu o] LT";
8
+ case 1:
9
+ case 2: return "[v] dddd [o] LT";
10
+ case 3: return "[v stredu o] LT";
11
+ case 4: return "[vo štvrtok o] LT";
12
+ case 5: return "[v piatok o] LT";
13
+ case 6: return "[v sobotu o] LT";
14
+ default: return "";
15
+ }
16
+ },
17
+ lastDay: "[včera o] LT",
18
+ lastWeek() {
19
+ switch (this.day()) {
20
+ case 0: return "[minulú nedeľu o] LT";
21
+ case 1:
22
+ case 2: return "[minulý] dddd [o] LT";
23
+ case 3: return "[minulú stredu o] LT";
24
+ case 4:
25
+ case 5: return "[minulý] dddd [o] LT";
26
+ case 6: return "[minulú sobotu o] LT";
27
+ default: return "";
28
+ }
29
+ },
30
+ sameElse: "L"
31
+ };
32
+ function usePlural(timeValue) {
33
+ return timeValue > 1 && timeValue < 5 && ~~(timeValue / 10) !== 1;
34
+ }
35
+ const relativeTimeWithPlural = (timeValue, withoutSuffix, range, isFuture) => {
36
+ const result = `${timeValue} `;
37
+ switch (range) {
38
+ case "s": return withoutSuffix || isFuture ? "pár sekúnd" : "pár sekundami";
39
+ case "ss":
40
+ if (withoutSuffix || isFuture) return `${result}${usePlural(+timeValue) ? "sekundy" : "sekúnd"}`;
41
+ return `${result}sekundami`;
42
+ case "m": return withoutSuffix ? "minúta" : isFuture ? "minútu" : "minútou";
43
+ case "mm":
44
+ if (withoutSuffix || isFuture) return `${result}${usePlural(+timeValue) ? "minúty" : "minút"}`;
45
+ return `${result}minútami`;
46
+ case "h": return withoutSuffix ? "hodina" : isFuture ? "hodinu" : "hodinou";
47
+ case "hh":
48
+ if (withoutSuffix || isFuture) return result + (usePlural(+timeValue) ? "hodiny" : "hodín");
49
+ return `${result}hodinami`;
50
+ case "d": return withoutSuffix || isFuture ? "deň" : "dňom";
51
+ case "dd":
52
+ if (withoutSuffix || isFuture) return result + (usePlural(+timeValue) ? "dni" : "dní");
53
+ return `${result}dňami`;
54
+ case "w": return withoutSuffix || isFuture ? "týždeň" : "týždňom";
55
+ case "ww":
56
+ if (withoutSuffix || isFuture) return result + (usePlural(+timeValue) ? "týždňov" : "týždňov");
57
+ return `${result}týždňami`;
58
+ case "M": return withoutSuffix || isFuture ? "mesiac" : "mesiacom";
59
+ case "MM":
60
+ if (withoutSuffix || isFuture) return result + (usePlural(+timeValue) ? "mesiace" : "mesiacov");
61
+ return `${result}mesiacmi`;
62
+ case "y": return withoutSuffix || isFuture ? "rok" : "rokom";
63
+ case "yy":
64
+ if (withoutSuffix || isFuture) return result + (usePlural(+timeValue) ? "roky" : "rokov");
65
+ return `${result}rokmi`;
66
+ default: return "";
67
+ }
68
+ };
69
+ const localeSk = {
70
+ name: "sk",
71
+ weekdays: [
72
+ "nedeľa",
73
+ "pondelok",
74
+ "utorok",
75
+ "streda",
76
+ "štvrtok",
77
+ "piatok",
78
+ "sobota"
79
+ ],
80
+ weekdaysShort: [
81
+ "ne",
82
+ "po",
83
+ "ut",
84
+ "st",
85
+ "št",
86
+ "pi",
87
+ "so"
88
+ ],
89
+ weekdaysMin: [
90
+ "ne",
91
+ "po",
92
+ "ut",
93
+ "st",
94
+ "št",
95
+ "pi",
96
+ "so"
97
+ ],
98
+ months: [
99
+ "január",
100
+ "február",
101
+ "marec",
102
+ "apríl",
103
+ "máj",
104
+ "jún",
105
+ "júl",
106
+ "august",
107
+ "september",
108
+ "október",
109
+ "november",
110
+ "december"
111
+ ],
112
+ monthsShort: [
113
+ "jan",
114
+ "feb",
115
+ "mar",
116
+ "apr",
117
+ "máj",
118
+ "jún",
119
+ "júl",
120
+ "aug",
121
+ "sep",
122
+ "okt",
123
+ "nov",
124
+ "dec"
125
+ ],
126
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
127
+ ordinal: (n) => `${n}.`,
128
+ weekStart: 1,
129
+ yearStart: 4,
130
+ formats: {
131
+ LT: "H:mm",
132
+ LTS: "H:mm:ss",
133
+ L: "DD.MM.YYYY",
134
+ LL: "D. MMMM YYYY",
135
+ LLL: "D. MMMM YYYY H:mm",
136
+ LLLL: "dddd D. MMMM YYYY H:mm",
137
+ l: "D. M. YYYY",
138
+ ll: "D. MMMM YYYY",
139
+ lll: "D. MMMM YYYY H:mm",
140
+ llll: "dddd D. MMMM YYYY H:mm"
141
+ },
142
+ calendar,
143
+ relativeTime: {
144
+ future: "za %s",
145
+ past: "pred %s",
146
+ s: relativeTimeWithPlural,
147
+ ss: relativeTimeWithPlural,
148
+ m: relativeTimeWithPlural,
149
+ mm: relativeTimeWithPlural,
150
+ h: relativeTimeWithPlural,
151
+ hh: relativeTimeWithPlural,
152
+ d: relativeTimeWithPlural,
153
+ dd: relativeTimeWithPlural,
154
+ w: relativeTimeWithPlural,
155
+ ww: relativeTimeWithPlural,
156
+ M: relativeTimeWithPlural,
157
+ MM: relativeTimeWithPlural,
158
+ y: relativeTimeWithPlural,
159
+ yy: relativeTimeWithPlural
160
+ },
161
+ meridiem: (hour, _minute, isLowercase) => {
162
+ const m = hour < 12 ? "AM" : "PM";
163
+ return isLowercase ? m.toLowerCase() : m;
164
+ }
165
+ };
166
+
167
+ //#endregion
168
+ export { localeSk as default };
@@ -0,0 +1,6 @@
1
+ import { Locale } from "../plugins/locale/index.mjs";
2
+
3
+ //#region src/locales/sl.d.ts
4
+ declare const localeSl: Readonly<Locale>;
5
+ //#endregion
6
+ export { localeSl as default };
package/locales/sl.mjs ADDED
@@ -0,0 +1,177 @@
1
+ //#region src/locales/sl.ts
2
+ const calendar = {
3
+ sameDay: "[danes ob] LT",
4
+ nextDay: "[jutri ob] LT",
5
+ nextWeek() {
6
+ switch (this.day()) {
7
+ case 0: return "[v] [nedeljo] [ob] LT";
8
+ case 3: return "[v] [sredo] [ob] LT";
9
+ case 6: return "[v] [soboto] [ob] LT";
10
+ case 1:
11
+ case 2:
12
+ case 4:
13
+ case 5: return "[v] dddd [ob] LT";
14
+ default: return "";
15
+ }
16
+ },
17
+ lastDay: "[včeraj ob] LT",
18
+ lastWeek() {
19
+ switch (this.day()) {
20
+ case 0: return "[prejšnjo] [nedeljo] [ob] LT";
21
+ case 3: return "[prejšnjo] [sredo] [ob] LT";
22
+ case 6: return "[prejšnjo] [soboto] [ob] LT";
23
+ case 1:
24
+ case 2:
25
+ case 4:
26
+ case 5: return "[prejšnji] dddd [ob] LT";
27
+ default: return "";
28
+ }
29
+ },
30
+ sameElse: "L"
31
+ };
32
+ function dual(timeValue) {
33
+ return timeValue % 100 === 2;
34
+ }
35
+ function threeFour(timeValue) {
36
+ return timeValue % 100 === 3 || timeValue % 100 === 4;
37
+ }
38
+ const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
39
+ const result = `${timeValue} `;
40
+ switch (token) {
41
+ case "s": return withoutSuffix || isFuture ? "nekaj sekund" : "nekaj sekundami";
42
+ case "ss":
43
+ if (+timeValue === 1) return `${result}${withoutSuffix ? "sekundo" : "sekundi"}`;
44
+ if (+timeValue === 2) return `${result}${withoutSuffix || isFuture ? "sekundi" : "sekundah"}`;
45
+ if (+timeValue < 5) return `${result}${withoutSuffix || isFuture ? "sekunde" : "sekundah"}`;
46
+ return `${result}sekund`;
47
+ case "m": return withoutSuffix ? "ena minuta" : "eno minuto";
48
+ case "mm":
49
+ if (dual(+timeValue)) return `${result}${withoutSuffix || isFuture ? "minuti" : "minutama"}`;
50
+ if (threeFour(+timeValue)) return `${result}${withoutSuffix || isFuture ? "minute" : "minutami"}`;
51
+ return `${result}${withoutSuffix || isFuture ? "minut" : "minutami"}`;
52
+ case "h": return withoutSuffix ? "ena ura" : "eno uro";
53
+ case "hh":
54
+ if (dual(+timeValue)) return `${result}${withoutSuffix || isFuture ? "uri" : "urama"}`;
55
+ if (threeFour(+timeValue)) return `${result}${withoutSuffix || isFuture ? "ure" : "urami"}`;
56
+ return `${result}${withoutSuffix || isFuture ? "ur" : "urami"}`;
57
+ case "d": return withoutSuffix || isFuture ? "en dan" : "enim dnem";
58
+ case "dd":
59
+ if (dual(+timeValue)) return `${result}${withoutSuffix || isFuture ? "dneva" : "dnevoma"}`;
60
+ return result + (withoutSuffix || isFuture ? "dni" : "dnevi");
61
+ case "w": return withoutSuffix || isFuture ? "en teden" : "enem tednu";
62
+ case "ww":
63
+ if (dual(+timeValue)) return `${result}${withoutSuffix || isFuture ? "tedna" : "tednoma"}`;
64
+ return result + (withoutSuffix || isFuture ? "tednih" : "tedni");
65
+ case "M": return withoutSuffix || isFuture ? "en mesec" : "enim mesecem";
66
+ case "MM":
67
+ if (dual(+timeValue)) return `${result}${withoutSuffix || isFuture ? "meseca" : "mesecema"}`;
68
+ if (threeFour(+timeValue)) return `${result}${withoutSuffix || isFuture ? "mesece" : "meseci"}`;
69
+ return `${result}${withoutSuffix || isFuture ? "mesecev" : "meseci"}`;
70
+ case "y": return withoutSuffix || isFuture ? "eno leto" : "enim letom";
71
+ case "yy":
72
+ if (dual(+timeValue)) return `${result}${withoutSuffix || isFuture ? "leti" : "letoma"}`;
73
+ if (threeFour(+timeValue)) return `${result}${withoutSuffix || isFuture ? "leta" : "leti"}`;
74
+ return `${result}${withoutSuffix || isFuture ? "let" : "leti"}`;
75
+ default: return "";
76
+ }
77
+ };
78
+ const localeSl = {
79
+ name: "sl",
80
+ weekdays: [
81
+ "nedelja",
82
+ "ponedeljek",
83
+ "torek",
84
+ "sreda",
85
+ "četrtek",
86
+ "petek",
87
+ "sobota"
88
+ ],
89
+ weekdaysShort: [
90
+ "ned.",
91
+ "pon.",
92
+ "tor.",
93
+ "sre.",
94
+ "čet.",
95
+ "pet.",
96
+ "sob."
97
+ ],
98
+ weekdaysMin: [
99
+ "ne",
100
+ "po",
101
+ "to",
102
+ "sr",
103
+ "če",
104
+ "pe",
105
+ "so"
106
+ ],
107
+ months: [
108
+ "januar",
109
+ "februar",
110
+ "marec",
111
+ "april",
112
+ "maj",
113
+ "junij",
114
+ "julij",
115
+ "avgust",
116
+ "september",
117
+ "oktober",
118
+ "november",
119
+ "december"
120
+ ],
121
+ monthsShort: [
122
+ "jan.",
123
+ "feb.",
124
+ "mar.",
125
+ "apr.",
126
+ "maj.",
127
+ "jun.",
128
+ "jul.",
129
+ "avg.",
130
+ "sep.",
131
+ "okt.",
132
+ "nov.",
133
+ "dec."
134
+ ],
135
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
136
+ ordinal: (n) => `${n}.`,
137
+ weekStart: 1,
138
+ yearStart: 1,
139
+ formats: {
140
+ LT: "H:mm",
141
+ LTS: "H:mm:ss",
142
+ L: "DD.MM.YYYY",
143
+ LL: "D. MMMM YYYY",
144
+ LLL: "D. MMMM YYYY H:mm",
145
+ LLLL: "dddd, D. MMMM YYYY H:mm",
146
+ l: "D. M. YYYY",
147
+ ll: "D. MMMM YYYY",
148
+ lll: "D. MMMM YYYY H:mm",
149
+ llll: "dddd, D. MMMM YYYY H:mm"
150
+ },
151
+ calendar,
152
+ relativeTime: {
153
+ future: "čez %s",
154
+ past: "pred %s",
155
+ s: relativeTimeFormatter,
156
+ ss: relativeTimeFormatter,
157
+ m: relativeTimeFormatter,
158
+ mm: relativeTimeFormatter,
159
+ h: relativeTimeFormatter,
160
+ hh: relativeTimeFormatter,
161
+ d: relativeTimeFormatter,
162
+ dd: relativeTimeFormatter,
163
+ w: relativeTimeFormatter,
164
+ ww: relativeTimeFormatter,
165
+ M: relativeTimeFormatter,
166
+ MM: relativeTimeFormatter,
167
+ y: relativeTimeFormatter,
168
+ yy: relativeTimeFormatter
169
+ },
170
+ meridiem: (hour, _minute, isLowercase) => {
171
+ const m = hour < 12 ? "AM" : "PM";
172
+ return isLowercase ? m.toLowerCase() : m;
173
+ }
174
+ };
175
+
176
+ //#endregion
177
+ export { localeSl as default };
@@ -0,0 +1,6 @@
1
+ import { Locale } from "../plugins/locale/index.mjs";
2
+
3
+ //#region src/locales/sq.d.ts
4
+ declare const localeSq: Readonly<Locale>;
5
+ //#endregion
6
+ export { localeSq as default };
package/locales/sq.mjs ADDED
@@ -0,0 +1,108 @@
1
+ //#region src/locales/sq.ts
2
+ const localeSq = {
3
+ name: "sq",
4
+ weekdays: [
5
+ "E Diel",
6
+ "E Hënë",
7
+ "E Martë",
8
+ "E Mërkurë",
9
+ "E Enjte",
10
+ "E Premte",
11
+ "E Shtunë"
12
+ ],
13
+ weekdaysShort: [
14
+ "Die",
15
+ "Hën",
16
+ "Mar",
17
+ "Mër",
18
+ "Enj",
19
+ "Pre",
20
+ "Sht"
21
+ ],
22
+ weekdaysMin: [
23
+ "D",
24
+ "H",
25
+ "Ma",
26
+ "Më",
27
+ "E",
28
+ "P",
29
+ "Sh"
30
+ ],
31
+ months: [
32
+ "Janar",
33
+ "Shkurt",
34
+ "Mars",
35
+ "Prill",
36
+ "Maj",
37
+ "Qershor",
38
+ "Korrik",
39
+ "Gusht",
40
+ "Shtator",
41
+ "Tetor",
42
+ "Nëntor",
43
+ "Dhjetor"
44
+ ],
45
+ monthsShort: [
46
+ "Jan",
47
+ "Shk",
48
+ "Mar",
49
+ "Pri",
50
+ "Maj",
51
+ "Qer",
52
+ "Kor",
53
+ "Gus",
54
+ "Sht",
55
+ "Tet",
56
+ "Nën",
57
+ "Dhj"
58
+ ],
59
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
60
+ ordinal: (n) => `${n}.`,
61
+ weekStart: 1,
62
+ yearStart: 4,
63
+ formats: {
64
+ LT: "HH:mm",
65
+ LTS: "HH:mm:ss",
66
+ L: "DD/MM/YYYY",
67
+ LL: "D MMMM YYYY",
68
+ LLL: "D MMMM YYYY HH:mm",
69
+ LLLL: "dddd, D MMMM YYYY HH:mm",
70
+ l: "DD/MM/YYYY",
71
+ ll: "D MMMM YYYY",
72
+ lll: "D MMMM YYYY HH:mm",
73
+ llll: "dddd, D MMMM YYYY HH:mm"
74
+ },
75
+ calendar: {
76
+ sameDay: "[Sot në] LT",
77
+ nextDay: "[Nesër në] LT",
78
+ nextWeek: "dddd [në] LT",
79
+ lastDay: "[Dje në] LT",
80
+ lastWeek: "dddd [e kaluar në] LT",
81
+ sameElse: "L"
82
+ },
83
+ relativeTime: {
84
+ future: "në %s",
85
+ past: "%s më parë",
86
+ s: "disa sekonda",
87
+ ss: "%d sekonda",
88
+ m: "një minutë",
89
+ mm: "%d minuta",
90
+ h: "një orë",
91
+ hh: "%d orë",
92
+ d: "një ditë",
93
+ dd: "%d ditë",
94
+ w: "një javë",
95
+ ww: "%d javë",
96
+ M: "një muaj",
97
+ MM: "%d muaj",
98
+ y: "një vit",
99
+ yy: "%d vite"
100
+ },
101
+ meridiem: (hour, _minute, isLowercase) => {
102
+ const m = hour < 12 ? "AM" : "PM";
103
+ return isLowercase ? m.toLowerCase() : m;
104
+ }
105
+ };
106
+
107
+ //#endregion
108
+ export { localeSq as default };
@@ -0,0 +1,9 @@
1
+ import { Locale } from "../plugins/locale/index.mjs";
2
+
3
+ //#region src/locales/sr-cyrl.d.ts
4
+ /**
5
+ * Serbian Cyrillic [sr-CYRL]
6
+ */
7
+ declare const localeSrCyrl: Locale;
8
+ //#endregion
9
+ export { localeSrCyrl as default };