esday 0.5.0 → 0.6.3

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 (382) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/LICENSE +21 -21
  3. package/README.md +63 -51
  4. package/chunks/AyQQ6US-.js +84 -0
  5. package/chunks/{Y32qdU_5.js → BkjWOpMU.js} +7 -1
  6. package/chunks/{MtjcOKi-.d.ts → C5qDMHT5.d.ts} +2 -2
  7. package/chunks/{DqhiVwLi.d.ts → CODi8AFH.d.ts} +63 -35
  8. package/chunks/CXWzCl3n.js +481 -0
  9. package/chunks/{BRRrAbUl.js → CdvTtmWL.js} +2 -2
  10. package/chunks/{DXHbH1CI.js → Shk32pTP.js} +1 -1
  11. package/chunks/{Cb5SvF6r.js → v_QBn7Xm.js} +1 -1
  12. package/chunks/xt8C2lbv.js +38 -0
  13. package/index.d.ts +3 -3
  14. package/index.js +1 -571
  15. package/locales/af.d.ts +1 -3
  16. package/locales/af.js +4 -2
  17. package/locales/am.d.ts +1 -3
  18. package/locales/am.js +4 -2
  19. package/locales/ar-dz.d.ts +1 -3
  20. package/locales/ar-dz.js +7 -9
  21. package/locales/ar-iq.d.ts +1 -3
  22. package/locales/ar-iq.js +7 -9
  23. package/locales/ar-kw.d.ts +1 -3
  24. package/locales/ar-kw.js +7 -9
  25. package/locales/ar-ly.d.ts +1 -3
  26. package/locales/ar-ly.js +7 -9
  27. package/locales/ar-ma.d.ts +1 -3
  28. package/locales/ar-ma.js +7 -9
  29. package/locales/ar-sa.d.ts +1 -3
  30. package/locales/ar-sa.js +7 -9
  31. package/locales/ar-tn.d.ts +1 -3
  32. package/locales/ar-tn.js +7 -9
  33. package/locales/ar.d.ts +1 -3
  34. package/locales/ar.js +197 -2
  35. package/locales/az.d.ts +1 -3
  36. package/locales/az.js +4 -2
  37. package/locales/be.d.ts +1 -3
  38. package/locales/be.js +55 -59
  39. package/locales/bg.d.ts +1 -3
  40. package/locales/bg.js +4 -2
  41. package/locales/bi.d.ts +1 -3
  42. package/locales/bi.js +4 -2
  43. package/locales/bm.d.ts +1 -3
  44. package/locales/bm.js +4 -2
  45. package/locales/bn-bd.d.ts +1 -3
  46. package/locales/bn-bd.js +7 -9
  47. package/locales/bn.d.ts +1 -3
  48. package/locales/bn.js +136 -2
  49. package/locales/bo.d.ts +1 -3
  50. package/locales/bo.js +4 -2
  51. package/locales/br.d.ts +1 -3
  52. package/locales/br.js +10 -9
  53. package/locales/bs.d.ts +1 -3
  54. package/locales/bs.js +4 -2
  55. package/locales/ca.d.ts +1 -3
  56. package/locales/ca.js +35 -36
  57. package/locales/cs.d.ts +1 -3
  58. package/locales/cs.js +38 -34
  59. package/locales/cv.d.ts +1 -3
  60. package/locales/cv.js +4 -2
  61. package/locales/cy.d.ts +1 -3
  62. package/locales/cy.js +4 -2
  63. package/locales/da.d.ts +1 -3
  64. package/locales/da.js +4 -2
  65. package/locales/de-at.d.ts +1 -3
  66. package/locales/de-at.js +7 -9
  67. package/locales/de-ch.d.ts +1 -3
  68. package/locales/de-ch.js +7 -9
  69. package/locales/de.d.ts +1 -3
  70. package/locales/de.js +130 -2
  71. package/locales/dv.d.ts +1 -3
  72. package/locales/dv.js +4 -2
  73. package/locales/el.d.ts +1 -3
  74. package/locales/el.js +4 -2
  75. package/locales/en-au.d.ts +1 -3
  76. package/locales/en-au.js +7 -8
  77. package/locales/en-ca.d.ts +1 -3
  78. package/locales/en-ca.js +7 -8
  79. package/locales/en-gb.d.ts +1 -3
  80. package/locales/en-gb.js +9 -8
  81. package/locales/en-ie.d.ts +1 -3
  82. package/locales/en-ie.js +7 -8
  83. package/locales/en-il.d.ts +1 -3
  84. package/locales/en-il.js +7 -8
  85. package/locales/en-in.d.ts +1 -3
  86. package/locales/en-in.js +7 -8
  87. package/locales/en-nz.d.ts +1 -3
  88. package/locales/en-nz.js +7 -8
  89. package/locales/en-sg.d.ts +1 -3
  90. package/locales/en-sg.js +7 -8
  91. package/locales/en-tt.d.ts +1 -3
  92. package/locales/en-tt.js +7 -8
  93. package/locales/en-us.d.ts +1 -3
  94. package/locales/en-us.js +7 -8
  95. package/locales/en.d.ts +1 -3
  96. package/locales/en.js +116 -2
  97. package/locales/eo.d.ts +1 -3
  98. package/locales/eo.js +4 -2
  99. package/locales/es-do.d.ts +1 -3
  100. package/locales/es-do.js +7 -9
  101. package/locales/es-mx.d.ts +1 -3
  102. package/locales/es-mx.js +7 -9
  103. package/locales/es-pr.d.ts +1 -3
  104. package/locales/es-pr.js +7 -9
  105. package/locales/es-us.d.ts +1 -3
  106. package/locales/es-us.js +7 -9
  107. package/locales/es.d.ts +1 -3
  108. package/locales/es.js +117 -2
  109. package/locales/et.d.ts +1 -3
  110. package/locales/et.js +6 -2
  111. package/locales/eu.d.ts +1 -3
  112. package/locales/eu.js +4 -2
  113. package/locales/fa.d.ts +1 -3
  114. package/locales/fa.js +4 -2
  115. package/locales/fi.d.ts +1 -3
  116. package/locales/fi.js +8 -2
  117. package/locales/fil.d.ts +1 -3
  118. package/locales/fil.js +4 -2
  119. package/locales/fo.d.ts +1 -3
  120. package/locales/fo.js +4 -2
  121. package/locales/fr-ca.d.ts +1 -3
  122. package/locales/fr-ca.js +7 -9
  123. package/locales/fr-ch.d.ts +1 -3
  124. package/locales/fr-ch.js +7 -9
  125. package/locales/fr.d.ts +1 -3
  126. package/locales/fr.js +109 -2
  127. package/locales/fy.d.ts +1 -3
  128. package/locales/fy.js +4 -2
  129. package/locales/ga.d.ts +1 -3
  130. package/locales/ga.js +4 -2
  131. package/locales/gd.d.ts +1 -3
  132. package/locales/gd.js +4 -2
  133. package/locales/gl.d.ts +1 -3
  134. package/locales/gl.js +4 -2
  135. package/locales/gom-deva.d.ts +1 -3
  136. package/locales/gom-deva.js +34 -32
  137. package/locales/gom-latn.d.ts +1 -3
  138. package/locales/gom-latn.js +34 -32
  139. package/locales/gu.d.ts +1 -3
  140. package/locales/gu.js +4 -2
  141. package/locales/he.d.ts +1 -3
  142. package/locales/he.js +8 -5
  143. package/locales/hi.d.ts +1 -3
  144. package/locales/hi.js +34 -35
  145. package/locales/hr.d.ts +1 -3
  146. package/locales/hr.js +10 -4
  147. package/locales/ht.d.ts +1 -3
  148. package/locales/ht.js +4 -2
  149. package/locales/hu.d.ts +1 -3
  150. package/locales/hu.js +6 -2
  151. package/locales/hy-am.d.ts +1 -3
  152. package/locales/hy-am.js +34 -35
  153. package/locales/id.d.ts +1 -3
  154. package/locales/id.js +4 -2
  155. package/locales/is.d.ts +1 -3
  156. package/locales/is.js +14 -2
  157. package/locales/it-ch.d.ts +1 -3
  158. package/locales/it-ch.js +4 -9
  159. package/locales/it.d.ts +1 -3
  160. package/locales/it.js +120 -2
  161. package/locales/ja.d.ts +1 -4
  162. package/locales/ja.js +4 -2
  163. package/locales/jv.d.ts +1 -3
  164. package/locales/jv.js +4 -2
  165. package/locales/ka.d.ts +1 -3
  166. package/locales/ka.js +25 -26
  167. package/locales/kk.d.ts +1 -3
  168. package/locales/kk.js +4 -2
  169. package/locales/km.d.ts +1 -3
  170. package/locales/km.js +4 -2
  171. package/locales/kn.d.ts +1 -3
  172. package/locales/kn.js +4 -2
  173. package/locales/ko.d.ts +1 -3
  174. package/locales/ko.js +5 -3
  175. package/locales/ku.d.ts +1 -3
  176. package/locales/ku.js +4 -2
  177. package/locales/ky.d.ts +1 -3
  178. package/locales/ky.js +4 -2
  179. package/locales/lb.d.ts +1 -3
  180. package/locales/lb.js +5 -2
  181. package/locales/lo.d.ts +1 -3
  182. package/locales/lo.js +4 -2
  183. package/locales/lt.d.ts +1 -3
  184. package/locales/lt.js +4 -2
  185. package/locales/lv.d.ts +1 -3
  186. package/locales/lv.js +4 -2
  187. package/locales/me.d.ts +1 -3
  188. package/locales/me.js +33 -33
  189. package/locales/mi.d.ts +1 -3
  190. package/locales/mi.js +4 -2
  191. package/locales/mk.d.ts +1 -3
  192. package/locales/mk.js +4 -2
  193. package/locales/ml.d.ts +1 -3
  194. package/locales/ml.js +4 -2
  195. package/locales/mn.d.ts +1 -3
  196. package/locales/mn.js +37 -16
  197. package/locales/mr.d.ts +1 -3
  198. package/locales/mr.js +16 -2
  199. package/locales/ms-my.d.ts +1 -3
  200. package/locales/ms-my.js +7 -9
  201. package/locales/ms.d.ts +1 -3
  202. package/locales/ms.js +107 -2
  203. package/locales/mt.d.ts +1 -3
  204. package/locales/mt.js +4 -2
  205. package/locales/my.d.ts +1 -3
  206. package/locales/my.js +4 -2
  207. package/locales/nb.d.ts +1 -3
  208. package/locales/nb.js +4 -2
  209. package/locales/ne.d.ts +1 -3
  210. package/locales/ne.js +4 -2
  211. package/locales/nl-be.d.ts +1 -3
  212. package/locales/nl-be.js +7 -9
  213. package/locales/nl.d.ts +1 -3
  214. package/locales/nl.js +107 -2
  215. package/locales/nn.d.ts +1 -3
  216. package/locales/nn.js +4 -2
  217. package/locales/oc-lnc.d.ts +1 -3
  218. package/locales/oc-lnc.js +35 -36
  219. package/locales/pa-in.d.ts +1 -3
  220. package/locales/pa-in.js +4 -2
  221. package/locales/pl.d.ts +1 -3
  222. package/locales/pl.js +5 -2
  223. package/locales/pt-br.d.ts +1 -3
  224. package/locales/pt-br.js +7 -9
  225. package/locales/pt.d.ts +1 -3
  226. package/locales/pt.js +109 -2
  227. package/locales/rn.d.ts +1 -3
  228. package/locales/rn.js +4 -2
  229. package/locales/ro.d.ts +1 -3
  230. package/locales/ro.js +4 -2
  231. package/locales/ru.d.ts +1 -4
  232. package/locales/ru.js +83 -82
  233. package/locales/rw.d.ts +1 -3
  234. package/locales/rw.js +4 -2
  235. package/locales/sd.d.ts +1 -3
  236. package/locales/sd.js +4 -2
  237. package/locales/se.d.ts +1 -3
  238. package/locales/se.js +4 -2
  239. package/locales/si.d.ts +1 -3
  240. package/locales/si.js +4 -2
  241. package/locales/sk.d.ts +1 -3
  242. package/locales/sk.js +8 -2
  243. package/locales/sl.d.ts +1 -3
  244. package/locales/sl.js +8 -2
  245. package/locales/sq.d.ts +1 -3
  246. package/locales/sq.js +4 -2
  247. package/locales/sr-cyrl.d.ts +1 -3
  248. package/locales/sr-cyrl.js +16 -15
  249. package/locales/sr.d.ts +1 -3
  250. package/locales/sr.js +185 -2
  251. package/locales/ss.d.ts +1 -3
  252. package/locales/ss.js +4 -2
  253. package/locales/sv-fi.d.ts +1 -3
  254. package/locales/sv-fi.js +7 -9
  255. package/locales/sv.d.ts +1 -3
  256. package/locales/sv.js +110 -2
  257. package/locales/sw.d.ts +1 -3
  258. package/locales/sw.js +4 -2
  259. package/locales/ta.d.ts +1 -3
  260. package/locales/ta.js +4 -2
  261. package/locales/te.d.ts +1 -3
  262. package/locales/te.js +4 -2
  263. package/locales/tet.d.ts +1 -3
  264. package/locales/tet.js +5 -4
  265. package/locales/tg.d.ts +1 -3
  266. package/locales/tg.js +34 -35
  267. package/locales/th.d.ts +1 -3
  268. package/locales/th.js +4 -2
  269. package/locales/tk.d.ts +1 -3
  270. package/locales/tk.js +5 -4
  271. package/locales/tl-ph.d.ts +1 -3
  272. package/locales/tl-ph.js +4 -2
  273. package/locales/tlh.d.ts +1 -3
  274. package/locales/tlh.js +5 -2
  275. package/locales/tr.d.ts +1 -3
  276. package/locales/tr.js +5 -4
  277. package/locales/tzl.d.ts +1 -3
  278. package/locales/tzl.js +4 -2
  279. package/locales/tzm-latn.d.ts +1 -3
  280. package/locales/tzm-latn.js +9 -9
  281. package/locales/tzm.d.ts +1 -3
  282. package/locales/tzm.js +107 -2
  283. package/locales/ug-cn.d.ts +1 -3
  284. package/locales/ug-cn.js +4 -2
  285. package/locales/uk.d.ts +1 -3
  286. package/locales/uk.js +37 -32
  287. package/locales/ur.d.ts +1 -3
  288. package/locales/ur.js +4 -2
  289. package/locales/uz-latn.d.ts +1 -3
  290. package/locales/uz-latn.js +9 -9
  291. package/locales/uz.d.ts +1 -3
  292. package/locales/uz.js +107 -2
  293. package/locales/vi.d.ts +1 -3
  294. package/locales/vi.js +4 -2
  295. package/locales/x-pseudo.d.ts +1 -3
  296. package/locales/x-pseudo.js +5 -4
  297. package/locales/yo.d.ts +1 -3
  298. package/locales/yo.js +4 -2
  299. package/locales/zh-cn.d.ts +1 -3
  300. package/locales/zh-cn.js +7 -9
  301. package/locales/zh-hk.d.ts +1 -3
  302. package/locales/zh-hk.js +7 -9
  303. package/locales/zh-mo.d.ts +1 -3
  304. package/locales/zh-mo.js +7 -9
  305. package/locales/zh-tw.d.ts +1 -3
  306. package/locales/zh-tw.js +7 -9
  307. package/locales/zh.d.ts +1 -4
  308. package/locales/zh.js +128 -2
  309. package/package.json +29 -23
  310. package/plugins/advancedFormat/index.d.ts +1 -3
  311. package/plugins/advancedFormat/index.js +4 -6
  312. package/plugins/advancedParse/index.d.ts +1 -3
  313. package/plugins/advancedParse/index.js +21 -20
  314. package/plugins/calendar/index.d.ts +2 -4
  315. package/plugins/calendar/index.js +1 -2
  316. package/plugins/dayOfYear/index.d.ts +1 -2
  317. package/plugins/dayOfYear/index.js +1 -2
  318. package/plugins/duration/index.d.ts +78 -0
  319. package/plugins/duration/index.js +477 -0
  320. package/plugins/isBetween/index.d.ts +1 -2
  321. package/plugins/isBetween/index.js +2 -3
  322. package/plugins/isLeapYear/index.d.ts +1 -2
  323. package/plugins/isLeapYear/index.js +1 -2
  324. package/plugins/isSameOrAfter/index.d.ts +1 -2
  325. package/plugins/isSameOrAfter/index.js +1 -2
  326. package/plugins/isSameOrBefore/index.d.ts +1 -2
  327. package/plugins/isSameOrBefore/index.js +1 -2
  328. package/plugins/isToday/index.d.ts +1 -2
  329. package/plugins/isToday/index.js +2 -3
  330. package/plugins/isTomorrow/index.d.ts +1 -2
  331. package/plugins/isTomorrow/index.js +2 -3
  332. package/plugins/isYesterday/index.d.ts +1 -2
  333. package/plugins/isYesterday/index.js +2 -3
  334. package/plugins/isoWeek/index.d.ts +1 -3
  335. package/plugins/isoWeek/index.js +13 -25
  336. package/plugins/locale/index.d.ts +103 -3
  337. package/plugins/locale/index.js +140 -6
  338. package/plugins/localeData/index.d.ts +1 -3
  339. package/plugins/localeData/index.js +18 -11
  340. package/plugins/localizedFormat/index.d.ts +1 -3
  341. package/plugins/localizedFormat/index.js +5 -10
  342. package/plugins/localizedParse/index.d.ts +1 -3
  343. package/plugins/localizedParse/index.js +40 -22
  344. package/plugins/minMax/index.d.ts +1 -2
  345. package/plugins/minMax/index.js +2 -3
  346. package/plugins/objectSupport/index.d.ts +1 -3
  347. package/plugins/objectSupport/index.js +33 -38
  348. package/plugins/pluralGetSet/index.d.ts +1 -3
  349. package/plugins/pluralGetSet/index.js +1 -2
  350. package/plugins/quarterOfYear/index.d.ts +1 -3
  351. package/plugins/quarterOfYear/index.js +11 -18
  352. package/plugins/relativeTime/index.d.ts +32 -44
  353. package/plugins/relativeTime/index.js +124 -91
  354. package/plugins/timezone/index.d.ts +6 -0
  355. package/plugins/timezone/index.js +456 -0
  356. package/plugins/toArray/index.d.ts +1 -2
  357. package/plugins/toArray/index.js +1 -2
  358. package/plugins/toObject/index.d.ts +1 -2
  359. package/plugins/toObject/index.js +1 -2
  360. package/plugins/utc/index.d.ts +1 -2
  361. package/plugins/utc/index.js +37 -39
  362. package/plugins/week/index.d.ts +1 -3
  363. package/plugins/week/index.js +17 -27
  364. package/chunks/B5f9poqo.js +0 -120
  365. package/chunks/BDssPbM_.js +0 -106
  366. package/chunks/BXRGSAJG.js +0 -128
  367. package/chunks/BeVgU2nj.js +0 -188
  368. package/chunks/BtmEtAW3.js +0 -43
  369. package/chunks/CQ57zhVp.js +0 -106
  370. package/chunks/CQJ0-ZuR.js +0 -106
  371. package/chunks/CWqzr5E5.js +0 -108
  372. package/chunks/Cg4ZI9v8.js +0 -180
  373. package/chunks/CoBtJ4c1.js +0 -144
  374. package/chunks/D009Z-ld.js +0 -109
  375. package/chunks/DMtTiWuY.js +0 -127
  376. package/chunks/Dixb5KKs.js +0 -116
  377. package/chunks/DjY7KvwG.js +0 -28
  378. package/chunks/GjKpN6U-.js +0 -135
  379. package/chunks/St35qgL0.d.ts +0 -103
  380. package/chunks/br7kModF.js +0 -110
  381. package/chunks/l2Rxo2H0.js +0 -106
  382. package/chunks/tfkJ5D3p.js +0 -115
