esday 0.6.2 → 1.0.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 (367) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/chunks/{xt8C2lbv.js → CNIy0PdR.js} +3 -5
  3. package/chunks/{BkjWOpMU.js → CeKusvtV.js} +10 -19
  4. package/chunks/{CXWzCl3n.js → D2Xh96oz.js} +10 -21
  5. package/chunks/{AyQQ6US-.js → DMdr1ZL1.js} +3 -5
  6. package/chunks/{CdvTtmWL.js → DXFoLbHM.js} +1 -2
  7. package/chunks/{C5qDMHT5.d.ts → Dc43cziu.d.ts} +1 -1
  8. package/chunks/{CODi8AFH.d.ts → DuP2qVZn.d.ts} +6 -1
  9. package/chunks/{Shk32pTP.js → i3oEJgL3.js} +1 -2
  10. package/index.d.ts +3 -0
  11. package/index.js +2 -0
  12. package/locales/{af.d.mts → af.d.ts} +1 -1
  13. package/locales/{af.mjs → af.js} +1 -2
  14. package/locales/{am.d.mts → am.d.ts} +1 -1
  15. package/locales/{am.mjs → am.js} +1 -2
  16. package/locales/{ar-dz.d.mts → ar-dz.d.ts} +1 -1
  17. package/locales/{ar-dz.mjs → ar-dz.js} +3 -5
  18. package/locales/{ar-iq.d.mts → ar-iq.d.ts} +1 -1
  19. package/locales/{ar-iq.mjs → ar-iq.js} +3 -5
  20. package/locales/{ar-kw.d.mts → ar-kw.d.ts} +1 -1
  21. package/locales/{ar-kw.mjs → ar-kw.js} +3 -5
  22. package/locales/{ar-ly.d.mts → ar-ly.d.ts} +1 -1
  23. package/locales/{ar-ly.mjs → ar-ly.js} +3 -5
  24. package/locales/{ar-ma.d.mts → ar-ma.d.ts} +1 -1
  25. package/locales/{ar-ma.mjs → ar-ma.js} +3 -5
  26. package/locales/{ar-sa.d.mts → ar-sa.d.ts} +1 -1
  27. package/locales/{ar-sa.mjs → ar-sa.js} +3 -5
  28. package/locales/{ar-tn.d.mts → ar-tn.d.ts} +1 -1
  29. package/locales/{ar-tn.mjs → ar-tn.js} +3 -5
  30. package/locales/{ar.d.mts → ar.d.ts} +1 -1
  31. package/locales/{ar.mjs → ar.js} +1 -2
  32. package/locales/{az.d.mts → az.d.ts} +1 -1
  33. package/locales/{az.mjs → az.js} +1 -2
  34. package/locales/{be.d.mts → be.d.ts} +1 -1
  35. package/locales/{be.mjs → be.js} +1 -2
  36. package/locales/{bg.d.mts → bg.d.ts} +1 -1
  37. package/locales/{bg.mjs → bg.js} +1 -2
  38. package/locales/{bi.d.mts → bi.d.ts} +1 -1
  39. package/locales/{bi.mjs → bi.js} +1 -2
  40. package/locales/{bm.d.mts → bm.d.ts} +1 -1
  41. package/locales/{bm.mjs → bm.js} +1 -2
  42. package/locales/{bn-bd.d.mts → bn-bd.d.ts} +1 -1
  43. package/locales/{bn-bd.mjs → bn-bd.js} +3 -5
  44. package/locales/{bn.d.mts → bn.d.ts} +1 -1
  45. package/locales/{bn.mjs → bn.js} +1 -2
  46. package/locales/{bo.d.mts → bo.d.ts} +1 -1
  47. package/locales/{bo.mjs → bo.js} +1 -2
  48. package/locales/{br.d.mts → br.d.ts} +1 -1
  49. package/locales/{br.mjs → br.js} +1 -2
  50. package/locales/{bs.d.mts → bs.d.ts} +1 -1
  51. package/locales/{bs.mjs → bs.js} +1 -2
  52. package/locales/{ca.d.mts → ca.d.ts} +1 -1
  53. package/locales/{ca.mjs → ca.js} +1 -2
  54. package/locales/{cs.d.mts → cs.d.ts} +1 -1
  55. package/locales/{cs.mjs → cs.js} +1 -2
  56. package/locales/{cv.d.mts → cv.d.ts} +1 -1
  57. package/locales/{cv.mjs → cv.js} +1 -2
  58. package/locales/{cy.d.mts → cy.d.ts} +1 -1
  59. package/locales/{cy.mjs → cy.js} +1 -2
  60. package/locales/{da.d.mts → da.d.ts} +1 -1
  61. package/locales/{da.mjs → da.js} +1 -2
  62. package/locales/{de-at.d.mts → de-at.d.ts} +1 -1
  63. package/locales/{de-at.mjs → de-at.js} +3 -5
  64. package/locales/{de-ch.d.mts → de-ch.d.ts} +1 -1
  65. package/locales/{de-ch.mjs → de-ch.js} +3 -5
  66. package/locales/{de.d.mts → de.d.ts} +1 -1
  67. package/locales/{de.mjs → de.js} +1 -2
  68. package/locales/{dv.d.mts → dv.d.ts} +1 -1
  69. package/locales/{dv.mjs → dv.js} +1 -2
  70. package/locales/{el.d.mts → el.d.ts} +1 -1
  71. package/locales/{el.mjs → el.js} +1 -2
  72. package/locales/{en-au.d.mts → en-au.d.ts} +1 -1
  73. package/locales/{en-au.mjs → en-au.js} +3 -5
  74. package/locales/{en-ca.d.mts → en-ca.d.ts} +1 -1
  75. package/locales/{en-ca.mjs → en-ca.js} +3 -5
  76. package/locales/{en-gb.d.mts → en-gb.d.ts} +1 -1
  77. package/locales/{en-gb.mjs → en-gb.js} +3 -5
  78. package/locales/{en-ie.d.mts → en-ie.d.ts} +1 -1
  79. package/locales/{en-ie.mjs → en-ie.js} +3 -5
  80. package/locales/{en-il.d.mts → en-il.d.ts} +1 -1
  81. package/locales/{en-il.mjs → en-il.js} +3 -5
  82. package/locales/{en-in.d.mts → en-in.d.ts} +1 -1
  83. package/locales/{en-in.mjs → en-in.js} +3 -5
  84. package/locales/{en-nz.d.mts → en-nz.d.ts} +1 -1
  85. package/locales/{en-nz.mjs → en-nz.js} +3 -5
  86. package/locales/{en-sg.d.mts → en-sg.d.ts} +1 -1
  87. package/locales/{en-sg.mjs → en-sg.js} +3 -5
  88. package/locales/{en-tt.d.mts → en-tt.d.ts} +1 -1
  89. package/locales/{en-tt.mjs → en-tt.js} +3 -5
  90. package/locales/{en-us.d.mts → en-us.d.ts} +1 -1
  91. package/locales/{en-us.mjs → en-us.js} +3 -5
  92. package/locales/{en.d.mts → en.d.ts} +1 -1
  93. package/locales/{en.mjs → en.js} +1 -2
  94. package/locales/{eo.d.mts → eo.d.ts} +1 -1
  95. package/locales/{eo.mjs → eo.js} +1 -2
  96. package/locales/{es-do.d.mts → es-do.d.ts} +1 -1
  97. package/locales/{es-do.mjs → es-do.js} +3 -5
  98. package/locales/{es-mx.d.mts → es-mx.d.ts} +1 -1
  99. package/locales/{es-mx.mjs → es-mx.js} +3 -5
  100. package/locales/{es-pr.d.mts → es-pr.d.ts} +1 -1
  101. package/locales/{es-pr.mjs → es-pr.js} +3 -5
  102. package/locales/{es-us.d.mts → es-us.d.ts} +1 -1
  103. package/locales/{es-us.mjs → es-us.js} +3 -5
  104. package/locales/{es.d.mts → es.d.ts} +1 -1
  105. package/locales/{es.mjs → es.js} +1 -2
  106. package/locales/{et.d.mts → et.d.ts} +1 -1
  107. package/locales/{et.mjs → et.js} +1 -2
  108. package/locales/{eu.d.mts → eu.d.ts} +1 -1
  109. package/locales/{eu.mjs → eu.js} +1 -2
  110. package/locales/fa.d.ts +6 -0
  111. package/locales/{fa.mjs → fa.js} +1 -2
  112. package/locales/{fi.d.mts → fi.d.ts} +1 -1
  113. package/locales/{fi.mjs → fi.js} +1 -2
  114. package/locales/{fil.d.mts → fil.d.ts} +1 -1
  115. package/locales/{fil.mjs → fil.js} +1 -2
  116. package/locales/{fo.d.mts → fo.d.ts} +1 -1
  117. package/locales/{fo.mjs → fo.js} +1 -2
  118. package/locales/{fr-ca.d.mts → fr-ca.d.ts} +1 -1
  119. package/locales/{fr-ca.mjs → fr-ca.js} +3 -5
  120. package/locales/{fr-ch.d.mts → fr-ch.d.ts} +1 -1
  121. package/locales/{fr-ch.mjs → fr-ch.js} +3 -5
  122. package/locales/{fr.d.mts → fr.d.ts} +1 -1
  123. package/locales/{fr.mjs → fr.js} +1 -2
  124. package/locales/{fy.d.mts → fy.d.ts} +1 -1
  125. package/locales/{fy.mjs → fy.js} +1 -2
  126. package/locales/{ga.d.mts → ga.d.ts} +1 -1
  127. package/locales/{ga.mjs → ga.js} +1 -2
  128. package/locales/{gd.d.mts → gd.d.ts} +1 -1
  129. package/locales/{gd.mjs → gd.js} +1 -2
  130. package/locales/{gl.d.mts → gl.d.ts} +1 -1
  131. package/locales/{gl.mjs → gl.js} +1 -2
  132. package/locales/{gom-deva.d.mts → gom-deva.d.ts} +1 -1
  133. package/locales/{gom-deva.mjs → gom-deva.js} +1 -2
  134. package/locales/{gom-latn.d.mts → gom-latn.d.ts} +1 -1
  135. package/locales/{gom-latn.mjs → gom-latn.js} +1 -2
  136. package/locales/{gu.d.mts → gu.d.ts} +1 -1
  137. package/locales/{gu.mjs → gu.js} +1 -2
  138. package/locales/{he.d.mts → he.d.ts} +1 -1
  139. package/locales/{he.mjs → he.js} +1 -2
  140. package/locales/{hi.d.mts → hi.d.ts} +1 -1
  141. package/locales/{hi.mjs → hi.js} +1 -2
  142. package/locales/{hr.d.mts → hr.d.ts} +1 -1
  143. package/locales/{hr.mjs → hr.js} +1 -2
  144. package/locales/{ht.d.mts → ht.d.ts} +1 -1
  145. package/locales/{ht.mjs → ht.js} +1 -2
  146. package/locales/{hu.d.mts → hu.d.ts} +1 -1
  147. package/locales/{hu.mjs → hu.js} +1 -2
  148. package/locales/{hy-am.d.mts → hy-am.d.ts} +1 -1
  149. package/locales/{hy-am.mjs → hy-am.js} +1 -2
  150. package/locales/{id.d.mts → id.d.ts} +1 -1
  151. package/locales/{id.mjs → id.js} +1 -2
  152. package/locales/{is.d.mts → is.d.ts} +1 -1
  153. package/locales/{is.mjs → is.js} +1 -2
  154. package/locales/{it-ch.d.mts → it-ch.d.ts} +1 -1
  155. package/locales/{it-ch.mjs → it-ch.js} +3 -5
  156. package/locales/{it.d.mts → it.d.ts} +1 -1
  157. package/locales/{it.mjs → it.js} +1 -2
  158. package/locales/{ja.d.mts → ja.d.ts} +1 -1
  159. package/locales/{ja.mjs → ja.js} +1 -2
  160. package/locales/jv.d.ts +6 -0
  161. package/locales/{jv.mjs → jv.js} +1 -2
  162. package/locales/{ka.d.mts → ka.d.ts} +1 -1
  163. package/locales/{ka.mjs → ka.js} +1 -2
  164. package/locales/{kk.d.mts → kk.d.ts} +1 -1
  165. package/locales/{kk.mjs → kk.js} +1 -2
  166. package/locales/{km.d.mts → km.d.ts} +1 -1
  167. package/locales/{km.mjs → km.js} +1 -2
  168. package/locales/{kn.d.mts → kn.d.ts} +1 -1
  169. package/locales/{kn.mjs → kn.js} +1 -2
  170. package/locales/{ko.d.mts → ko.d.ts} +1 -1
  171. package/locales/{ko.mjs → ko.js} +1 -2
  172. package/locales/{ku.d.mts → ku.d.ts} +1 -1
  173. package/locales/{ku.mjs → ku.js} +1 -2
  174. package/locales/{ky.d.mts → ky.d.ts} +1 -1
  175. package/locales/{ky.mjs → ky.js} +1 -2
  176. package/locales/{lb.d.mts → lb.d.ts} +1 -1
  177. package/locales/{lb.mjs → lb.js} +1 -2
  178. package/locales/{lo.d.mts → lo.d.ts} +1 -1
  179. package/locales/{lo.mjs → lo.js} +1 -2
  180. package/locales/lt.d.ts +6 -0
  181. package/locales/{lt.mjs → lt.js} +1 -2
  182. package/locales/lv.d.ts +6 -0
  183. package/locales/{lv.mjs → lv.js} +1 -2
  184. package/locales/{me.d.mts → me.d.ts} +1 -1
  185. package/locales/{me.mjs → me.js} +1 -2
  186. package/locales/{mi.d.mts → mi.d.ts} +1 -1
  187. package/locales/{mi.mjs → mi.js} +1 -2
  188. package/locales/{mk.d.mts → mk.d.ts} +1 -1
  189. package/locales/{mk.mjs → mk.js} +1 -2
  190. package/locales/{ml.d.mts → ml.d.ts} +1 -1
  191. package/locales/{ml.mjs → ml.js} +1 -2
  192. package/locales/{mn.d.mts → mn.d.ts} +1 -1
  193. package/locales/{mn.mjs → mn.js} +1 -2
  194. package/locales/{mr.d.mts → mr.d.ts} +1 -1
  195. package/locales/{mr.mjs → mr.js} +1 -2
  196. package/locales/{ms-my.d.mts → ms-my.d.ts} +1 -1
  197. package/locales/{ms-my.mjs → ms-my.js} +3 -5
  198. package/locales/{ms.d.mts → ms.d.ts} +1 -1
  199. package/locales/{ms.mjs → ms.js} +1 -2
  200. package/locales/{mt.d.mts → mt.d.ts} +1 -1
  201. package/locales/{mt.mjs → mt.js} +1 -2
  202. package/locales/{my.d.mts → my.d.ts} +1 -1
  203. package/locales/{my.mjs → my.js} +1 -2
  204. package/locales/{nb.d.mts → nb.d.ts} +1 -1
  205. package/locales/{nb.mjs → nb.js} +1 -2
  206. package/locales/{ne.d.mts → ne.d.ts} +1 -1
  207. package/locales/{ne.mjs → ne.js} +1 -2
  208. package/locales/{nl-be.d.mts → nl-be.d.ts} +1 -1
  209. package/locales/{nl-be.mjs → nl-be.js} +3 -5
  210. package/locales/{nl.d.mts → nl.d.ts} +1 -1
  211. package/locales/{nl.mjs → nl.js} +1 -2
  212. package/locales/{nn.d.mts → nn.d.ts} +1 -1
  213. package/locales/{nn.mjs → nn.js} +1 -2
  214. package/locales/{oc-lnc.d.mts → oc-lnc.d.ts} +1 -1
  215. package/locales/{oc-lnc.mjs → oc-lnc.js} +1 -2
  216. package/locales/{pa-in.d.mts → pa-in.d.ts} +1 -1
  217. package/locales/{pa-in.mjs → pa-in.js} +1 -2
  218. package/locales/{pl.d.mts → pl.d.ts} +1 -1
  219. package/locales/{pl.mjs → pl.js} +1 -2
  220. package/locales/{pt-br.d.mts → pt-br.d.ts} +1 -1
  221. package/locales/{pt-br.mjs → pt-br.js} +3 -5
  222. package/locales/{pt.d.mts → pt.d.ts} +1 -1
  223. package/locales/{pt.mjs → pt.js} +1 -2
  224. package/locales/{rn.d.mts → rn.d.ts} +1 -1
  225. package/locales/{rn.mjs → rn.js} +1 -2
  226. package/locales/{ro.d.mts → ro.d.ts} +1 -1
  227. package/locales/{ro.mjs → ro.js} +1 -2
  228. package/locales/{ru.d.mts → ru.d.ts} +1 -1
  229. package/locales/{ru.mjs → ru.js} +1 -2
  230. package/locales/{rw.d.mts → rw.d.ts} +1 -1
  231. package/locales/{rw.mjs → rw.js} +1 -2
  232. package/locales/{sd.d.mts → sd.d.ts} +1 -1
  233. package/locales/{sd.mjs → sd.js} +1 -2
  234. package/locales/{se.d.mts → se.d.ts} +1 -1
  235. package/locales/{se.mjs → se.js} +1 -2
  236. package/locales/{si.d.mts → si.d.ts} +1 -1
  237. package/locales/{si.mjs → si.js} +1 -2
  238. package/locales/{sk.d.mts → sk.d.ts} +1 -1
  239. package/locales/{sk.mjs → sk.js} +1 -2
  240. package/locales/{sl.d.mts → sl.d.ts} +1 -1
  241. package/locales/{sl.mjs → sl.js} +1 -2
  242. package/locales/{sq.d.mts → sq.d.ts} +1 -1
  243. package/locales/{sq.mjs → sq.js} +1 -2
  244. package/locales/{sr-cyrl.d.mts → sr-cyrl.d.ts} +1 -1
  245. package/locales/{sr-cyrl.mjs → sr-cyrl.js} +3 -5
  246. package/locales/{sr.d.mts → sr.d.ts} +1 -1
  247. package/locales/{sr.mjs → sr.js} +1 -2
  248. package/locales/{ss.d.mts → ss.d.ts} +1 -1
  249. package/locales/{ss.mjs → ss.js} +1 -2
  250. package/locales/{sv-fi.d.mts → sv-fi.d.ts} +1 -1
  251. package/locales/{sv-fi.mjs → sv-fi.js} +3 -5
  252. package/locales/{sv.d.mts → sv.d.ts} +1 -1
  253. package/locales/{sv.mjs → sv.js} +1 -2
  254. package/locales/{sw.d.mts → sw.d.ts} +1 -1
  255. package/locales/{sw.mjs → sw.js} +1 -2
  256. package/locales/{ta.d.mts → ta.d.ts} +1 -1
  257. package/locales/{ta.mjs → ta.js} +1 -2
  258. package/locales/{te.d.mts → te.d.ts} +1 -1
  259. package/locales/{te.mjs → te.js} +1 -2
  260. package/locales/{tet.d.mts → tet.d.ts} +1 -1
  261. package/locales/{tet.mjs → tet.js} +1 -2
  262. package/locales/{tg.d.mts → tg.d.ts} +1 -1
  263. package/locales/{tg.mjs → tg.js} +1 -2
  264. package/locales/{th.d.mts → th.d.ts} +1 -1
  265. package/locales/{th.mjs → th.js} +1 -2
  266. package/locales/{tk.d.mts → tk.d.ts} +1 -1
  267. package/locales/{tk.mjs → tk.js} +1 -2
  268. package/locales/{tl-ph.d.mts → tl-ph.d.ts} +1 -1
  269. package/locales/{tl-ph.mjs → tl-ph.js} +1 -2
  270. package/locales/{tlh.d.mts → tlh.d.ts} +1 -1
  271. package/locales/{tlh.mjs → tlh.js} +1 -2
  272. package/locales/{tr.d.mts → tr.d.ts} +1 -1
  273. package/locales/{tr.mjs → tr.js} +1 -2
  274. package/locales/{tzl.d.mts → tzl.d.ts} +1 -1
  275. package/locales/{tzl.mjs → tzl.js} +1 -2
  276. package/locales/{tzm-latn.d.mts → tzm-latn.d.ts} +1 -1
  277. package/locales/{tzm-latn.mjs → tzm-latn.js} +3 -5
  278. package/locales/{tzm.d.mts → tzm.d.ts} +1 -1
  279. package/locales/{tzm.mjs → tzm.js} +1 -2
  280. package/locales/{ug-cn.d.mts → ug-cn.d.ts} +1 -1
  281. package/locales/{ug-cn.mjs → ug-cn.js} +1 -2
  282. package/locales/{uk.d.mts → uk.d.ts} +1 -1
  283. package/locales/{uk.mjs → uk.js} +1 -2
  284. package/locales/{ur.d.mts → ur.d.ts} +1 -1
  285. package/locales/{ur.mjs → ur.js} +1 -2
  286. package/locales/{uz-latn.d.mts → uz-latn.d.ts} +1 -1
  287. package/locales/{uz-latn.mjs → uz-latn.js} +3 -5
  288. package/locales/{uz.d.mts → uz.d.ts} +1 -1
  289. package/locales/{uz.mjs → uz.js} +1 -2
  290. package/locales/{vi.d.mts → vi.d.ts} +1 -1
  291. package/locales/{vi.mjs → vi.js} +1 -2
  292. package/locales/{x-pseudo.d.mts → x-pseudo.d.ts} +1 -1
  293. package/locales/{x-pseudo.mjs → x-pseudo.js} +1 -2
  294. package/locales/{yo.d.mts → yo.d.ts} +1 -1
  295. package/locales/{yo.mjs → yo.js} +1 -2
  296. package/locales/{zh-cn.d.mts → zh-cn.d.ts} +1 -1
  297. package/locales/{zh-cn.mjs → zh-cn.js} +3 -5
  298. package/locales/{zh-hk.d.mts → zh-hk.d.ts} +1 -1
  299. package/locales/{zh-hk.mjs → zh-hk.js} +3 -5
  300. package/locales/{zh-mo.d.mts → zh-mo.d.ts} +1 -1
  301. package/locales/{zh-mo.mjs → zh-mo.js} +3 -5
  302. package/locales/{zh-tw.d.mts → zh-tw.d.ts} +1 -1
  303. package/locales/{zh-tw.mjs → zh-tw.js} +3 -5
  304. package/locales/{zh.d.mts → zh.d.ts} +1 -1
  305. package/locales/{zh.mjs → zh.js} +1 -2
  306. package/package.json +20 -20
  307. package/plugins/advancedFormat/{index.d.mts → index.d.ts} +1 -1
  308. package/plugins/advancedFormat/{index.mjs → index.js} +2 -4
  309. package/plugins/advancedParse/{index.d.mts → index.d.ts} +1 -1
  310. package/plugins/advancedParse/{index.mjs → index.js} +3 -5
  311. package/plugins/calendar/{index.d.mts → index.d.ts} +2 -2
  312. package/plugins/calendar/{index.mjs → index.js} +1 -2
  313. package/plugins/dayOfYear/{index.d.mts → index.d.ts} +1 -1
  314. package/plugins/dayOfYear/{index.mjs → index.js} +1 -2
  315. package/plugins/duration/{index.d.mts → index.d.ts} +3 -3
  316. package/plugins/duration/{index.mjs → index.js} +9 -14
  317. package/plugins/isBetween/{index.d.mts → index.d.ts} +1 -1
  318. package/plugins/isBetween/{index.mjs → index.js} +2 -4
  319. package/plugins/isLeapYear/{index.d.mts → index.d.ts} +1 -1
  320. package/plugins/isLeapYear/{index.mjs → index.js} +1 -2
  321. package/plugins/isSameOrAfter/{index.d.mts → index.d.ts} +1 -1
  322. package/plugins/isSameOrAfter/{index.mjs → index.js} +1 -2
  323. package/plugins/isSameOrBefore/{index.d.mts → index.d.ts} +1 -1
  324. package/plugins/isSameOrBefore/{index.mjs → index.js} +1 -2
  325. package/plugins/isToday/{index.d.mts → index.d.ts} +1 -1
  326. package/plugins/isToday/{index.mjs → index.js} +2 -4
  327. package/plugins/isTomorrow/{index.d.mts → index.d.ts} +1 -1
  328. package/plugins/isTomorrow/{index.mjs → index.js} +2 -4
  329. package/plugins/isYesterday/{index.d.mts → index.d.ts} +1 -1
  330. package/plugins/isYesterday/{index.mjs → index.js} +2 -4
  331. package/plugins/isoWeek/{index.d.mts → index.d.ts} +1 -1
  332. package/plugins/isoWeek/{index.mjs → index.js} +5 -7
  333. package/plugins/locale/{index.d.mts → index.d.ts} +4 -1
  334. package/plugins/locale/{index.mjs → index.js} +7 -9
  335. package/plugins/localeData/{index.d.mts → index.d.ts} +1 -1
  336. package/plugins/localeData/{index.mjs → index.js} +2 -4
  337. package/plugins/localizedFormat/{index.d.mts → index.d.ts} +1 -1
  338. package/plugins/localizedFormat/{index.mjs → index.js} +3 -5
  339. package/plugins/localizedParse/{index.d.mts → index.d.ts} +1 -1
  340. package/plugins/localizedParse/{index.mjs → index.js} +2 -4
  341. package/plugins/minMax/{index.d.mts → index.d.ts} +1 -1
  342. package/plugins/minMax/{index.mjs → index.js} +2 -4
  343. package/plugins/objectSupport/{index.d.mts → index.d.ts} +1 -1
  344. package/plugins/objectSupport/{index.mjs → index.js} +5 -7
  345. package/plugins/pluralGetSet/{index.d.mts → index.d.ts} +1 -1
  346. package/plugins/pluralGetSet/{index.mjs → index.js} +1 -2
  347. package/plugins/quarterOfYear/{index.d.mts → index.d.ts} +1 -1
  348. package/plugins/quarterOfYear/{index.mjs → index.js} +4 -6
  349. package/plugins/relativeTime/{index.d.mts → index.d.ts} +2 -2
  350. package/plugins/relativeTime/{index.mjs → index.js} +3 -5
  351. package/plugins/timezone/{index.d.mts → index.d.ts} +1 -1
  352. package/plugins/timezone/{index.mjs → index.js} +13 -15
  353. package/plugins/toArray/{index.d.mts → index.d.ts} +1 -1
  354. package/plugins/toArray/{index.mjs → index.js} +1 -2
  355. package/plugins/toObject/{index.d.mts → index.d.ts} +1 -1
  356. package/plugins/toObject/{index.mjs → index.js} +1 -2
  357. package/plugins/utc/{index.d.mts → index.d.ts} +6 -1
  358. package/plugins/utc/{index.mjs → index.js} +10 -12
  359. package/plugins/week/{index.d.mts → index.d.ts} +1 -1
  360. package/plugins/week/{index.mjs → index.js} +6 -8
  361. package/index.d.mts +0 -3
  362. package/index.mjs +0 -3
  363. package/locales/fa.d.mts +0 -6
  364. package/locales/jv.d.mts +0 -6
  365. package/locales/lt.d.mts +0 -6
  366. package/locales/lv.d.mts +0 -6
  367. package/chunks/{v_QBn7Xm.js → DuRKUq5K.js} +1 -2