package/locales/sw.js CHANGED
@@ -56,6 +56,7 @@ const localeSw = {
56
56
  "Nov",
57
57
  "Des"
58
58
  ],
59
+ dayOfMonthOrdinalParse: /\d{1,2}/,
59
60
  ordinal: (n) => `${n}`,
60
61
  weekStart: 1,
61
62
  yearStart: 1,
@@ -90,6 +91,8 @@ const localeSw = {
90
91
  hh: "masaa %d",
91
92
  d: "siku moja",
92
93
  dd: "masiku %d",
94
+ w: "wiki moja",
95
+ ww: "wiki %d",
93
96
  M: "mwezi mmoja",
94
97
  MM: "miezi %d",
95
98
  y: "mwaka mmoja",
@@ -100,7 +103,6 @@ const localeSw = {
100
103
  return isLowercase ? m.toLowerCase() : m;
101
104
  }
102
105
  };
103
- var sw_default = localeSw;
104
106
 
105
107
  //#endregion
106
- export { sw_default as default };
108
+ export { localeSw as default };
package/locales/ta.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import "../chunks/DqhiVwLi.js";
2
- import "../chunks/MtjcOKi-.js";
3
- import { Locale } from "../chunks/St35qgL0.js";
1
+ import { Locale } from "../plugins/locale/index.js";
4
2
 
5
3
  //#region src/locales/ta.d.ts
6
4
  declare const localeTa: Readonly<Locale>;
package/locales/ta.js CHANGED
@@ -80,6 +80,7 @@ const localeTa = {
80
80
  "நவம்பர்",
81
81
  "டிசம்பர்"
82
82
  ],
83
+ dayOfMonthOrdinalParse: /\d{1,2}வது/,
83
84
  ordinal: (n) => `${n} வது`,
84
85
  weekStart: 0,
85
86
  yearStart: 1,
@@ -114,6 +115,8 @@ const localeTa = {
114
115
  hh: "%d மணி நேரம்",
115
116
  d: "ஒரு நாள்",
116
117
  dd: "%d நாட்கள்",
118
+ w: "ஒரு வாரம்",
119
+ ww: "%d வாரங்கள்",
117
120
  M: "ஒரு மாதம்",
118
121
  MM: "%d மாதங்கள்",
119
122
  y: "ஒரு வருடம்",
@@ -131,7 +134,6 @@ const localeTa = {
131
134
  preParse: (dateString) => dateString.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, (match) => tamilToEnglishNumbersMap[match]),
132
135
  postFormat: (formattedDate) => formattedDate.replace(/\d/g, (match) => englishToTamilNumbersMap[Number(match)])
133
136
  };