@@ -1,6 +1,6 @@
1
- import { E as UnitIsoWeeks, I as UnitTypePlurals, S as UnitDates, o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
2
- import { Locale } from "../locale/index.mjs";
3
- import { ThresholdRelativeTime } from "../relativeTime/index.mjs";
1
+ import { C as UnitDates, D as UnitIsoWeeks, L as UnitTypePlurals, s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
+ import { Locale } from "../locale/index.js";
3
+ import { ThresholdRelativeTime } from "../relativeTime/index.js";
4
4
 
5
5
  //#region src/plugins/duration/index.d.ts
6
6
  declare module 'esday' {
@@ -1,26 +1,22 @@
1
- import { i as INVALID_DATE_STRING } from "../../chunks/BkjWOpMU.js";
2
- import { a as isUndefined, r as isObject } from "../../chunks/v_QBn7Xm.js";
3
- import { n as normalizeUnitWithPlurals, r as normalizeUnitWithPluralsToPlural } from "../../chunks/AyQQ6US-.js";
4
- import { n as padStart } from "../../chunks/CdvTtmWL.js";
5
- import { i as _checkPrivateRedeclaration, r as _assertClassBrand, t as esday } from "../../chunks/CXWzCl3n.js";
6
-
7
- //#region \0@oxc-project+runtime@0.112.0/helpers/classPrivateFieldInitSpec.js
1
+ import { r as INVALID_DATE_STRING } from "../../chunks/CeKusvtV.js";
2
+ import { a as isUndefined, r as isObject } from "../../chunks/DuRKUq5K.js";
3
+ import { n as normalizeUnitWithPlurals, r as normalizeUnitWithPluralsToPlural } from "../../chunks/DMdr1ZL1.js";
4
+ import { n as padStart } from "../../chunks/DXFoLbHM.js";
5
+ import { i as _checkPrivateRedeclaration, r as _assertClassBrand, t as esday } from "../../chunks/D2Xh96oz.js";
6
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/classPrivateFieldInitSpec.js
8
7
  function _classPrivateFieldInitSpec(e, t, a) {
9
8
  _checkPrivateRedeclaration(e, t), t.set(e, a);
10
9
  }
11
-
12
10
  //#endregion
13
- //#region \0@oxc-project+runtime@0.112.0/helpers/classPrivateFieldSet2.js
11
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/classPrivateFieldSet2.js
14
12
  function _classPrivateFieldSet2(s, a, r) {
15
13
  return s.set(_assertClassBrand(s, a), r), r;
16
14
  }
17
-
18
15
  //#endregion
19
- //#region \0@oxc-project+runtime@0.112.0/helpers/classPrivateFieldGet2.js
16
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/classPrivateFieldGet2.js
20
17
  function _classPrivateFieldGet2(s, a) {
21
18
  return s.get(_assertClassBrand(s, a));
22
19
  }
23
-
24
20
  //#endregion
25
21
  //#region src/plugins/duration/index.ts
26
22
  /** = 0:
@@ -472,6 +468,5 @@ const durationPlugin = (_, _dayClass, dayFactory) => {
472
468
  return d instanceof DurationImpl;
473
469
  };
474
470
  };
475
-
476
471
  //#endregion
477
- export { durationPlugin as default };
472
+ export { durationPlugin as default };
@@ -1,4 +1,4 @@
1
- import { M as UnitType, o as EsDayPlugin, r as DateType } from "../../chunks/CODi8AFH.js";
1
+ import { N as UnitType, i as DateType, s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/isBetween/index.d.ts
4
4
  declare module 'esday' {
@@ -1,5 +1,4 @@
1
- import { p as constants_default } from "../../chunks/BkjWOpMU.js";
2
-
1
+ import { f as constants_default } from "../../chunks/CeKusvtV.js";
3
2
  //#region src/plugins/isBetween/index.ts
4
3
  const isBetweenPlugin = (_, dayClass) => {
5
4
  dayClass.prototype.isBetween = function(from, to, unit = constants_default.MS, inclusivity = "()") {
@@ -10,6 +9,5 @@ const isBetweenPlugin = (_, dayClass) => {
10
9
  return isAfterFrom && isBeforeTo;
11
10
  };
12
11
  };
13
-
14
12
  //#endregion
15
- export { isBetweenPlugin as default };
13
+ export { isBetweenPlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/isLeapYear/index.d.ts
4
4
  declare module 'esday' {
@@ -5,6 +5,5 @@ const isLeapYearPlugin = (_, dayClass) => {
5
5
  return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;
6
6
  };
7
7
  };
8
-
9
8
  //#endregion
10
- export { isLeapYearPlugin as default };
9
+ export { isLeapYearPlugin as default };
@@ -1,4 +1,4 @@
1
- import { M as UnitType, o as EsDayPlugin, r as DateType } from "../../chunks/CODi8AFH.js";
1
+ import { N as UnitType, i as DateType, s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/isSameOrAfter/index.d.ts
4
4
  declare module 'esday' {
@@ -4,6 +4,5 @@ const isSameOrAfterPlugin = (_, dayClass) => {
4
4
  return this.isSame(that, unit) || this.isAfter(that, unit);
5
5
  };
6
6
  };
7
-
8
7
  //#endregion
9
- export { isSameOrAfterPlugin as default };
8
+ export { isSameOrAfterPlugin as default };
@@ -1,4 +1,4 @@
1
- import { M as UnitType, o as EsDayPlugin, r as DateType } from "../../chunks/CODi8AFH.js";
1
+ import { N as UnitType, i as DateType, s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/isSameOrBefore/index.d.ts
4
4
  declare module 'esday' {
@@ -4,6 +4,5 @@ const isSameOrBeforePlugin = (_, dayClass) => {
4
4
  return this.isSame(that, unit) || this.isBefore(that, unit);
5
5
  };
6
6
  };
7
-
8
7
  //#endregion
9
- export { isSameOrBeforePlugin as default };
8
+ export { isSameOrBeforePlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/isToday/index.d.ts
4
4
  declare module 'esday' {
@@ -1,11 +1,9 @@
1
- import { p as constants_default } from "../../chunks/BkjWOpMU.js";
2
-
1
+ import { f as constants_default } from "../../chunks/CeKusvtV.js";
3
2
  //#region src/plugins/isToday/index.ts
4
3
  const isTodayPlugin = (_, dayClass) => {
5
4
  dayClass.prototype.isToday = function() {
6
5
  return this.isSame(/* @__PURE__ */ new Date(), constants_default.DAY);
7
6
  };
8
7
  };
9
-
10
8
  //#endregion
11
- export { isTodayPlugin as default };
9
+ export { isTodayPlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/isTomorrow/index.d.ts
4
4
  declare module 'esday' {
@@ -1,5 +1,4 @@
1
- import { p as constants_default } from "../../chunks/BkjWOpMU.js";
2
-
1
+ import { f as constants_default } from "../../chunks/CeKusvtV.js";
3
2
  //#region src/plugins/isTomorrow/index.ts
4
3
  const isTomorrowPlugin = (_, dayClass, d) => {
5
4
  dayClass.prototype.isTomorrow = function() {
@@ -8,6 +7,5 @@ const isTomorrowPlugin = (_, dayClass, d) => {
8
7
  return this.format(comparisonTemplate) === tomorrow.format(comparisonTemplate);
9
8
  };
10
9
  };
11
-
12
10
  //#endregion
13
- export { isTomorrowPlugin as default };
11
+ export { isTomorrowPlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/isYesterday/index.d.ts
4
4
  declare module 'esday' {
@@ -1,5 +1,4 @@
1
- import { p as constants_default } from "../../chunks/BkjWOpMU.js";
2
-
1
+ import { f as constants_default } from "../../chunks/CeKusvtV.js";
3
2
  //#region src/plugins/isYesterday/index.ts
4
3
  const isYesterdayPlugin = (_, dayClass, d) => {
5
4
  dayClass.prototype.isYesterday = function() {
@@ -8,6 +7,5 @@ const isYesterdayPlugin = (_, dayClass, d) => {
8
7
  return this.format(comparisonTemplate) === yesterday.format(comparisonTemplate);
9
8
  };
10
9
  };
11
-
12
10
  //#endregion
13
- export { isYesterdayPlugin as default };
11
+ export { isYesterdayPlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/isoWeek/index.d.ts
4
4
  declare module 'esday' {
@@ -1,8 +1,7 @@
1
- import { p as constants_default } from "../../chunks/BkjWOpMU.js";
2
- import { a as isUndefined } from "../../chunks/v_QBn7Xm.js";
3
- import { t as createInstanceFromExist } from "../../chunks/Shk32pTP.js";
4
- import { n as padStart } from "../../chunks/CdvTtmWL.js";
5
-
1
+ import { f as constants_default } from "../../chunks/CeKusvtV.js";
2
+ import { a as isUndefined } from "../../chunks/DuRKUq5K.js";
3
+ import { t as createInstanceFromExist } from "../../chunks/i3oEJgL3.js";
4
+ import { n as padStart } from "../../chunks/DXFoLbHM.js";
6
5
  //#region src/plugins/isoWeek/index.ts
7
6
  const weekStart = constants_default.INDEX_MONDAY;
8
7
  const yearStart = 4;
@@ -223,6 +222,5 @@ const isoWeekPlugin = (_, dayClass, dayFactory) => {
223
222
  };
224
223
  dayFactory.addParseTokenDefinitions?.(parseTokensDefinitions);
225
224
  };
226
-
227
225
  //#endregion
228
- export { isoWeekPlugin as default };
226
+ export { isoWeekPlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin, t as EsDay } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin, t as EsDay } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/locale/types.d.ts
4
4
  type ReadonlyTuple<T, N extends number, R extends readonly T[] = []> = R['length'] extends N ? R : ReadonlyTuple<T, N, readonly [T, ...R]>;
@@ -16,6 +16,9 @@ declare module 'esday' {
16
16
  getLocale: (localeName: string) => Locale;
17
17
  updateLocale: (localeName: string, newLocale: Partial<Locale>) => EsDayFactory;
18
18
  }
19
+ interface ConfigurationObject {
20
+ localeName?: string;
21
+ }
19
22
  }
20
23
  type DayNames<T = string> = ReadonlyTuple<T, 7>;
21
24
  interface DayNamesStandaloneFormat<T = DayNames<string>> {
@@ -1,8 +1,7 @@
1
- import { p as constants_default } from "../../chunks/BkjWOpMU.js";
2
- import { s as undefinedOr } from "../../chunks/v_QBn7Xm.js";
3
- import { t as normalizeUnit } from "../../chunks/AyQQ6US-.js";
4
- import localeEn from "../../locales/en.mjs";
5
-
1
+ import { f as constants_default } from "../../chunks/CeKusvtV.js";
2
+ import { s as undefinedOr } from "../../chunks/DuRKUq5K.js";
3
+ import { t as normalizeUnit } from "../../chunks/DMdr1ZL1.js";
4
+ import localeEn from "../../locales/en.js";
6
5
  //#region src/plugins/locale/index.ts
7
6
  const LocaleStore = /* @__PURE__ */ new Map();
8
7
  let $localeGlobal = "en";
@@ -72,8 +71,8 @@ function cloneLocale(source) {
72
71
  return cloneObject(source);
73
72
  }
74
73
  function getSetPrivateLocaleName(inst, newLocaleName) {
75
- if (newLocaleName) inst["$conf"]["localeName"] = newLocaleName;
76
- return inst["$conf"]["localeName"] || "";
74
+ if (newLocaleName) inst["$conf"].localeName = newLocaleName;
75
+ return inst["$conf"].localeName || "";
77
76
  }
78
77
  const localePlugin = (_, dayClass, dayFactory) => {
79
78
  dayClass.prototype.localeObject = function() {
@@ -136,6 +135,5 @@ const localePlugin = (_, dayClass, dayFactory) => {
136
135
  return dayFactory;
137
136
  };
138
137
  };
139
-
140
138
  //#endregion
141
- export { cloneLocale, localePlugin as default, setLocaleProperty };
139
+ export { cloneLocale, localePlugin as default, setLocaleProperty };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/localeData/index.d.ts
4
4
  declare const localeDataPlugin: EsDayPlugin<{}>;
@@ -1,5 +1,4 @@
1
- import { t as esday } from "../../chunks/CXWzCl3n.js";
2
-
1
+ import { t as esday } from "../../chunks/D2Xh96oz.js";
3
2
  //#region src/plugins/localeData/index.ts
4
3
  /**
5
4
  * LocaleData plugin
@@ -150,6 +149,5 @@ const localeDataPlugin = (_, dayClass, dayFactory) => {
150
149
  dayFactory.weekdaysShort = () => getWeekdays(dayFactory.getLocale(dayFactory.locale()), "weekdaysShort");
151
150
  dayFactory.weekdaysMin = () => getWeekdays(dayFactory.getLocale(dayFactory.locale()), "weekdaysMin");
152
151
  };
153
-
154
152
  //#endregion
155
- export { localeDataPlugin as default };
153
+ export { localeDataPlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/localizedFormat/index.d.ts
4
4
  declare const localizedFormatPlugin: EsDayPlugin<{}>;
@@ -1,6 +1,5 @@
1
- import { i as isString, t as isArray } from "../../chunks/v_QBn7Xm.js";
2
- import { t as padNumberWithLeadingZeros } from "../../chunks/CdvTtmWL.js";
3
-
1
+ import { i as isString, t as isArray } from "../../chunks/DuRKUq5K.js";
2
+ import { t as padNumberWithLeadingZeros } from "../../chunks/DXFoLbHM.js";
4
3
  //#region src/plugins/localizedFormat/index.ts
5
4
  /**
6
5
  * Create a function that will format the day of week value from the sourceDate
@@ -78,6 +77,5 @@ const localizedFormatPlugin = (_, dayClass, dayFactory) => {
78
77
  return this.localeObject?.().postFormat?.(formattedValue) ?? formattedValue;
79
78
  };
80
79
  };
81
-
82
80
  //#endregion
83
- export { localizedFormatPlugin as default };
81
+ export { localizedFormatPlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/localizedParse/index.d.ts
4
4
  declare const localizedParsePlugin: EsDayPlugin<{}>;
@@ -1,5 +1,4 @@
1
- import { a as isUndefined, i as isString, t as isArray } from "../../chunks/v_QBn7Xm.js";
2
-
1
+ import { a as isUndefined, i as isString, t as isArray } from "../../chunks/DuRKUq5K.js";
3
2
  //#region src/plugins/localizedParse/index.ts
4
3
  const match2 = /\d{2}/;
5
4
  const match1to2 = /\d\d?/;
@@ -212,6 +211,5 @@ const localizedParsePlugin = (_, dayClass, dayFactory) => {
212
211
  }
213
212
  };
214
213
  };
215
-
216
214
  //#endregion
217
- export { localizedParsePlugin as default };
215
+ export { localizedParsePlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin, r as DateType } from "../../chunks/CODi8AFH.js";
1
+ import { i as DateType, s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/minMax/index.d.ts
4
4
  declare module 'esday' {
@@ -1,5 +1,4 @@
1
- import { t as isArray } from "../../chunks/v_QBn7Xm.js";
2
-
1
+ import { t as isArray } from "../../chunks/DuRKUq5K.js";
3
2
  //#region src/plugins/minMax/index.ts
4
3
  const minMaxPlugin = (_, _dayClass, dayFactory) => {
5
4
  const sortBy = (method, dates) => {
@@ -16,6 +15,5 @@ const minMaxPlugin = (_, _dayClass, dayFactory) => {
16
15
  dayFactory.max = (...dates) => sortBy("isAfter", dates);
17
16
  dayFactory.min = (...dates) => sortBy("isBefore", dates);
18
17
  };
19
-
20
18
  //#endregion
21
- export { minMaxPlugin as default };
19
+ export { minMaxPlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/objectSupport/index.d.ts
4
4
  declare const objectSupportPlugin: EsDayPlugin<{}>;
@@ -1,8 +1,7 @@
1
- import { p as constants_default } from "../../chunks/BkjWOpMU.js";
2
- import { n as isEmptyObject, r as isObject } from "../../chunks/v_QBn7Xm.js";
3
- import { n as normalizeUnitWithPlurals } from "../../chunks/AyQQ6US-.js";
4
- import { t as createInstanceFromExist } from "../../chunks/Shk32pTP.js";
5
-
1
+ import { f as constants_default } from "../../chunks/CeKusvtV.js";
2
+ import { n as isEmptyObject, r as isObject } from "../../chunks/DuRKUq5K.js";
3
+ import { n as normalizeUnitWithPlurals } from "../../chunks/DMdr1ZL1.js";
4
+ import { t as createInstanceFromExist } from "../../chunks/i3oEJgL3.js";
6
5
  //#region src/plugins/objectSupport/index.ts
7
6
  const objectSupportPlugin = (_, dayClass, _dayFactory) => {
8
7
  const proto = dayClass.prototype;
@@ -94,6 +93,5 @@ const objectSupportPlugin = (_, dayClass, _dayFactory) => {
94
93
  return oldSubtract.call(this, value, unit);
95
94
  };
96
95
  };
97
-
98
96
  //#endregion
99
- export { objectSupportPlugin as default };
97
+ export { objectSupportPlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/pluralGetSet/index.d.ts
4
4
  declare module 'esday' {
@@ -10,6 +10,5 @@ const pluralGetSetPlugin = (_, dayClass, _dayFactory) => {
10
10
  proto.seconds = proto.second;
11
11
  proto.milliseconds = proto.millisecond;
12
12
  };
13
-
14
13
  //#endregion
15
- export { pluralGetSetPlugin as default };
14
+ export { pluralGetSetPlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/quarterOfYear/index.d.ts
4
4
  declare module 'esday' {
@@ -1,7 +1,6 @@
1
- import { p as constants_default } from "../../chunks/BkjWOpMU.js";
2
- import { r as isObject } from "../../chunks/v_QBn7Xm.js";
3
- import { n as normalizeUnitWithPlurals } from "../../chunks/AyQQ6US-.js";
4
-
1
+ import { f as constants_default } from "../../chunks/CeKusvtV.js";
2
+ import { r as isObject } from "../../chunks/DuRKUq5K.js";
3
+ import { n as normalizeUnitWithPlurals } from "../../chunks/DMdr1ZL1.js";
5
4
  //#region src/plugins/quarterOfYear/index.ts
6
5
  const quarterOfYearPlugin = (_, dayClass, dayFactory) => {
7
6
  const proto = dayClass.prototype;
@@ -46,6 +45,5 @@ const quarterOfYearPlugin = (_, dayClass, dayFactory) => {
46
45
  };
47
46
  dayFactory.addFormatTokenDefinitions({ Q: (sourceDate) => sourceDate.quarter().toString() });
48
47
  };
49
-
50
48
  //#endregion
51
- export { quarterOfYearPlugin as default };
49
+ export { quarterOfYearPlugin as default };
@@ -1,5 +1,5 @@
1
- import { o as EsDayPlugin, r as DateType } from "../../chunks/CODi8AFH.js";
2
- import { Locale } from "../locale/index.mjs";
1
+ import { i as DateType, s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
+ import { Locale } from "../locale/index.js";
3
3
 
4
4
  //#region src/plugins/relativeTime/index.d.ts
5
5
  declare module 'esday' {
@@ -1,6 +1,5 @@
1
- import { p as constants_default } from "../../chunks/BkjWOpMU.js";
2
- import { t as createInstanceFromExist } from "../../chunks/Shk32pTP.js";
3
-
1
+ import { f as constants_default } from "../../chunks/CeKusvtV.js";
2
+ import { t as createInstanceFromExist } from "../../chunks/i3oEJgL3.js";
4
3
  //#region src/plugins/relativeTime/index.ts
5
4
  const relativeTimePlugin = (options, dayClass, dayFactory) => {
6
5
  const defaultRelativeTimeDef = {
@@ -182,6 +181,5 @@ const relativeTimePlugin = (options, dayClass, dayFactory) => {
182
181
  return this.from(now, withoutSuffix);
183
182
  };
184
183
  };
185
-
186
184
  //#endregion
187
- export { relativeTimePlugin as default };
185
+ export { relativeTimePlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/timezone/index.d.ts
4
4
  declare const timezonePLugin: EsDayPlugin<{}>;
@@ -1,8 +1,7 @@
1
- import { p as constants_default } from "../../chunks/BkjWOpMU.js";
2
- import { n as isEmptyObject, r as isObject } from "../../chunks/v_QBn7Xm.js";
3
- import { n as normalizeUnitWithPlurals } from "../../chunks/AyQQ6US-.js";
4
- import { t as esday } from "../../chunks/CXWzCl3n.js";
5
-
1
+ import { f as constants_default } from "../../chunks/CeKusvtV.js";
2
+ import { n as isEmptyObject, r as isObject } from "../../chunks/DuRKUq5K.js";
3
+ import { n as normalizeUnitWithPlurals } from "../../chunks/DMdr1ZL1.js";
4
+ import { t as esday } from "../../chunks/D2Xh96oz.js";
6
5
  //#region src/plugins/timezone/timezone-util.ts
7
6
  /**
8
7
  * Cache for Intl.DateTimeFormat instances for formatting date and time
@@ -69,7 +68,6 @@ function getTimezoneNameFormat(timezone, localeName = TzDefaultTimezoneLocale) {
69
68
  }
70
69
  return dtf;
71
70
  }
72
-
73
71
  //#endregion
74
72
  //#region src/plugins/timezone/index.ts
75
73
  /**
@@ -146,6 +144,7 @@ function weekdayNameToNumber(shortWeekdayName) {
146
144
  case "Thu": return 4;
147
145
  case "Fri": return 5;
148
146
  case "Sat": return 6;
147
+ /* v8 ignore next -- @preserve */
149
148
  default: return -1;
150
149
  }
151
150
  }
@@ -331,7 +330,7 @@ const timezonePLugin = (_, dayClass, esdayFactory) => {
331
330
  const [targetTimestamp, targetOffset] = fixOffsetConvert(parsedInput.valueOf(), 0, offsetParsedInput, timezone ?? noTimezone);
332
331
  const result = esdayFactory.utc(targetTimestamp, ...others);
333
332
  result["$conf"].utcOffset = targetOffset;
334
- result["$conf"].localOffset = result.toDate().getTimezoneOffset();
333
+ result["$conf"].localOffset = -1 * result.toDate().getTimezoneOffset();
335
334
  result["$conf"].utc = targetOffset === 0;
336
335
  if (result["$conf"].localeName !== void 0 && parsedInput["$conf"].localeName !== void 0) result["$conf"].localeName = parsedInput["$conf"].localeName;
337
336
  result["$conf"].timezone = timezone;
@@ -349,7 +348,7 @@ const timezonePLugin = (_, dayClass, esdayFactory) => {
349
348
  if (timezone === void 0) return this["$conf"].timezone;
350
349
  const result = this.clone();
351
350
  const tzOffsetTarget = tzOffset(this.valueOf(), timezone);
352
- const localOffset = this.toDate().getTimezoneOffset();
351
+ const localOffset = -1 * this.toDate().getTimezoneOffset();
353
352
  result["$conf"].localOffset = localOffset;
354
353
  result["$conf"].utcOffset = tzOffsetTarget;
355
354
  result["$conf"].utc = tzOffsetTarget === 0;
@@ -357,7 +356,7 @@ const timezonePLugin = (_, dayClass, esdayFactory) => {
357
356
  if (keepLocalTime) {
358
357
  const timestampSource = result.valueOf();
359
358
  let tzOffsetSource = 0;
360
- if (!this["$conf"].utc) tzOffsetSource = this["$conf"].timezone ? Number(this["$conf"].utcOffset) : -1 * localOffset;
359
+ if (!this["$conf"].utc) tzOffsetSource = this["$conf"].timezone ? Number(this["$conf"].utcOffset) : localOffset;
361
360
  const [timestampFixed, tzOffsetFixed] = fixOffsetConvert(timestampSource, tzOffsetSource, tzOffsetTarget, timezone);
362
361
  result["$conf"].utcOffset = tzOffsetFixed;
363
362
  result["$conf"].utc = tzOffsetFixed === 0;
@@ -395,19 +394,19 @@ const timezonePLugin = (_, dayClass, esdayFactory) => {
395
394
  const [timestampFixed, tzOffsetFixed] = fixOffsetConvert(utcAsLocal, 0, tzOffset(utcAsLocal, timezone), timezone);
396
395
  this.$d = new Date(timestampFixed);
397
396
  this["$conf"].utcOffset = tzOffsetFixed;
398
- this["$conf"].localOffset = this.$d.getTimezoneOffset();
397
+ this["$conf"].localOffset = -1 * this.$d.getTimezoneOffset();
399
398
  this["$conf"].utc = tzOffsetFixed === 0;
400
399
  return this;
401
400
  };
402
401
  const oldStartOf = dayClass.prototype.startOf;
403
402
  proto.startOf = function(units) {
404
- if (!this["$conf"] || !this["$conf"]["timezone"]) return oldStartOf.call(this, units);
403
+ if (!this["$conf"]?.["timezone"]) return oldStartOf.call(this, units);
405
404
  const withoutTz = esdayFactory(this.format("YYYY-MM-DD HH:mm:ss:SSS"));
406
405
  return oldStartOf.call(withoutTz, units).tz(this["$conf"]["timezone"], true);
407
406
  };
408
407
  const oldEndOf = dayClass.prototype.endOf;
409
408
  proto.endOf = function(units) {
410
- if (!this["$conf"] || !this["$conf"]["timezone"]) return oldEndOf.call(this, units);
409
+ if (!this["$conf"]?.["timezone"]) return oldEndOf.call(this, units);
411
410
  const withoutTz = esdayFactory(this.format("YYYY-MM-DD HH:mm:ss:SSS"));
412
411
  return oldEndOf.call(withoutTz, units).tz(this["$conf"]["timezone"], true);
413
412
  };
@@ -435,7 +434,7 @@ const timezonePLugin = (_, dayClass, esdayFactory) => {
435
434
  const [timestampFixed, tzOffsetFixed] = fixOffsetConvert(timestamp, tzOldOffset, tzOffset(timestamp, timezone), timezone);
436
435
  newValue.$d = new Date(timestampFixed);
437
436
  newValue["$conf"].utcOffset = tzOffsetFixed;
438
- newValue["$conf"].localOffset = newValue.$d.getTimezoneOffset();
437
+ newValue["$conf"].localOffset = -1 * newValue.$d.getTimezoneOffset();
439
438
  newValue["$conf"].utc = tzOffsetFixed === 0;
440
439
  return newValue;
441
440
  };
@@ -451,6 +450,5 @@ const timezonePLugin = (_, dayClass, esdayFactory) => {
451
450
  };
452
451
  esdayFactory.addFormatTokenDefinitions(additionalTokens);
453
452
  };
454
-
455
453
  //#endregion
456
- export { timezonePLugin as default };
454
+ export { timezonePLugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/toArray/index.d.ts
4
4
  declare module 'esday' {
@@ -12,6 +12,5 @@ const toArrayPlugin = (_, dayClass) => {
12
12
  ];
13
13
  };
14
14
  };
15
-
16
15
  //#endregion
17
- export { toArrayPlugin as default };
16
+ export { toArrayPlugin as default };
@@ -1,4 +1,4 @@
1
- import { o as EsDayPlugin } from "../../chunks/CODi8AFH.js";
1
+ import { s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/toObject/index.d.ts
4
4
  declare module 'esday' {
@@ -12,6 +12,5 @@ const toObjectPlugin = (_, dayClass) => {
12
12
  };
13
13
  };
14
14
  };
15
-
16
15
  //#endregion
17
- export { toObjectPlugin as default };
16
+ export { toObjectPlugin as default };
@@ -1,4 +1,4 @@
1
- import { h as SimpleType, o as EsDayPlugin, r as DateType } from "../../chunks/CODi8AFH.js";
1
+ import { g as SimpleType, i as DateType, s as EsDayPlugin } from "../../chunks/DuP2qVZn.js";
2
2
 
3
3
  //#region src/plugins/utc/index.d.ts
4
4
  declare module 'esday' {
@@ -12,6 +12,11 @@ declare module 'esday' {
12
12
  [key: string]: SimpleType;
13
13
  })[]) => EsDay;
14
14
  }
15
+ interface ConfigurationObject {
16
+ utc?: boolean;
17
+ utcOffset?: number;
18
+ localOffset?: number;
19
+ }
15
20
  }
16
21
  declare const utcPlugin: EsDayPlugin<{}>;
17
22
  //#endregion