134
- var ta_default = localeTa;
135
137
 
136
138
  //#endregion
137
- export { ta_default as default };
139
+ export { localeTa as default };
package/locales/te.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import "../chunks/DqhiVwLi.js";
2
- import "../chunks/MtjcOKi-.js";
3
- import { Locale } from "../chunks/St35qgL0.js";
1
+ import { Locale } from "../plugins/locale/index.js";
4
2
 
5
3
  //#region src/locales/te.d.ts
6
4
  declare const localeTe: Readonly<Locale>;
package/locales/te.js CHANGED
@@ -56,6 +56,7 @@ const localeTe = {
56
56
  "నవ.",
57
57
  "డిసె."
58
58
  ],
59
+ dayOfMonthOrdinalParse: /\d{1,2}వ/,
59
60
  ordinal: (n) => `${n}`,
60
61
  weekStart: 0,
61
62
  yearStart: 1,
@@ -90,6 +91,8 @@ const localeTe = {
90
91
  hh: "%d గంటలు",
91
92
  d: "ఒక రోజు",
92
93
  dd: "%d రోజులు",
94
+ w: "ఒక వారం",
95
+ ww: "%d వారాలు",
93
96
  M: "ఒక నెల",
94
97
  MM: "%d నెలలు",
95
98
  y: "ఒక సంవత్సరం",
@@ -103,7 +106,6 @@ const localeTe = {
103
106
  return "రాత్రి";
104
107
  }
105
108
  };
106
- var te_default = localeTe;
107
109
 
108
110
  //#endregion
109
- export { te_default as default };
111
+ export { localeTe as default };
package/locales/tet.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import "../chunks/DqhiVwLi.js";
2
- import "../chunks/MtjcOKi-.js";
3
- import { Locale } from "../chunks/St35qgL0.js";
1
+ import { Locale } from "../plugins/locale/index.js";
4
2
 
5
3
  //#region src/locales/tet.d.ts
6
4
  declare const localeTet: Readonly<Locale>;
package/locales/tet.js CHANGED
@@ -56,10 +56,10 @@ const localeTet = {
56
56
  "Nov",
57
57
  "Dez"
58
58
  ],
59
+ dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
59
60
  ordinal: (n) => {
60
61
  const numberTens = n % 10;
61
- const output = ~~(n % 100 / 10) === 1 ? "th" : numberTens === 1 ? "st" : numberTens === 2 ? "nd" : numberTens === 3 ? "rd" : "th";
62
- return `${n}${output}`;
62
+ return `${n}${~~(n % 100 / 10) === 1 ? "th" : numberTens === 1 ? "st" : numberTens === 2 ? "nd" : numberTens === 3 ? "rd" : "th"}`;
63
63
  },
64
64
  weekStart: 1,
65
65
  yearStart: 4,
@@ -94,6 +94,8 @@ const localeTet = {
94
94
  hh: "oras %d",
95
95
  d: "loron ida",
96
96
  dd: "loron %d",
97
+ w: "semana ida",
98
+ ww: "semana %d",
97
99
  M: "fulan ida",
98
100
  MM: "fulan %d",
99
101
  y: "tinan ida",
@@ -104,7 +106,6 @@ const localeTet = {
104
106
  return isLowercase ? m.toLowerCase() : m;
105
107
  }
106
108
  };
107
- var tet_default = localeTet;
108
109
 
109
110
  //#endregion
110
- export { tet_default as default };
111
+ export { localeTet as default };
package/locales/tg.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import "../chunks/DqhiVwLi.js";
2
- import "../chunks/MtjcOKi-.js";
3
- import { Locale } from "../chunks/St35qgL0.js";
1
+ import { Locale } from "../plugins/locale/index.js";
4
2
 
5
3
  //#region src/locales/tg.d.ts
6
4
  declare const localeTg: Readonly<Locale>;
package/locales/tg.js CHANGED
@@ -1,36 +1,4 @@
1
1
  //#region src/locales/tg.ts
2
- const monthFormat = [
3
- "январи",
4
- "феврали",
5
- "марти",
6
- "апрели",
7
- "майи",
8
- "июни",
9
- "июли",
10
- "августи",
11
- "сентябри",
12
- "октябри",
13
- "ноябри",
14
- "декабри"
15
- ];
16
- const monthStandalone = [
17
- "январ",
18
- "феврал",
19
- "март",
20
- "апрел",
21
- "май",
22
- "июн",
23
- "июл",
24
- "август",
25
- "сентябр",
26
- "октябр",
27
- "ноябр",
28
- "декабр"
29
- ];
30
- const months = {
31
- standalone: monthStandalone,
32
- format: monthFormat
33
- };
34
2
  const localeTg = {
35
3
  name: "tg",
36
4
  weekdays: [
@@ -60,7 +28,36 @@ const localeTg = {
60
28
  "ҷм",
61
29
  "шб"
62
30
  ],
63
- months,
31
+ months: {
32
+ standalone: [
33
+ "январ",
34
+ "феврал",
35
+ "март",
36
+ "апрел",
37
+ "май",
38
+ "июн",
39
+ "июл",
40
+ "август",
41
+ "сентябр",
42
+ "октябр",
43
+ "ноябр",
44
+ "декабр"
45
+ ],
46
+ format: [
47
+ "январи",
48
+ "феврали",
49
+ "марти",
50
+ "апрели",
51
+ "майи",
52
+ "июни",
53
+ "июли",
54
+ "августи",
55
+ "сентябри",
56
+ "октябри",
57
+ "ноябри",
58
+ "декабри"
59
+ ]
60
+ },
64
61
  monthsShort: [
65
62
  "янв",
66
63
  "фев",
@@ -75,6 +72,7 @@ const localeTg = {
75
72
  "ноя",
76
73
  "дек"
77
74
  ],
75
+ dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/,
78
76
  ordinal: (n) => `${n}`,
79
77
  weekStart: 1,
80
78
  yearStart: 1,
@@ -109,6 +107,8 @@ const localeTg = {
109
107
  hh: "%d соат",
110
108
  d: "як рӯз",
111
109
  dd: "%d рӯз",
110
+ w: "як ҳафта",
111
+ ww: "%d ҳафта",
112
112
  M: "як моҳ",
113
113
  MM: "%d моҳ",
114
114
  y: "як сол",
@@ -122,7 +122,6 @@ const localeTg = {
122
122
  return "шаб";
123
123
  }
124
124
  };
125
- var tg_default = localeTg;
126
125
 
127
126
  //#endregion
128
- export { tg_default as default };
127
+ export { localeTg as default };
package/locales/th.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import "../chunks/DqhiVwLi.js";
2
- import "../chunks/MtjcOKi-.js";
3
- import { Locale } from "../chunks/St35qgL0.js";
1
+ import { Locale } from "../plugins/locale/index.js";
4
2
 
5
3
  //#region src/locales/th.d.ts
6
4
  declare const localeTh: Readonly<Locale>;
package/locales/th.js CHANGED
@@ -56,6 +56,7 @@ const localeTh = {
56
56
  "พ.ย.",
57
57
  "ธ.ค."
58
58
  ],
59
+ dayOfMonthOrdinalParse: /\d{1,2}/,
59
60
  ordinal: (n) => `${n}.`,
60
61
  weekStart: 1,
61
62
  yearStart: 4,
@@ -90,6 +91,8 @@ const localeTh = {
90
91
  hh: "%d ชั่วโมง",
91
92
  d: "1 วัน",
92
93
  dd: "%d วัน",
94
+ w: "1 สัปดาห์",
95
+ ww: "%d สัปดาห์",
93
96
  M: "1 เดือน",
94
97
  MM: "%d เดือน",
95
98
  y: "1 ปี",
@@ -100,7 +103,6 @@ const localeTh = {
100
103
  return "หลังเที่ยง";
101
104
  }
102
105
  };
103
- var th_default = localeTh;
104
106
 
105
107
  //#endregion
106
- export { th_default as default };
108
+ export { localeTh as default };
package/locales/tk.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import "../chunks/DqhiVwLi.js";
2
- import "../chunks/MtjcOKi-.js";
3
- import { Locale } from "../chunks/St35qgL0.js";
1
+ import { Locale } from "../plugins/locale/index.js";
4
2
 
5
3
  //#region src/locales/tk.d.ts
6
4
  declare const localeTk: Readonly<Locale>;
package/locales/tk.js CHANGED
@@ -77,13 +77,13 @@ const localeTk = {
77
77
  "Noý",
78
78
  "Dek"
79
79
  ],
80
+ dayOfMonthOrdinalParse: /\d{1,2}/,
80
81
  ordinal: (n) => {
81
82
  if (n === 0) return `${n}'unjy`;
82
83
  const one = n % 10;
83
84
  const ten = n % 100 - one;
84
85
  const cutoffNumber = n >= 100 ? 100 : null;
85
- const suffix = suffixes[one] || suffixes[ten] || suffixes[cutoffNumber];
86
- return `${n}${suffix}`;
86
+ return `${n}${suffixes[one] || suffixes[ten] || suffixes[cutoffNumber]}`;
87
87
  },
88
88
  weekStart: 1,
89
89
  yearStart: 1,
@@ -118,6 +118,8 @@ const localeTk = {
118
118
  hh: "%d sagat",
119
119
  d: "bir gün",
120
120
  dd: "%d gün",
121
+ w: "bir hepde",
122
+ ww: "%d hepde",
121
123
  M: "bir aý",
122
124
  MM: "%d aý",
123
125
  y: "bir ýyl",
@@ -128,7 +130,6 @@ const localeTk = {
128
130
  return isLowercase ? m.toLowerCase() : m;
129
131
  }
130
132
  };
131
- var tk_default = localeTk;
132
133
 
133
134
  //#endregion
134
- export { tk_default as default };
135
+ export { localeTk as default };
@@ -1,6 +1,4 @@
1
- import "../chunks/DqhiVwLi.js";
2
- import "../chunks/MtjcOKi-.js";
3
- import { Locale } from "../chunks/St35qgL0.js";
1
+ import { Locale } from "../plugins/locale/index.js";
4
2
 
5
3
  //#region src/locales/tl-ph.d.ts
6
4
  declare const localeTlPh: Readonly<Locale>;
package/locales/tl-ph.js CHANGED
@@ -56,6 +56,7 @@ const localeTlPh = {
56
56
  "Nob",
57
57
  "Dis"
58
58
  ],
59
+ dayOfMonthOrdinalParse: /\d{1,2}/,
59
60
  ordinal: (n) => `${n}`,
60
61
  weekStart: 1,
61
62
  yearStart: 4,
@@ -90,6 +91,8 @@ const localeTlPh = {
90
91
  hh: "%d oras",
91
92
  d: "isang araw",
92
93
  dd: "%d araw",
94
+ w: "isang linggo",
95
+ ww: "%d linggo",
93
96
  M: "isang buwan",
94
97
  MM: "%d buwan",
95
98
  y: "isang taon",
@@ -100,7 +103,6 @@ const localeTlPh = {
100
103
  return isLowercase ? m.toLowerCase() : m;
101
104
  }
102
105
  };
103
- var tl_ph_default = localeTlPh;
104
106
 
105
107
  //#endregion
106
- export { tl_ph_default as default };
108
+ export { localeTlPh as default };
package/locales/tlh.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import "../chunks/DqhiVwLi.js";
2
- import "../chunks/MtjcOKi-.js";
3
- import { Locale } from "../chunks/St35qgL0.js";
1
+ import { Locale } from "../plugins/locale/index.js";
4
2
 
5
3
  //#region src/locales/tlh.d.ts
6
4
  declare const localeTlh: Readonly<Locale>;
package/locales/tlh.js CHANGED
@@ -40,6 +40,7 @@ const relativeTimeFormatter = (timeValue, _withoutSuffix, token, _isFuture) => {
40
40
  case "mm": return `${numberNoun} tup`;
41
41
  case "hh": return `${numberNoun} rep`;
42
42
  case "dd": return `${numberNoun} jaj`;
43
+ case "ww": return `${numberNoun} puj`;
43
44
  case "MM": return `${numberNoun} jar`;
44
45
  case "yy": return `${numberNoun} DIS`;
45
46
  default: return "";
@@ -102,6 +103,7 @@ const localeTlh = {
102
103
  "jar wa’maH wa’",
103
104
  "jar wa’maH cha’"
104
105
  ],
106
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
105
107
  ordinal: (n) => `${n}`,
106
108
  weekStart: 1,
107
109
  yearStart: 4,
@@ -136,6 +138,8 @@ const localeTlh = {
136
138
  hh: relativeTimeFormatter,
137
139
  d: "wa’ jaj",
138
140
  dd: relativeTimeFormatter,
141
+ w: "wa’ hogh",
142
+ ww: relativeTimeFormatter,
139
143
  M: "wa’ jar",
140
144
  MM: relativeTimeFormatter,
141
145
  y: "wa’ DIS",
@@ -146,7 +150,6 @@ const localeTlh = {
146
150
  return isLowercase ? m.toLowerCase() : m;
147
151
  }
148
152
  };
149
- var tlh_default = localeTlh;
150
153
 
151
154
  //#endregion
152
- export { tlh_default as default };
155
+ export { localeTlh as default };
package/locales/tr.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import "../chunks/DqhiVwLi.js";
2
- import "../chunks/MtjcOKi-.js";
3
- import { Locale } from "../chunks/St35qgL0.js";
1
+ import { Locale } from "../plugins/locale/index.js";
4
2
 
5
3
  //#region src/locales/tr.d.ts
6
4
  declare const localeTr: Readonly<Locale>;
package/locales/tr.js CHANGED
@@ -77,13 +77,13 @@ const localeTr = {
77
77
  "Kas",
78
78
  "Ara"
79
79
  ],
80
+ dayOfMonthOrdinalParse: /\d{1,2}/,
80
81
  ordinal: (n) => {
81
82
  if (n === 0) return `${n}'ıncı`;
82
83
  const one = n % 10;
83
84
  const ten = n % 100 - one;
84
85
  const cutoffNumber = n >= 100 ? 100 : null;
85
- const suffix = suffixes[one] || suffixes[ten] || suffixes[cutoffNumber];
86
- return `${n}${suffix}`;
86
+ return `${n}${suffixes[one] || suffixes[ten] || suffixes[cutoffNumber]}`;
87
87
  },
88
88
  weekStart: 1,
89
89
  yearStart: 1,
@@ -118,6 +118,8 @@ const localeTr = {
118
118
  hh: "%d saat",
119
119
  d: "bir gün",
120
120
  dd: "%d gün",
121
+ w: "bir hafta",
122
+ ww: "%d hafta",
121
123
  M: "bir ay",
122
124
  MM: "%d ay",
123
125
  y: "bir yıl",
@@ -128,7 +130,6 @@ const localeTr = {
128
130
  return isLowercase ? "ös" : "ÖS";
129
131
  }
130
132
  };
131
- var tr_default = localeTr;
132
133
 
133
134
  //#endregion
134
- export { tr_default as default };
135
+ export { localeTr as default };
package/locales/tzl.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import "../chunks/DqhiVwLi.js";
2
- import "../chunks/MtjcOKi-.js";
3
- import { Locale } from "../chunks/St35qgL0.js";
1
+ import { Locale } from "../plugins/locale/index.js";
4
2
 
5
3
  //#region src/locales/tzl.d.ts
6
4
  declare const localeTzl: Readonly<Locale>;
package/locales/tzl.js CHANGED
@@ -73,6 +73,7 @@ const localeTzl = {
73
73
  "Noe",
74
74
  "Zec"
75
75
  ],
76
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
76
77
  ordinal: (n) => `${n}.`,
77
78
  weekStart: 1,
78
79
  yearStart: 4,
@@ -107,6 +108,8 @@ const localeTzl = {
107
108
  hh: relativeTimeFormatter,
108
109
  d: relativeTimeFormatter,
109
110
  dd: relativeTimeFormatter,
111
+ w: "a week",
112
+ ww: "%d weeks",
110
113
  M: relativeTimeFormatter,
111
114
  MM: relativeTimeFormatter,
112
115
  y: relativeTimeFormatter,
@@ -117,7 +120,6 @@ const localeTzl = {
117
120
  return isLowercase ? "d'a" : "D'A";
118
121
  }
119
122
  };
120
- var tzl_default = localeTzl;
121
123
 
122
124
  //#endregion
123
- export { tzl_default as default };
125
+ export { localeTzl as default };
@@ -1,6 +1,4 @@
1
- import "../chunks/DqhiVwLi.js";
2
- import "../chunks/MtjcOKi-.js";
3
- import { Locale } from "../chunks/St35qgL0.js";
1
+ import { Locale } from "../plugins/locale/index.js";
4
2
 
5
3
  //#region src/locales/tzm-latn.d.ts
6
4
  /**
@@ -1,11 +1,10 @@
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 { tzm_default } from "../chunks/l2Rxo2H0.js";
1
+ import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
2
+ import localeTzm from "./tzm.js";
7
3
 
8
4
  //#region src/locales/tzm-latn.ts
5
+ /**
6
+ * Central Atlas Tamazight Latin [tzm-LATN]
7
+ */
9
8
  const calendar = {
10
9
  sameDay: "[asdkh g] LT",
11
10
  nextDay: "[aska g] LT",
@@ -14,7 +13,7 @@ const calendar = {
14
13
  lastWeek: "dddd [g] LT",
15
14
  sameElse: "L"
16
15
  };
17
- const localeTzmLatn = cloneLocale(tzm_default);
16
+ const localeTzmLatn = cloneLocale(localeTzm);
18
17
  const weekdays = [
19
18
  "asamas",
20
19
  "aynas",
@@ -49,6 +48,8 @@ const relativeTime = {
49
48
  hh: "%d tassaɛin",
50
49
  d: "ass",
51
50
  dd: "%d ossan",
51
+ w: "ddurt",
52
+ ww: "%d smanat",
52
53
  M: "ayowr",
53
54
  MM: "%d iyyirn",
54
55
  y: "asgas",
@@ -62,7 +63,6 @@ setLocaleProperty(localeTzmLatn, "months", months);
62
63
  setLocaleProperty(localeTzmLatn, "monthsShort", months);
63
64
  setLocaleProperty(localeTzmLatn, "calendar", calendar);
64
65
  setLocaleProperty(localeTzmLatn, "relativeTime", relativeTime);
65
- var tzm_latn_default = localeTzmLatn;
66
66
 
67
67
  //#endregion
68
- export { tzm_latn_default as default };
68
+ export { localeTzmLatn as default };
package/locales/tzm.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import "../chunks/DqhiVwLi.js";
2
- import "../chunks/MtjcOKi-.js";
3
- import { Locale } from "../chunks/St35qgL0.js";
1
+ import { Locale } from "../plugins/locale/index.js";
4
2
 
5
3
  //#region src/locales/tzm.d.ts
6
4
  declare const localeTzm: Readonly<Locale>;
package/locales/tzm.js CHANGED
@@ -1,3 +1,108 @@
1
- import { tzm_default } from "../chunks/l2Rxo2H0.js";
1
+ //#region src/locales/tzm.ts
2
+ const localeTzm = {
3
+ name: "tzm",
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: 6,
62
+ yearStart: 1,
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: "[ⴰⵙⴷⵅ ⴴ] 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 oⵙⵙⴰⵏ",
94
+ w: "ⴷⴷⵓⵔⵜ",
95
+ ww: "%d ⵙⵎⴰⵏⴰⵜ",
96
+ M: "ⴰⵢoⵓⵔ",
97
+ MM: "%d ⵉⵢⵢⵉⵔⵏ",
98
+ y: "ⴰⵙⴳⴰⵙ",
99
+ yy: "%d ⵉⵙⴳⴰⵙⵏ"
100
+ },
101
+ meridiem: (hour, _minute, isLowercase) => {
102
+ const m = hour < 12 ? "AM" : "PM";
103
+ return isLowercase ? m.toLowerCase() : m;
104
+ }
105
+ };
2
106
 
3
- export { tzm_default as default };
107
+ //#endregion
108
+ export { localeTzm as default };
@@ -1,6 +1,4 @@
1
- import "../chunks/DqhiVwLi.js";
2
- import "../chunks/MtjcOKi-.js";
3
- import { Locale } from "../chunks/St35qgL0.js";
1
+ import { Locale } from "../plugins/locale/index.js";
4
2
 
5
3
  //#region src/locales/ug-cn.d.ts
6
4
  declare const localeUgCn: Readonly<Locale>;