@gobrand/tiempo 2.8.0 → 2.9.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.
- package/dist/addDays.js +3 -2
- package/dist/addHours.js +3 -2
- package/dist/addMicroseconds.js +3 -2
- package/dist/addMilliseconds.js +3 -2
- package/dist/addMinutes.js +3 -2
- package/dist/addMonths.js +3 -2
- package/dist/addNanoseconds.js +3 -2
- package/dist/addSeconds.js +3 -2
- package/dist/addWeeks.js +3 -2
- package/dist/addYears.js +3 -2
- package/dist/{chunk-OLEOU3XE.js → chunk-2J434XZJ.js} +5 -3
- package/dist/chunk-2J434XZJ.js.map +1 -0
- package/dist/{chunk-RW3C2677.js → chunk-3QC5YINX.js} +2 -3
- package/dist/chunk-3QC5YINX.js.map +1 -0
- package/dist/{chunk-YIT6EMBC.js → chunk-3WWRI3NR.js} +2 -3
- package/dist/chunk-3WWRI3NR.js.map +1 -0
- package/dist/{chunk-X26WIJ6L.js → chunk-46EP6MO2.js} +7 -5
- package/dist/chunk-46EP6MO2.js.map +1 -0
- package/dist/{chunk-UBY22QWM.js → chunk-4ZRJ3EHQ.js} +4 -4
- package/dist/{chunk-Q2F3HEXB.js → chunk-5HVHKQTJ.js} +2 -2
- package/dist/{chunk-BV6CLVSI.js → chunk-76RCTVBW.js} +3 -4
- package/dist/chunk-76RCTVBW.js.map +1 -0
- package/dist/{chunk-O6RIN7K3.js → chunk-7LZPFGGV.js} +5 -2
- package/dist/chunk-7LZPFGGV.js.map +1 -0
- package/dist/{chunk-5C3TQSWA.js → chunk-7NQ76UHP.js} +4 -5
- package/dist/chunk-7NQ76UHP.js.map +1 -0
- package/dist/{chunk-52NEOY34.js → chunk-7XVPK2AV.js} +2 -2
- package/dist/{chunk-PVAOUYXF.js → chunk-AAORAX74.js} +5 -5
- package/dist/chunk-AAORAX74.js.map +1 -0
- package/dist/{chunk-776JOVV6.js → chunk-ADAN2I34.js} +2 -3
- package/dist/chunk-ADAN2I34.js.map +1 -0
- package/dist/{chunk-WUAIUEH7.js → chunk-BIH6JETG.js} +5 -2
- package/dist/chunk-BIH6JETG.js.map +1 -0
- package/dist/{chunk-DT2EWLHU.js → chunk-BOGN7JC3.js} +2 -2
- package/dist/{chunk-WY63VEXE.js → chunk-C5HDCIRV.js} +5 -2
- package/dist/chunk-C5HDCIRV.js.map +1 -0
- package/dist/{chunk-WVHAYLBW.js → chunk-CP4JNCMO.js} +2 -2
- package/dist/{chunk-HFQUXON5.js → chunk-DGRZ6HO3.js} +10 -5
- package/dist/chunk-DGRZ6HO3.js.map +1 -0
- package/dist/{chunk-MMI2HHT7.js → chunk-DHJ353HR.js} +2 -2
- package/dist/{chunk-4NJMCCUM.js → chunk-DJRIH2PX.js} +2 -2
- package/dist/{chunk-YKBP3G7L.js → chunk-DN3V4IZC.js} +2 -2
- package/dist/{chunk-EYO2ZJLH.js → chunk-DOGZ2WBH.js} +2 -2
- package/dist/{chunk-QFNGYTTH.js → chunk-DTZPE5PM.js} +5 -3
- package/dist/chunk-DTZPE5PM.js.map +1 -0
- package/dist/chunk-ERCE3YCO.js +19 -0
- package/dist/chunk-ERCE3YCO.js.map +1 -0
- package/dist/{chunk-6IP245MS.js → chunk-ESTLMF2X.js} +5 -5
- package/dist/chunk-ESTLMF2X.js.map +1 -0
- package/dist/chunk-F6EWMA4K.js +13 -0
- package/dist/chunk-F6EWMA4K.js.map +1 -0
- package/dist/{chunk-7VLSSOVC.js → chunk-FEUIZJOV.js} +3 -4
- package/dist/chunk-FEUIZJOV.js.map +1 -0
- package/dist/{chunk-ZGR4NZTS.js → chunk-FIX6LQG5.js} +2 -3
- package/dist/chunk-FIX6LQG5.js.map +1 -0
- package/dist/{chunk-L4SVABDH.js → chunk-G4COVQ5S.js} +2 -2
- package/dist/{chunk-LDO6PRNJ.js → chunk-GEMTHX5S.js} +2 -2
- package/dist/{chunk-3TSFIPUR.js → chunk-GS3J5YVW.js} +2 -3
- package/dist/chunk-GS3J5YVW.js.map +1 -0
- package/dist/{chunk-DKYVFYWM.js → chunk-GVZOCS7O.js} +5 -3
- package/dist/chunk-GVZOCS7O.js.map +1 -0
- package/dist/{chunk-BIAPE4MR.js → chunk-HHPXUFZP.js} +5 -5
- package/dist/chunk-HHPXUFZP.js.map +1 -0
- package/dist/{chunk-S63QUP4W.js → chunk-I3RXBZP5.js} +2 -2
- package/dist/{chunk-ADQTZVMH.js → chunk-IPWSPA4H.js} +2 -2
- package/dist/chunk-JVB5IARQ.js +19 -0
- package/dist/chunk-JVB5IARQ.js.map +1 -0
- package/dist/{chunk-JOD4ATPE.js → chunk-JXBC2VU2.js} +2 -2
- package/dist/{chunk-V27NUBXQ.js → chunk-KKMM6HYC.js} +2 -2
- package/dist/{chunk-A5VVBYNT.js → chunk-KONRPZXK.js} +2 -2
- package/dist/{chunk-CY746ZUQ.js → chunk-L2CNUS43.js} +2 -2
- package/dist/{chunk-KZB6NERH.js → chunk-LGLV7RIC.js} +5 -2
- package/dist/chunk-LGLV7RIC.js.map +1 -0
- package/dist/{chunk-JA7SVLAF.js → chunk-LLN2SKGE.js} +4 -4
- package/dist/{chunk-JNA3AFOC.js → chunk-LYPSZYIG.js} +5 -2
- package/dist/chunk-LYPSZYIG.js.map +1 -0
- package/dist/{chunk-AE36GX4F.js → chunk-MHXSUAPE.js} +5 -2
- package/dist/chunk-MHXSUAPE.js.map +1 -0
- package/dist/{chunk-BUX26GTD.js → chunk-NKWGZIOJ.js} +5 -3
- package/dist/chunk-NKWGZIOJ.js.map +1 -0
- package/dist/{chunk-VZJGCDAG.js → chunk-NT7VDFLO.js} +5 -2
- package/dist/chunk-NT7VDFLO.js.map +1 -0
- package/dist/{chunk-7ATM7AXL.js → chunk-OGNREZPA.js} +2 -2
- package/dist/{chunk-EZ7NVTZI.js → chunk-OKPTY2ZQ.js} +7 -5
- package/dist/chunk-OKPTY2ZQ.js.map +1 -0
- package/dist/{chunk-ISHZRFVN.js → chunk-OPACRBGV.js} +2 -2
- package/dist/{chunk-J6G2I2TU.js → chunk-OZYC3TAR.js} +2 -2
- package/dist/{chunk-2XHAHSB6.js → chunk-PBT2OZJH.js} +2 -2
- package/dist/{chunk-BSV32PSO.js → chunk-PEGMMWZU.js} +6 -3
- package/dist/chunk-PEGMMWZU.js.map +1 -0
- package/dist/{chunk-BH2YB4MV.js → chunk-PWPACA4G.js} +2 -2
- package/dist/{chunk-3A6X6WV5.js → chunk-PXF3RMFH.js} +1 -2
- package/dist/chunk-PXF3RMFH.js.map +1 -0
- package/dist/{chunk-HDBH7RTY.js → chunk-QGXK664C.js} +2 -2
- package/dist/{chunk-AJEIDKVJ.js → chunk-QHQACJEU.js} +5 -2
- package/dist/chunk-QHQACJEU.js.map +1 -0
- package/dist/{chunk-CHW2EN2O.js → chunk-QPGTY5DD.js} +5 -5
- package/dist/chunk-QPGTY5DD.js.map +1 -0
- package/dist/{chunk-Y7CIJQ67.js → chunk-QRLTVRYC.js} +5 -3
- package/dist/chunk-QRLTVRYC.js.map +1 -0
- package/dist/{chunk-JHRXY36W.js → chunk-QVXCG625.js} +2 -2
- package/dist/{chunk-OQ4CWKJT.js → chunk-R7MM4BDS.js} +2 -3
- package/dist/chunk-R7MM4BDS.js.map +1 -0
- package/dist/{chunk-EEQ3REET.js → chunk-RSY3BI3P.js} +2 -2
- package/dist/{chunk-NRD5HRZV.js → chunk-RTANLM3L.js} +2 -2
- package/dist/{chunk-OABS374T.js → chunk-RUJC6FOA.js} +2 -3
- package/dist/chunk-RUJC6FOA.js.map +1 -0
- package/dist/{chunk-BQBLSXK2.js → chunk-SDCVBRJP.js} +2 -2
- package/dist/{chunk-HLGMUTFK.js → chunk-SFXJV5ZT.js} +2 -3
- package/dist/chunk-SFXJV5ZT.js.map +1 -0
- package/dist/{chunk-BPZ7BRJW.js → chunk-SHDXBQ7E.js} +5 -2
- package/dist/chunk-SHDXBQ7E.js.map +1 -0
- package/dist/{chunk-VLZ3HQQA.js → chunk-SQJTTKEI.js} +2 -2
- package/dist/{chunk-RBEW6PXR.js → chunk-SRXD4AGD.js} +5 -2
- package/dist/chunk-SRXD4AGD.js.map +1 -0
- package/dist/{chunk-4PSMM55Q.js → chunk-SWDOKPVX.js} +7 -3
- package/dist/chunk-SWDOKPVX.js.map +1 -0
- package/dist/{chunk-UJWM2BV2.js → chunk-SY2S6MMZ.js} +10 -5
- package/dist/chunk-SY2S6MMZ.js.map +1 -0
- package/dist/{chunk-ZC6KWXCW.js → chunk-SZATPYBI.js} +36 -27
- package/dist/chunk-SZATPYBI.js.map +1 -0
- package/dist/{chunk-TGKWBQ7L.js → chunk-T6ONGPRF.js} +6 -3
- package/dist/chunk-T6ONGPRF.js.map +1 -0
- package/dist/{chunk-PPB62JYV.js → chunk-TDZ3XUH7.js} +2 -2
- package/dist/{chunk-G2JUEBC5.js → chunk-TIEAKS3O.js} +5 -3
- package/dist/chunk-TIEAKS3O.js.map +1 -0
- package/dist/{chunk-DFLGGK4F.js → chunk-U7ZWIAB3.js} +6 -3
- package/dist/chunk-U7ZWIAB3.js.map +1 -0
- package/dist/chunk-VOZTLX5F.js +22 -0
- package/dist/chunk-VOZTLX5F.js.map +1 -0
- package/dist/{chunk-XW5MLXX5.js → chunk-VVV5BNLP.js} +2 -2
- package/dist/{chunk-AJ4JBKJK.js → chunk-VXOQ7IG5.js} +1 -2
- package/dist/chunk-VXOQ7IG5.js.map +1 -0
- package/dist/{chunk-HOCNCQTC.js → chunk-W6RF44CV.js} +2 -3
- package/dist/chunk-W6RF44CV.js.map +1 -0
- package/dist/{chunk-AHMKY474.js → chunk-WJOGQ6IB.js} +2 -2
- package/dist/{chunk-ZJQS7ZY7.js → chunk-WLW622M7.js} +22 -21
- package/dist/chunk-WLW622M7.js.map +1 -0
- package/dist/{chunk-ZDA7GSWU.js → chunk-WNPPRDN3.js} +3 -4
- package/dist/chunk-WNPPRDN3.js.map +1 -0
- package/dist/{chunk-4E7OGJ3F.js → chunk-XONITURH.js} +5 -2
- package/dist/chunk-XONITURH.js.map +1 -0
- package/dist/{chunk-UJW2FPI4.js → chunk-XRZUPSUB.js} +2 -2
- package/dist/chunk-Y4HT4LCB.js +19 -0
- package/dist/chunk-Y4HT4LCB.js.map +1 -0
- package/dist/{chunk-TNCLJK4Y.js → chunk-Z2LOTP6T.js} +5 -3
- package/dist/chunk-Z2LOTP6T.js.map +1 -0
- package/dist/chunk-ZBEEQUE4.js +19 -0
- package/dist/chunk-ZBEEQUE4.js.map +1 -0
- package/dist/{chunk-FSD3DDFC.js → chunk-ZFXBHDFB.js} +5 -2
- package/dist/chunk-ZFXBHDFB.js.map +1 -0
- package/dist/{chunk-U4RNUZXO.js → chunk-ZKGR3F4F.js} +2 -2
- package/dist/{chunk-YQBM63DC.js → chunk-ZSRCVDZ2.js} +9 -4
- package/dist/chunk-ZSRCVDZ2.js.map +1 -0
- package/dist/differenceInDays.d.ts +5 -3
- package/dist/differenceInDays.d.ts.map +1 -1
- package/dist/differenceInDays.js +3 -2
- package/dist/differenceInHours.d.ts +5 -3
- package/dist/differenceInHours.d.ts.map +1 -1
- package/dist/differenceInHours.js +4 -3
- package/dist/differenceInMicroseconds.d.ts +1 -1
- package/dist/differenceInMicroseconds.d.ts.map +1 -1
- package/dist/differenceInMicroseconds.js +3 -2
- package/dist/differenceInMilliseconds.d.ts +1 -1
- package/dist/differenceInMilliseconds.d.ts.map +1 -1
- package/dist/differenceInMilliseconds.js +4 -3
- package/dist/differenceInMinutes.d.ts +5 -3
- package/dist/differenceInMinutes.d.ts.map +1 -1
- package/dist/differenceInMinutes.js +4 -3
- package/dist/differenceInMonths.d.ts +8 -5
- package/dist/differenceInMonths.d.ts.map +1 -1
- package/dist/differenceInMonths.js +3 -2
- package/dist/differenceInNanoseconds.d.ts +1 -1
- package/dist/differenceInNanoseconds.d.ts.map +1 -1
- package/dist/differenceInNanoseconds.js +3 -2
- package/dist/differenceInSeconds.d.ts +5 -3
- package/dist/differenceInSeconds.d.ts.map +1 -1
- package/dist/differenceInSeconds.js +4 -3
- package/dist/differenceInWeeks.d.ts +6 -4
- package/dist/differenceInWeeks.d.ts.map +1 -1
- package/dist/differenceInWeeks.js +3 -2
- package/dist/differenceInYears.d.ts +8 -5
- package/dist/differenceInYears.d.ts.map +1 -1
- package/dist/differenceInYears.js +3 -2
- package/dist/eachDayOfInterval.d.ts +1 -1
- package/dist/eachDayOfInterval.d.ts.map +1 -1
- package/dist/eachDayOfInterval.js +3 -2
- package/dist/eachHourOfInterval.d.ts +1 -1
- package/dist/eachHourOfInterval.d.ts.map +1 -1
- package/dist/eachHourOfInterval.js +3 -2
- package/dist/eachMinuteOfInterval.d.ts +1 -1
- package/dist/eachMinuteOfInterval.d.ts.map +1 -1
- package/dist/eachMinuteOfInterval.js +3 -2
- package/dist/eachMonthOfInterval.d.ts +1 -1
- package/dist/eachMonthOfInterval.d.ts.map +1 -1
- package/dist/eachMonthOfInterval.js +3 -2
- package/dist/eachWeekOfInterval.d.ts +1 -1
- package/dist/eachWeekOfInterval.d.ts.map +1 -1
- package/dist/eachWeekOfInterval.js +3 -2
- package/dist/eachYearOfInterval.d.ts +1 -1
- package/dist/eachYearOfInterval.d.ts.map +1 -1
- package/dist/eachYearOfInterval.js +3 -2
- package/dist/endOfDay.d.ts +1 -1
- package/dist/endOfDay.d.ts.map +1 -1
- package/dist/endOfDay.js +5 -4
- package/dist/endOfMonth.d.ts +1 -1
- package/dist/endOfMonth.d.ts.map +1 -1
- package/dist/endOfMonth.js +5 -4
- package/dist/endOfWeek.d.ts +1 -1
- package/dist/endOfWeek.d.ts.map +1 -1
- package/dist/endOfWeek.js +4 -3
- package/dist/endOfYear.d.ts +1 -1
- package/dist/endOfYear.d.ts.map +1 -1
- package/dist/endOfYear.js +5 -4
- package/dist/format.d.ts +1 -1
- package/dist/format.d.ts.map +1 -1
- package/dist/format.js +3 -2
- package/dist/formatPlainDate.d.ts +1 -1
- package/dist/formatPlainDate.d.ts.map +1 -1
- package/dist/formatPlainDate.js +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +89 -88
- package/dist/intlFormatDistance.d.ts.map +1 -1
- package/dist/intlFormatDistance.js +11 -10
- package/dist/isAfter.d.ts +1 -1
- package/dist/isAfter.d.ts.map +1 -1
- package/dist/isAfter.js +4 -3
- package/dist/isBefore.d.ts +1 -1
- package/dist/isBefore.d.ts.map +1 -1
- package/dist/isBefore.js +4 -3
- package/dist/isFuture.js +5 -4
- package/dist/isPast.js +5 -4
- package/dist/isPlainDateAfter.d.ts +1 -1
- package/dist/isPlainDateAfter.d.ts.map +1 -1
- package/dist/isPlainDateAfter.js +2 -1
- package/dist/isPlainDateBefore.d.ts +1 -1
- package/dist/isPlainDateBefore.d.ts.map +1 -1
- package/dist/isPlainDateBefore.js +2 -1
- package/dist/isPlainDateEqual.d.ts +1 -1
- package/dist/isPlainDateEqual.d.ts.map +1 -1
- package/dist/isPlainDateEqual.js +2 -1
- package/dist/isPlainTimeAfter.d.ts +1 -1
- package/dist/isPlainTimeAfter.d.ts.map +1 -1
- package/dist/isPlainTimeAfter.js +2 -1
- package/dist/isPlainTimeBefore.d.ts +1 -1
- package/dist/isPlainTimeBefore.d.ts.map +1 -1
- package/dist/isPlainTimeBefore.js +2 -1
- package/dist/isPlainTimeEqual.d.ts +1 -1
- package/dist/isPlainTimeEqual.d.ts.map +1 -1
- package/dist/isPlainTimeEqual.js +2 -1
- package/dist/isSameDay.d.ts +1 -1
- package/dist/isSameDay.d.ts.map +1 -1
- package/dist/isSameDay.js +3 -2
- package/dist/isSameHour.js +3 -2
- package/dist/isSameMicrosecond.js +3 -2
- package/dist/isSameMillisecond.js +3 -2
- package/dist/isSameMinute.js +3 -2
- package/dist/isSameMonth.js +3 -2
- package/dist/isSameNanosecond.js +3 -2
- package/dist/isSameSecond.js +3 -2
- package/dist/isSameWeek.js +3 -2
- package/dist/isSameYear.js +3 -2
- package/dist/isWithinInterval.d.ts +1 -1
- package/dist/isWithinInterval.d.ts.map +1 -1
- package/dist/isWithinInterval.js +5 -4
- package/dist/now.d.ts +1 -1
- package/dist/now.d.ts.map +1 -1
- package/dist/now.js +2 -1
- package/dist/roundToNearestHour.js +3 -2
- package/dist/roundToNearestMinute.js +3 -2
- package/dist/roundToNearestSecond.js +3 -2
- package/dist/shared/differenceInMilliseconds.d.ts +1 -1
- package/dist/shared/differenceInMilliseconds.d.ts.map +1 -1
- package/dist/shared/differenceInMilliseconds.js +2 -1
- package/dist/shared/differenceOptions.d.ts +16 -0
- package/dist/shared/differenceOptions.d.ts.map +1 -0
- package/dist/shared/differenceOptions.js +1 -0
- package/dist/shared/differenceOptions.js.map +1 -0
- package/dist/shared/isAfter.d.ts +1 -1
- package/dist/shared/isAfter.d.ts.map +1 -1
- package/dist/shared/isAfter.js +2 -1
- package/dist/shared/isBefore.d.ts +1 -1
- package/dist/shared/isBefore.d.ts.map +1 -1
- package/dist/shared/isBefore.js +2 -1
- package/dist/shared/normalizeTemporalInput.d.ts +1 -1
- package/dist/shared/normalizeTemporalInput.d.ts.map +1 -1
- package/dist/shared/normalizeTemporalInput.js +2 -1
- package/dist/shared/normalizeWithPlainDate.d.ts +1 -1
- package/dist/shared/normalizeWithPlainDate.d.ts.map +1 -1
- package/dist/shared/normalizeWithPlainDate.js +4 -3
- package/dist/shared/nowZoned.d.ts +1 -1
- package/dist/shared/nowZoned.d.ts.map +1 -1
- package/dist/shared/nowZoned.js +3 -2
- package/dist/shared/plainDateToZonedDateTime.d.ts +1 -1
- package/dist/shared/plainDateToZonedDateTime.d.ts.map +1 -1
- package/dist/shared/plainDateToZonedDateTime.js +2 -1
- package/dist/shared/temporal.d.ts +37 -0
- package/dist/shared/temporal.d.ts.map +1 -0
- package/dist/shared/temporal.js +13 -0
- package/dist/shared/temporal.js.map +1 -0
- package/dist/shared/temporal.test.d.ts +2 -0
- package/dist/shared/temporal.test.d.ts.map +1 -0
- package/dist/simpleFormat.d.ts +1 -1
- package/dist/simpleFormat.d.ts.map +1 -1
- package/dist/simpleFormat.js +2 -1
- package/dist/startOfDay.d.ts +1 -1
- package/dist/startOfDay.d.ts.map +1 -1
- package/dist/startOfDay.js +5 -4
- package/dist/startOfMonth.d.ts +1 -1
- package/dist/startOfMonth.d.ts.map +1 -1
- package/dist/startOfMonth.js +5 -4
- package/dist/startOfWeek.d.ts +1 -1
- package/dist/startOfWeek.d.ts.map +1 -1
- package/dist/startOfWeek.js +4 -3
- package/dist/startOfYear.d.ts +1 -1
- package/dist/startOfYear.d.ts.map +1 -1
- package/dist/startOfYear.js +5 -4
- package/dist/subDays.js +4 -3
- package/dist/subHours.js +4 -3
- package/dist/subMicroseconds.js +4 -3
- package/dist/subMilliseconds.js +4 -3
- package/dist/subMinutes.js +4 -3
- package/dist/subMonths.js +4 -3
- package/dist/subNanoseconds.js +4 -3
- package/dist/subSeconds.js +4 -3
- package/dist/subWeeks.js +4 -3
- package/dist/subYears.js +4 -3
- package/dist/toDate.d.ts +1 -1
- package/dist/toDate.d.ts.map +1 -1
- package/dist/toDate.js +2 -1
- package/dist/toIso.d.ts +1 -1
- package/dist/toIso.d.ts.map +1 -1
- package/dist/toIso.js +2 -1
- package/dist/toIso9075.d.ts +1 -1
- package/dist/toIso9075.d.ts.map +1 -1
- package/dist/toIso9075.js +2 -1
- package/dist/toPlainDate.d.ts +1 -1
- package/dist/toPlainDate.d.ts.map +1 -1
- package/dist/toPlainDate.js +2 -1
- package/dist/toPlainTime.d.ts +1 -1
- package/dist/toPlainTime.d.ts.map +1 -1
- package/dist/toPlainTime.js +2 -1
- package/dist/toUtc.d.ts +1 -1
- package/dist/toUtc.d.ts.map +1 -1
- package/dist/toUtc.js +2 -1
- package/dist/toZonedTime.d.ts +1 -1
- package/dist/toZonedTime.d.ts.map +1 -1
- package/dist/toZonedTime.js +2 -1
- package/dist/today.d.ts +1 -1
- package/dist/today.d.ts.map +1 -1
- package/dist/today.js +2 -1
- package/package.json +1 -1
- package/dist/chunk-3A6X6WV5.js.map +0 -1
- package/dist/chunk-3TSFIPUR.js.map +0 -1
- package/dist/chunk-4E7OGJ3F.js.map +0 -1
- package/dist/chunk-4PSMM55Q.js.map +0 -1
- package/dist/chunk-5C3TQSWA.js.map +0 -1
- package/dist/chunk-6IP245MS.js.map +0 -1
- package/dist/chunk-776JOVV6.js.map +0 -1
- package/dist/chunk-7VLSSOVC.js.map +0 -1
- package/dist/chunk-AE36GX4F.js.map +0 -1
- package/dist/chunk-AJ4JBKJK.js.map +0 -1
- package/dist/chunk-AJEIDKVJ.js.map +0 -1
- package/dist/chunk-B2R2G5YK.js +0 -19
- package/dist/chunk-B2R2G5YK.js.map +0 -1
- package/dist/chunk-BIAPE4MR.js.map +0 -1
- package/dist/chunk-BPZ7BRJW.js.map +0 -1
- package/dist/chunk-BSV32PSO.js.map +0 -1
- package/dist/chunk-BUX26GTD.js.map +0 -1
- package/dist/chunk-BV6CLVSI.js.map +0 -1
- package/dist/chunk-CHW2EN2O.js.map +0 -1
- package/dist/chunk-DFLGGK4F.js.map +0 -1
- package/dist/chunk-DKYVFYWM.js.map +0 -1
- package/dist/chunk-EZ7NVTZI.js.map +0 -1
- package/dist/chunk-FSD3DDFC.js.map +0 -1
- package/dist/chunk-G2JUEBC5.js.map +0 -1
- package/dist/chunk-HFQUXON5.js.map +0 -1
- package/dist/chunk-HLGMUTFK.js.map +0 -1
- package/dist/chunk-HOCNCQTC.js.map +0 -1
- package/dist/chunk-JNA3AFOC.js.map +0 -1
- package/dist/chunk-KGVUENQO.js +0 -17
- package/dist/chunk-KGVUENQO.js.map +0 -1
- package/dist/chunk-KZB6NERH.js.map +0 -1
- package/dist/chunk-MJSZNWCV.js +0 -10
- package/dist/chunk-MJSZNWCV.js.map +0 -1
- package/dist/chunk-O6RIN7K3.js.map +0 -1
- package/dist/chunk-OABS374T.js.map +0 -1
- package/dist/chunk-OLEOU3XE.js.map +0 -1
- package/dist/chunk-OQ4CWKJT.js.map +0 -1
- package/dist/chunk-PMJD5N5J.js +0 -19
- package/dist/chunk-PMJD5N5J.js.map +0 -1
- package/dist/chunk-PVAOUYXF.js.map +0 -1
- package/dist/chunk-QFNGYTTH.js.map +0 -1
- package/dist/chunk-QVOEXF46.js +0 -19
- package/dist/chunk-QVOEXF46.js.map +0 -1
- package/dist/chunk-RBEW6PXR.js.map +0 -1
- package/dist/chunk-RW3C2677.js.map +0 -1
- package/dist/chunk-TGKWBQ7L.js.map +0 -1
- package/dist/chunk-TNCLJK4Y.js.map +0 -1
- package/dist/chunk-UJWM2BV2.js.map +0 -1
- package/dist/chunk-VZJGCDAG.js.map +0 -1
- package/dist/chunk-WUAIUEH7.js.map +0 -1
- package/dist/chunk-WY63VEXE.js.map +0 -1
- package/dist/chunk-X26WIJ6L.js.map +0 -1
- package/dist/chunk-Y7CIJQ67.js.map +0 -1
- package/dist/chunk-YIT6EMBC.js.map +0 -1
- package/dist/chunk-YQBM63DC.js.map +0 -1
- package/dist/chunk-ZC6KWXCW.js.map +0 -1
- package/dist/chunk-ZDA7GSWU.js.map +0 -1
- package/dist/chunk-ZGR4NZTS.js.map +0 -1
- package/dist/chunk-ZJQS7ZY7.js.map +0 -1
- /package/dist/{chunk-UBY22QWM.js.map → chunk-4ZRJ3EHQ.js.map} +0 -0
- /package/dist/{chunk-Q2F3HEXB.js.map → chunk-5HVHKQTJ.js.map} +0 -0
- /package/dist/{chunk-52NEOY34.js.map → chunk-7XVPK2AV.js.map} +0 -0
- /package/dist/{chunk-DT2EWLHU.js.map → chunk-BOGN7JC3.js.map} +0 -0
- /package/dist/{chunk-WVHAYLBW.js.map → chunk-CP4JNCMO.js.map} +0 -0
- /package/dist/{chunk-MMI2HHT7.js.map → chunk-DHJ353HR.js.map} +0 -0
- /package/dist/{chunk-4NJMCCUM.js.map → chunk-DJRIH2PX.js.map} +0 -0
- /package/dist/{chunk-YKBP3G7L.js.map → chunk-DN3V4IZC.js.map} +0 -0
- /package/dist/{chunk-EYO2ZJLH.js.map → chunk-DOGZ2WBH.js.map} +0 -0
- /package/dist/{chunk-L4SVABDH.js.map → chunk-G4COVQ5S.js.map} +0 -0
- /package/dist/{chunk-LDO6PRNJ.js.map → chunk-GEMTHX5S.js.map} +0 -0
- /package/dist/{chunk-S63QUP4W.js.map → chunk-I3RXBZP5.js.map} +0 -0
- /package/dist/{chunk-ADQTZVMH.js.map → chunk-IPWSPA4H.js.map} +0 -0
- /package/dist/{chunk-JOD4ATPE.js.map → chunk-JXBC2VU2.js.map} +0 -0
- /package/dist/{chunk-V27NUBXQ.js.map → chunk-KKMM6HYC.js.map} +0 -0
- /package/dist/{chunk-A5VVBYNT.js.map → chunk-KONRPZXK.js.map} +0 -0
- /package/dist/{chunk-CY746ZUQ.js.map → chunk-L2CNUS43.js.map} +0 -0
- /package/dist/{chunk-JA7SVLAF.js.map → chunk-LLN2SKGE.js.map} +0 -0
- /package/dist/{chunk-7ATM7AXL.js.map → chunk-OGNREZPA.js.map} +0 -0
- /package/dist/{chunk-ISHZRFVN.js.map → chunk-OPACRBGV.js.map} +0 -0
- /package/dist/{chunk-J6G2I2TU.js.map → chunk-OZYC3TAR.js.map} +0 -0
- /package/dist/{chunk-2XHAHSB6.js.map → chunk-PBT2OZJH.js.map} +0 -0
- /package/dist/{chunk-BH2YB4MV.js.map → chunk-PWPACA4G.js.map} +0 -0
- /package/dist/{chunk-HDBH7RTY.js.map → chunk-QGXK664C.js.map} +0 -0
- /package/dist/{chunk-JHRXY36W.js.map → chunk-QVXCG625.js.map} +0 -0
- /package/dist/{chunk-EEQ3REET.js.map → chunk-RSY3BI3P.js.map} +0 -0
- /package/dist/{chunk-NRD5HRZV.js.map → chunk-RTANLM3L.js.map} +0 -0
- /package/dist/{chunk-BQBLSXK2.js.map → chunk-SDCVBRJP.js.map} +0 -0
- /package/dist/{chunk-VLZ3HQQA.js.map → chunk-SQJTTKEI.js.map} +0 -0
- /package/dist/{chunk-PPB62JYV.js.map → chunk-TDZ3XUH7.js.map} +0 -0
- /package/dist/{chunk-XW5MLXX5.js.map → chunk-VVV5BNLP.js.map} +0 -0
- /package/dist/{chunk-AHMKY474.js.map → chunk-WJOGQ6IB.js.map} +0 -0
- /package/dist/{chunk-UJW2FPI4.js.map → chunk-XRZUPSUB.js.map} +0 -0
- /package/dist/{chunk-U4RNUZXO.js.map → chunk-ZKGR3F4F.js.map} +0 -0
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
|
+
import {
|
|
5
|
+
Temporal
|
|
6
|
+
} from "./chunk-VOZTLX5F.js";
|
|
4
7
|
|
|
5
8
|
// src/shared/nowZoned.ts
|
|
6
|
-
import { Temporal } from "@js-temporal/polyfill";
|
|
7
9
|
function nowZoned() {
|
|
8
10
|
return normalizeTemporalInput(Temporal.Now.instant());
|
|
9
11
|
}
|
|
@@ -11,4 +13,4 @@ function nowZoned() {
|
|
|
11
13
|
export {
|
|
12
14
|
nowZoned
|
|
13
15
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
16
|
+
//# sourceMappingURL=chunk-DTZPE5PM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/shared/nowZoned.ts"],"sourcesContent":["import { Temporal } from './temporal';\nimport { normalizeTemporalInput } from './normalizeTemporalInput';\n\nexport function nowZoned(): Temporal.ZonedDateTime {\n return normalizeTemporalInput(Temporal.Now.instant());\n}\n"],"mappings":";;;;;;;;AAGO,SAAS,WAAmC;AACjD,SAAO,uBAAuB,SAAS,IAAI,QAAQ,CAAC;AACtD;","names":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
differenceInMilliseconds
|
|
3
|
+
} from "./chunk-VXOQ7IG5.js";
|
|
4
|
+
import {
|
|
5
|
+
normalizeTemporalInput
|
|
6
|
+
} from "./chunk-F6EWMA4K.js";
|
|
7
|
+
|
|
8
|
+
// src/differenceInHours.ts
|
|
9
|
+
function differenceInHours(laterDate, earlierDate, options) {
|
|
10
|
+
const zoned1 = normalizeTemporalInput(laterDate);
|
|
11
|
+
const zoned2 = normalizeTemporalInput(earlierDate);
|
|
12
|
+
const precise = differenceInMilliseconds(zoned1, zoned2) / 36e5;
|
|
13
|
+
return options?.fractional ? precise : Math.trunc(precise);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
differenceInHours
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=chunk-ERCE3YCO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/differenceInHours.ts"],"sourcesContent":["import { Temporal } from './shared/temporal';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\nimport { differenceInMilliseconds } from './shared/differenceInMilliseconds';\nimport type { DifferenceOptions } from './shared/differenceOptions';\n\n/**\n * Returns the number of hours between two datetimes.\n * The result is positive if laterDate is after earlierDate, negative if before.\n *\n * @param laterDate - The later datetime (Instant or ZonedDateTime)\n * @param earlierDate - The earlier datetime (Instant or ZonedDateTime)\n * @param options - Optional { fractional } to return the precise value\n * @returns The number of hours between the dates, truncated toward zero (pass { fractional: true } for the precise value)\n *\n * @example\n * ```ts\n * const later = Temporal.Instant.from('2025-01-20T18:00:00Z');\n * const earlier = Temporal.Instant.from('2025-01-20T15:00:00Z');\n *\n * differenceInHours(later, earlier); // 3\n * ```\n *\n * @example\n * ```ts\n * // Works with ZonedDateTime\n * const later = Temporal.ZonedDateTime.from('2025-01-21T00:00:00-05:00[America/New_York]');\n * const earlier = Temporal.ZonedDateTime.from('2025-01-20T15:00:00-05:00[America/New_York]');\n *\n * differenceInHours(later, earlier); // 9\n * ```\n *\n * @example\n * ```ts\n * // Handles different timezones - compares by instant\n * const tokyo = Temporal.ZonedDateTime.from('2025-01-21T00:00:00+09:00[Asia/Tokyo]');\n * const ny = Temporal.ZonedDateTime.from('2025-01-20T10:00:00-05:00[America/New_York]');\n *\n * differenceInHours(tokyo, ny); // 0 (same instant)\n * ```\n */\nexport function differenceInHours(\n laterDate: Temporal.Instant | Temporal.ZonedDateTime,\n earlierDate: Temporal.Instant | Temporal.ZonedDateTime,\n options?: DifferenceOptions\n): number {\n const zoned1 = normalizeTemporalInput(laterDate);\n const zoned2 = normalizeTemporalInput(earlierDate);\n\n const precise = differenceInMilliseconds(zoned1, zoned2) / 3600000;\n return options?.fractional ? precise : Math.trunc(precise);\n}\n"],"mappings":";;;;;;;;AAwCO,SAAS,kBACd,WACA,aACA,SACQ;AACR,QAAM,SAAS,uBAAuB,SAAS;AAC/C,QAAM,SAAS,uBAAuB,WAAW;AAEjD,QAAM,UAAU,yBAAyB,QAAQ,MAAM,IAAI;AAC3D,SAAO,SAAS,aAAa,UAAU,KAAK,MAAM,OAAO;AAC3D;","names":[]}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/differenceInDays.ts
|
|
6
|
-
|
|
7
|
-
function differenceInDays(laterDate, earlierDate) {
|
|
6
|
+
function differenceInDays(laterDate, earlierDate, options) {
|
|
8
7
|
const zoned1 = normalizeTemporalInput(laterDate);
|
|
9
8
|
const zoned2 = normalizeTemporalInput(earlierDate);
|
|
10
9
|
const duration = zoned2.until(zoned1, { largestUnit: "hours" });
|
|
11
|
-
|
|
10
|
+
const precise = duration.total({ unit: "days", relativeTo: zoned2 });
|
|
11
|
+
return options?.fractional ? precise : Math.trunc(precise);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export {
|
|
15
15
|
differenceInDays
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-ESTLMF2X.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/differenceInDays.ts"],"sourcesContent":["import { Temporal } from './shared/temporal';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\nimport type { DifferenceOptions } from './shared/differenceOptions';\n\n/**\n * Returns the number of days between two datetimes.\n * The result is positive if laterDate is after earlierDate, negative if before.\n *\n * This function uses calendar-aware calculation, which means it properly handles\n * DST transitions where days can be 23, 24, or 25 hours long.\n *\n * Instant inputs are converted to UTC for calendar calculations.\n * For ZonedDateTime inputs, their timezone is preserved.\n *\n * @param laterDate - The later datetime (Instant or ZonedDateTime)\n * @param earlierDate - The earlier datetime (Instant or ZonedDateTime)\n * @param options - Optional { fractional } to return the precise value\n * @returns The number of days between the dates, truncated toward zero (pass { fractional: true } for the precise value)\n *\n * @example\n * ```ts\n * const later = Temporal.Instant.from('2025-01-25T12:00:00Z');\n * const earlier = Temporal.Instant.from('2025-01-20T12:00:00Z');\n *\n * differenceInDays(later, earlier); // 5\n * ```\n *\n * @example\n * ```ts\n * // Works with ZonedDateTime\n * const later = Temporal.ZonedDateTime.from('2025-01-25T15:00:00-05:00[America/New_York]');\n * const earlier = Temporal.ZonedDateTime.from('2025-01-20T15:00:00-05:00[America/New_York]');\n *\n * differenceInDays(later, earlier); // 5\n * ```\n *\n * @example\n * ```ts\n * // Handles DST transitions correctly\n * const afterDst = Temporal.ZonedDateTime.from('2025-03-10T12:00:00-04:00[America/New_York]');\n * const beforeDst = Temporal.ZonedDateTime.from('2025-03-08T12:00:00-05:00[America/New_York]');\n *\n * differenceInDays(afterDst, beforeDst); // 2 (calendar days, not 48 hours)\n * ```\n */\nexport function differenceInDays(\n laterDate: Temporal.Instant | Temporal.ZonedDateTime,\n earlierDate: Temporal.Instant | Temporal.ZonedDateTime,\n options?: DifferenceOptions\n): number {\n const zoned1 = normalizeTemporalInput(laterDate);\n const zoned2 = normalizeTemporalInput(earlierDate);\n\n const duration = zoned2.until(zoned1, { largestUnit: 'hours' });\n const precise = duration.total({ unit: 'days', relativeTo: zoned2 });\n return options?.fractional ? precise : Math.trunc(precise);\n}\n"],"mappings":";;;;;AA6CO,SAAS,iBACd,WACA,aACA,SACQ;AACR,QAAM,SAAS,uBAAuB,SAAS;AAC/C,QAAM,SAAS,uBAAuB,WAAW;AAEjD,QAAM,WAAW,OAAO,MAAM,QAAQ,EAAE,aAAa,QAAQ,CAAC;AAC9D,QAAM,UAAU,SAAS,MAAM,EAAE,MAAM,QAAQ,YAAY,OAAO,CAAC;AACnE,SAAO,SAAS,aAAa,UAAU,KAAK,MAAM,OAAO;AAC3D;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isInstant
|
|
3
|
+
} from "./chunk-VOZTLX5F.js";
|
|
4
|
+
|
|
5
|
+
// src/shared/normalizeTemporalInput.ts
|
|
6
|
+
function normalizeTemporalInput(input) {
|
|
7
|
+
return isInstant(input) ? input.toZonedDateTimeISO("UTC") : input;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
normalizeTemporalInput
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-F6EWMA4K.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/shared/normalizeTemporalInput.ts"],"sourcesContent":["import { isInstant } from './temporal';\nimport type { Temporal } from '@js-temporal/polyfill';\n\n/**\n * @internal\n * Normalizes input to ZonedDateTime. Converts Instant to UTC, or returns existing ZonedDateTime.\n * This is an internal helper - do not use directly.\n */\nexport function normalizeTemporalInput(\n input: Temporal.Instant | Temporal.ZonedDateTime\n): Temporal.ZonedDateTime {\n return isInstant(input)\n ? input.toZonedDateTimeISO('UTC')\n : input;\n}\n"],"mappings":";;;;;AAQO,SAAS,uBACd,OACwB;AACxB,SAAO,UAAU,KAAK,IAClB,MAAM,mBAAmB,KAAK,IAC9B;AACN;","names":[]}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAfter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C5HDCIRV.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeTemporalInput
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-F6EWMA4K.js";
|
|
7
7
|
|
|
8
8
|
// src/isAfter.ts
|
|
9
|
-
import "@js-temporal/polyfill";
|
|
10
9
|
function isAfter2(date1, date2) {
|
|
11
10
|
const zoned1 = normalizeTemporalInput(date1);
|
|
12
11
|
const zoned2 = normalizeTemporalInput(date2);
|
|
@@ -16,4 +15,4 @@ function isAfter2(date1, date2) {
|
|
|
16
15
|
export {
|
|
17
16
|
isAfter2 as isAfter
|
|
18
17
|
};
|
|
19
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-FEUIZJOV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/isAfter.ts"],"sourcesContent":["import { Temporal } from './shared/temporal';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\nimport { isAfter as isAfterInternal } from './shared/isAfter';\n\n/**\n * Returns true if the first datetime is after the second datetime.\n * Compares by the underlying instant (epoch time), not by calendar date/time.\n *\n * @param date1 - First datetime (Instant or ZonedDateTime)\n * @param date2 - Second datetime (Instant or ZonedDateTime)\n * @returns true if date1 is after date2, false otherwise\n *\n * @example\n * ```ts\n * const earlier = Temporal.ZonedDateTime.from('2025-01-20T10:00:00-05:00[America/New_York]');\n * const later = Temporal.ZonedDateTime.from('2025-01-20T16:00:00-05:00[America/New_York]');\n *\n * isAfter(later, earlier); // true\n * isAfter(earlier, later); // false\n * isAfter(earlier, earlier); // false\n * ```\n *\n * @example\n * ```ts\n * // Works with Instant too\n * const instant1 = Temporal.Instant.from('2025-01-20T15:00:00Z');\n * const instant2 = Temporal.Instant.from('2025-01-20T16:00:00Z');\n *\n * isAfter(instant2, instant1); // true\n * ```\n *\n * @example\n * ```ts\n * // Different timezones - compares by instant\n * const ny = Temporal.ZonedDateTime.from('2025-01-20T10:00:00-05:00[America/New_York]');\n * const tokyo = Temporal.ZonedDateTime.from('2025-01-21T00:00:00+09:00[Asia/Tokyo]');\n *\n * isAfter(tokyo, ny); // false\n * // NY 10:00 is 15:00 UTC, Tokyo 00:00 is 15:00 UTC the previous day (same instant)\n * ```\n */\nexport function isAfter(\n date1: Temporal.Instant | Temporal.ZonedDateTime,\n date2: Temporal.Instant | Temporal.ZonedDateTime\n): boolean {\n const zoned1 = normalizeTemporalInput(date1);\n const zoned2 = normalizeTemporalInput(date2);\n\n return isAfterInternal(zoned1, zoned2);\n}\n"],"mappings":";;;;;;;;AAyCO,SAASA,SACd,OACA,OACS;AACT,QAAM,SAAS,uBAAuB,KAAK;AAC3C,QAAM,SAAS,uBAAuB,KAAK;AAE3C,SAAO,QAAgB,QAAQ,MAAM;AACvC;","names":["isAfter"]}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/differenceInMicroseconds.ts
|
|
6
|
-
import "@js-temporal/polyfill";
|
|
7
6
|
function differenceInMicroseconds(laterDate, earlierDate) {
|
|
8
7
|
const zoned1 = normalizeTemporalInput(laterDate);
|
|
9
8
|
const zoned2 = normalizeTemporalInput(earlierDate);
|
|
@@ -14,4 +13,4 @@ function differenceInMicroseconds(laterDate, earlierDate) {
|
|
|
14
13
|
export {
|
|
15
14
|
differenceInMicroseconds
|
|
16
15
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
16
|
+
//# sourceMappingURL=chunk-FIX6LQG5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/differenceInMicroseconds.ts"],"sourcesContent":["import { Temporal } from './shared/temporal';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\n\n/**\n * Returns the number of microseconds between two datetimes.\n * The result is positive if laterDate is after earlierDate, negative if before.\n *\n * @param laterDate - The later datetime (Instant or ZonedDateTime)\n * @param earlierDate - The earlier datetime (Instant or ZonedDateTime)\n * @returns The number of microseconds between the dates\n *\n * @example\n * ```ts\n * const later = Temporal.Instant.from('2025-01-20T12:30:20.001000Z');\n * const earlier = Temporal.Instant.from('2025-01-20T12:30:20.000000Z');\n *\n * differenceInMicroseconds(later, earlier); // 1000\n * ```\n *\n * @example\n * ```ts\n * // Works with ZonedDateTime\n * const later = Temporal.ZonedDateTime.from('2025-01-20T15:00:00.000500-05:00[America/New_York]');\n * const earlier = Temporal.ZonedDateTime.from('2025-01-20T15:00:00.000000-05:00[America/New_York]');\n *\n * differenceInMicroseconds(later, earlier); // 500\n * ```\n *\n * @example\n * ```ts\n * // Handles different timezones - compares by instant\n * const tokyo = Temporal.ZonedDateTime.from('2025-01-21T00:00:00+09:00[Asia/Tokyo]');\n * const ny = Temporal.ZonedDateTime.from('2025-01-20T10:00:00-05:00[America/New_York]');\n *\n * differenceInMicroseconds(tokyo, ny); // 0 (same instant)\n * ```\n */\nexport function differenceInMicroseconds(\n laterDate: Temporal.Instant | Temporal.ZonedDateTime,\n earlierDate: Temporal.Instant | Temporal.ZonedDateTime\n): number {\n const zoned1 = normalizeTemporalInput(laterDate);\n const zoned2 = normalizeTemporalInput(earlierDate);\n\n const diffNanos = zoned1.epochNanoseconds - zoned2.epochNanoseconds;\n return Number(diffNanos / 1000n);\n}\n"],"mappings":";;;;;AAqCO,SAAS,yBACd,WACA,aACQ;AACR,QAAM,SAAS,uBAAuB,SAAS;AAC/C,QAAM,SAAS,uBAAuB,WAAW;AAEjD,QAAM,YAAY,OAAO,mBAAmB,OAAO;AACnD,SAAO,OAAO,YAAY,KAAK;AACjC;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/addDays.ts
|
|
6
6
|
function addDays(input, days) {
|
|
@@ -11,4 +11,4 @@ function addDays(input, days) {
|
|
|
11
11
|
export {
|
|
12
12
|
addDays
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-G4COVQ5S.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/isSameMinute.ts
|
|
6
6
|
function isSameMinute(date1, date2) {
|
|
@@ -12,4 +12,4 @@ function isSameMinute(date1, date2) {
|
|
|
12
12
|
export {
|
|
13
13
|
isSameMinute
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-GEMTHX5S.js.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeWithPlainDate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y4HT4LCB.js";
|
|
4
4
|
|
|
5
5
|
// src/startOfYear.ts
|
|
6
|
-
import "@js-temporal/polyfill";
|
|
7
6
|
function startOfYear(input, timezone) {
|
|
8
7
|
const zonedDateTime = normalizeWithPlainDate(input, timezone);
|
|
9
8
|
const firstDay = zonedDateTime.with({ month: 1, day: 1 });
|
|
@@ -13,4 +12,4 @@ function startOfYear(input, timezone) {
|
|
|
13
12
|
export {
|
|
14
13
|
startOfYear
|
|
15
14
|
};
|
|
16
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-GS3J5YVW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/startOfYear.ts"],"sourcesContent":["import { Temporal } from './shared/temporal';\nimport type { Timezone } from './types';\nimport { normalizeWithPlainDate } from './shared/normalizeWithPlainDate';\n\n/**\n * Returns a ZonedDateTime representing the first moment of the year (January 1 at midnight).\n *\n * @param input - A Temporal.Instant (UTC) or Temporal.ZonedDateTime\n * @returns ZonedDateTime at January 1st at 00:00:00.000000000\n *\n * @example\n * ```ts\n * // From Instant (always UTC)\n * const instant = Temporal.Instant.from('2025-06-15T12:00:00Z');\n * const start = startOfYear(instant);\n * // 2025-01-01T00:00:00Z[UTC]\n * ```\n *\n * @example\n * ```ts\n * // From ZonedDateTime (uses its timezone)\n * const zoned = Temporal.ZonedDateTime.from('2025-06-15T15:30:00-05:00[America/New_York]');\n * const start = startOfYear(zoned);\n * // 2025-01-01T00:00:00-05:00[America/New_York]\n * ```\n *\n * @example\n * ```ts\n * // From PlainDate (requires timezone)\n * const date = Temporal.PlainDate.from('2025-06-15');\n * const start = startOfYear(date, 'America/New_York');\n * // 2025-01-01T00:00:00-05:00[America/New_York]\n * ```\n */\nexport function startOfYear(\n input: Temporal.Instant | Temporal.ZonedDateTime\n): Temporal.ZonedDateTime;\nexport function startOfYear(\n input: Temporal.PlainDate,\n timezone: Timezone\n): Temporal.ZonedDateTime;\nexport function startOfYear(\n input: Temporal.Instant | Temporal.ZonedDateTime | Temporal.PlainDate,\n timezone?: Timezone\n): Temporal.ZonedDateTime {\n const zonedDateTime = normalizeWithPlainDate(input, timezone!);\n const firstDay = zonedDateTime.with({ month: 1, day: 1 });\n return firstDay.startOfDay();\n}\n"],"mappings":";;;;;AAyCO,SAAS,YACd,OACA,UACwB;AACxB,QAAM,gBAAgB,uBAAuB,OAAO,QAAS;AAC7D,QAAM,WAAW,cAAc,KAAK,EAAE,OAAO,GAAG,KAAK,EAAE,CAAC;AACxD,SAAO,SAAS,WAAW;AAC7B;","names":[]}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
|
+
import {
|
|
5
|
+
Temporal
|
|
6
|
+
} from "./chunk-VOZTLX5F.js";
|
|
4
7
|
|
|
5
8
|
// src/eachDayOfInterval.ts
|
|
6
|
-
import { Temporal } from "@js-temporal/polyfill";
|
|
7
9
|
function eachDayOfInterval(interval) {
|
|
8
10
|
const startZoned = normalizeTemporalInput(interval.start);
|
|
9
11
|
const endZoned = normalizeTemporalInput(interval.end);
|
|
@@ -22,4 +24,4 @@ function eachDayOfInterval(interval) {
|
|
|
22
24
|
export {
|
|
23
25
|
eachDayOfInterval
|
|
24
26
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-GVZOCS7O.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/eachDayOfInterval.ts"],"sourcesContent":["import { Temporal } from './shared/temporal';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\n\n/**\n * Returns an array of ZonedDateTime objects for each calendar day within the interval.\n * Each element represents the start of day (midnight) in the timezone of the interval start.\n * The interval is inclusive of both start and end days.\n *\n * For Instant inputs, UTC is used as the timezone.\n * For ZonedDateTime inputs, the timezone of the start date is preserved.\n *\n * @param interval - The interval with start and end datetimes\n * @returns Array of ZonedDateTime at start of each day in the interval\n *\n * @example\n * ```ts\n * const start = Temporal.ZonedDateTime.from('2025-01-06T10:00:00Z[UTC]');\n * const end = Temporal.ZonedDateTime.from('2025-01-10T14:00:00Z[UTC]');\n *\n * const days = eachDayOfInterval({ start, end });\n * // [\n * // 2025-01-06T00:00:00Z[UTC],\n * // 2025-01-07T00:00:00Z[UTC],\n * // 2025-01-08T00:00:00Z[UTC],\n * // 2025-01-09T00:00:00Z[UTC],\n * // 2025-01-10T00:00:00Z[UTC]\n * // ]\n * ```\n *\n * @example\n * ```ts\n * // With timezone - preserves the timezone from start\n * const start = Temporal.ZonedDateTime.from('2025-01-06T10:00:00-05:00[America/New_York]');\n * const end = Temporal.ZonedDateTime.from('2025-01-08T14:00:00-05:00[America/New_York]');\n *\n * const days = eachDayOfInterval({ start, end });\n * // [\n * // 2025-01-06T00:00:00-05:00[America/New_York],\n * // 2025-01-07T00:00:00-05:00[America/New_York],\n * // 2025-01-08T00:00:00-05:00[America/New_York]\n * // ]\n * ```\n *\n * @example\n * ```ts\n * // With Instant (uses UTC)\n * const start = Temporal.Instant.from('2025-01-06T00:00:00Z');\n * const end = Temporal.Instant.from('2025-01-08T00:00:00Z');\n *\n * const days = eachDayOfInterval({ start, end });\n * // [\n * // 2025-01-06T00:00:00Z[UTC],\n * // 2025-01-07T00:00:00Z[UTC],\n * // 2025-01-08T00:00:00Z[UTC]\n * // ]\n * ```\n *\n * @example\n * ```ts\n * // Single day interval\n * const date = Temporal.ZonedDateTime.from('2025-01-15T12:00:00Z[UTC]');\n *\n * eachDayOfInterval({ start: date, end: date });\n * // [2025-01-15T00:00:00Z[UTC]]\n * ```\n */\nexport function eachDayOfInterval(interval: {\n start: Temporal.Instant | Temporal.ZonedDateTime;\n end: Temporal.Instant | Temporal.ZonedDateTime;\n}): Temporal.ZonedDateTime[] {\n const startZoned = normalizeTemporalInput(interval.start);\n const endZoned = normalizeTemporalInput(interval.end);\n\n const timezone = startZoned.timeZoneId;\n const startDate = startZoned.toPlainDate();\n const endDate = endZoned.withTimeZone(timezone).toPlainDate();\n\n const days: Temporal.ZonedDateTime[] = [];\n let current = startDate;\n\n while (Temporal.PlainDate.compare(current, endDate) <= 0) {\n days.push(current.toZonedDateTime({ timeZone: timezone, plainTime: new Temporal.PlainTime() }));\n current = current.add({ days: 1 });\n }\n\n return days;\n}\n"],"mappings":";;;;;;;;AAkEO,SAAS,kBAAkB,UAGL;AAC3B,QAAM,aAAa,uBAAuB,SAAS,KAAK;AACxD,QAAM,WAAW,uBAAuB,SAAS,GAAG;AAEpD,QAAM,WAAW,WAAW;AAC5B,QAAM,YAAY,WAAW,YAAY;AACzC,QAAM,UAAU,SAAS,aAAa,QAAQ,EAAE,YAAY;AAE5D,QAAM,OAAiC,CAAC;AACxC,MAAI,UAAU;AAEd,SAAO,SAAS,UAAU,QAAQ,SAAS,OAAO,KAAK,GAAG;AACxD,SAAK,KAAK,QAAQ,gBAAgB,EAAE,UAAU,UAAU,WAAW,IAAI,SAAS,UAAU,EAAE,CAAC,CAAC;AAC9F,cAAU,QAAQ,IAAI,EAAE,MAAM,EAAE,CAAC;AAAA,EACnC;AAEA,SAAO;AACT;","names":[]}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/differenceInMonths.ts
|
|
6
|
-
|
|
7
|
-
function differenceInMonths(laterDate, earlierDate) {
|
|
6
|
+
function differenceInMonths(laterDate, earlierDate, options) {
|
|
8
7
|
const zoned1 = normalizeTemporalInput(laterDate);
|
|
9
8
|
const zoned2 = normalizeTemporalInput(earlierDate);
|
|
10
9
|
const duration = zoned2.until(zoned1, { largestUnit: "hours" });
|
|
11
|
-
|
|
10
|
+
const precise = duration.total({ unit: "months", relativeTo: zoned2 });
|
|
11
|
+
return options?.fractional ? precise : Math.trunc(precise);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export {
|
|
15
15
|
differenceInMonths
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-HHPXUFZP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/differenceInMonths.ts"],"sourcesContent":["import { Temporal } from './shared/temporal';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\nimport type { DifferenceOptions } from './shared/differenceOptions';\n\n/**\n * Returns the number of months between two datetimes.\n * The result is positive if laterDate is after earlierDate, negative if before.\n *\n * This function uses calendar-aware calculation, which means it properly handles\n * months with different numbers of days (28, 29, 30, or 31).\n *\n * Instant inputs are converted to UTC for calendar calculations.\n * For ZonedDateTime inputs, their timezone is preserved.\n *\n * @param laterDate - The later datetime (Instant or ZonedDateTime)\n * @param earlierDate - The earlier datetime (Instant or ZonedDateTime)\n * @param options - Optional { fractional } to return the precise value\n * @returns The number of months between the dates, truncated toward zero (pass { fractional: true } for the precise value)\n *\n * @example\n * ```ts\n * const later = Temporal.Instant.from('2025-04-20T12:00:00Z');\n * const earlier = Temporal.Instant.from('2025-01-20T12:00:00Z');\n *\n * differenceInMonths(later, earlier); // 3\n * ```\n *\n * @example\n * ```ts\n * // Works with ZonedDateTime\n * const later = Temporal.ZonedDateTime.from('2025-06-15T15:00:00-05:00[America/New_York]');\n * const earlier = Temporal.ZonedDateTime.from('2025-01-15T15:00:00-05:00[America/New_York]');\n *\n * differenceInMonths(later, earlier); // 5\n * ```\n *\n * @example\n * ```ts\n * // Pass { fractional: true } for partial-unit precision\n * const later = Temporal.Instant.from('2025-02-05T12:00:00Z');\n * const earlier = Temporal.Instant.from('2025-01-20T12:00:00Z');\n *\n * differenceInMonths(later, earlier); // 0\n * differenceInMonths(later, earlier, { fractional: true }); // ~0.5\n * ```\n */\nexport function differenceInMonths(\n laterDate: Temporal.Instant | Temporal.ZonedDateTime,\n earlierDate: Temporal.Instant | Temporal.ZonedDateTime,\n options?: DifferenceOptions\n): number {\n const zoned1 = normalizeTemporalInput(laterDate);\n const zoned2 = normalizeTemporalInput(earlierDate);\n\n const duration = zoned2.until(zoned1, { largestUnit: 'hours' });\n const precise = duration.total({ unit: 'months', relativeTo: zoned2 });\n return options?.fractional ? precise : Math.trunc(precise);\n}\n"],"mappings":";;;;;AA8CO,SAAS,mBACd,WACA,aACA,SACQ;AACR,QAAM,SAAS,uBAAuB,SAAS;AAC/C,QAAM,SAAS,uBAAuB,WAAW;AAEjD,QAAM,WAAW,OAAO,MAAM,QAAQ,EAAE,aAAa,QAAQ,CAAC;AAC9D,QAAM,UAAU,SAAS,MAAM,EAAE,MAAM,UAAU,YAAY,OAAO,CAAC;AACrE,SAAO,SAAS,aAAa,UAAU,KAAK,MAAM,OAAO;AAC3D;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/isSameNanosecond.ts
|
|
6
6
|
function isSameNanosecond(date1, date2) {
|
|
@@ -12,4 +12,4 @@ function isSameNanosecond(date1, date2) {
|
|
|
12
12
|
export {
|
|
13
13
|
isSameNanosecond
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-I3RXBZP5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/isSameMonth.ts
|
|
6
6
|
function isSameMonth(date1, date2) {
|
|
@@ -12,4 +12,4 @@ function isSameMonth(date1, date2) {
|
|
|
12
12
|
export {
|
|
13
13
|
isSameMonth
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-IPWSPA4H.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
differenceInMilliseconds
|
|
3
|
+
} from "./chunk-VXOQ7IG5.js";
|
|
4
|
+
import {
|
|
5
|
+
normalizeTemporalInput
|
|
6
|
+
} from "./chunk-F6EWMA4K.js";
|
|
7
|
+
|
|
8
|
+
// src/differenceInMinutes.ts
|
|
9
|
+
function differenceInMinutes(laterDate, earlierDate, options) {
|
|
10
|
+
const zoned1 = normalizeTemporalInput(laterDate);
|
|
11
|
+
const zoned2 = normalizeTemporalInput(earlierDate);
|
|
12
|
+
const precise = differenceInMilliseconds(zoned1, zoned2) / 6e4;
|
|
13
|
+
return options?.fractional ? precise : Math.trunc(precise);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
differenceInMinutes
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=chunk-JVB5IARQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/differenceInMinutes.ts"],"sourcesContent":["import { Temporal } from './shared/temporal';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\nimport { differenceInMilliseconds } from './shared/differenceInMilliseconds';\nimport type { DifferenceOptions } from './shared/differenceOptions';\n\n/**\n * Returns the number of minutes between two datetimes.\n * The result is positive if laterDate is after earlierDate, negative if before.\n *\n * @param laterDate - The later datetime (Instant or ZonedDateTime)\n * @param earlierDate - The earlier datetime (Instant or ZonedDateTime)\n * @param options - Optional { fractional } to return the precise value\n * @returns The number of minutes between the dates, truncated toward zero (pass { fractional: true } for the precise value)\n *\n * @example\n * ```ts\n * const later = Temporal.Instant.from('2025-01-20T12:45:00Z');\n * const earlier = Temporal.Instant.from('2025-01-20T12:30:00Z');\n *\n * differenceInMinutes(later, earlier); // 15\n * ```\n *\n * @example\n * ```ts\n * // Works with ZonedDateTime\n * const later = Temporal.ZonedDateTime.from('2025-01-20T16:00:00-05:00[America/New_York]');\n * const earlier = Temporal.ZonedDateTime.from('2025-01-20T15:00:00-05:00[America/New_York]');\n *\n * differenceInMinutes(later, earlier); // 60\n * ```\n *\n * @example\n * ```ts\n * // Handles different timezones - compares by instant\n * const tokyo = Temporal.ZonedDateTime.from('2025-01-21T00:00:00+09:00[Asia/Tokyo]');\n * const ny = Temporal.ZonedDateTime.from('2025-01-20T10:00:00-05:00[America/New_York]');\n *\n * differenceInMinutes(tokyo, ny); // 0 (same instant)\n * ```\n */\nexport function differenceInMinutes(\n laterDate: Temporal.Instant | Temporal.ZonedDateTime,\n earlierDate: Temporal.Instant | Temporal.ZonedDateTime,\n options?: DifferenceOptions\n): number {\n const zoned1 = normalizeTemporalInput(laterDate);\n const zoned2 = normalizeTemporalInput(earlierDate);\n\n const precise = differenceInMilliseconds(zoned1, zoned2) / 60000;\n return options?.fractional ? precise : Math.trunc(precise);\n}\n"],"mappings":";;;;;;;;AAwCO,SAAS,oBACd,WACA,aACA,SACQ;AACR,QAAM,SAAS,uBAAuB,SAAS;AAC/C,QAAM,SAAS,uBAAuB,WAAW;AAEjD,QAAM,UAAU,yBAAyB,QAAQ,MAAM,IAAI;AAC3D,SAAO,SAAS,aAAa,UAAU,KAAK,MAAM,OAAO;AAC3D;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/isSameWeek.ts
|
|
6
6
|
function isSameWeek(date1, date2) {
|
|
@@ -12,4 +12,4 @@ function isSameWeek(date1, date2) {
|
|
|
12
12
|
export {
|
|
13
13
|
isSameWeek
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-JXBC2VU2.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/addMicroseconds.ts
|
|
6
6
|
function addMicroseconds(input, microseconds) {
|
|
@@ -11,4 +11,4 @@ function addMicroseconds(input, microseconds) {
|
|
|
11
11
|
export {
|
|
12
12
|
addMicroseconds
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-KKMM6HYC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/addMilliseconds.ts
|
|
6
6
|
function addMilliseconds(input, milliseconds) {
|
|
@@ -11,4 +11,4 @@ function addMilliseconds(input, milliseconds) {
|
|
|
11
11
|
export {
|
|
12
12
|
addMilliseconds
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-KONRPZXK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/isSameSecond.ts
|
|
6
6
|
function isSameSecond(date1, date2) {
|
|
@@ -12,4 +12,4 @@ function isSameSecond(date1, date2) {
|
|
|
12
12
|
export {
|
|
13
13
|
isSameSecond
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-L2CNUS43.js.map
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Temporal
|
|
3
|
+
} from "./chunk-VOZTLX5F.js";
|
|
4
|
+
|
|
1
5
|
// src/today.ts
|
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
|
3
6
|
function today(timezone) {
|
|
4
7
|
return Temporal.Now.zonedDateTimeISO(timezone).toPlainDate();
|
|
5
8
|
}
|
|
@@ -7,4 +10,4 @@ function today(timezone) {
|
|
|
7
10
|
export {
|
|
8
11
|
today
|
|
9
12
|
};
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
13
|
+
//# sourceMappingURL=chunk-LGLV7RIC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/today.ts"],"sourcesContent":["import { Temporal } from './shared/temporal';\nimport type { Timezone } from './types';\n\n/**\n * Get today's date in the specified timezone.\n *\n * @param timezone - IANA timezone identifier (e.g., \"America/New_York\", \"Europe/London\") or \"UTC\"\n * @returns A Temporal.PlainDate representing today's date\n *\n * @example\n * ```typescript\n * import { today, browserTimezone } from '@gobrand/tiempo';\n *\n * // Server-side: Get today in UTC\n * const todayUtc = today(\"UTC\");\n *\n * // Server-side: Get today in user's timezone (from DB/preferences)\n * const todayUser = today(user.timezone);\n *\n * // Client-side: Get today in browser's timezone\n * const todayLocal = today(browserTimezone());\n *\n * // Get today in a specific timezone\n * const todayInMadrid = today(\"Europe/Madrid\");\n * ```\n */\nexport function today(timezone: Timezone): Temporal.PlainDate {\n return Temporal.Now.zonedDateTimeISO(timezone).toPlainDate();\n}\n"],"mappings":";;;;;AA0BO,SAAS,MAAM,UAAwC;AAC5D,SAAO,SAAS,IAAI,iBAAiB,QAAQ,EAAE,YAAY;AAC7D;","names":[]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAfter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C5HDCIRV.js";
|
|
4
4
|
import {
|
|
5
5
|
nowZoned
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DTZPE5PM.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeTemporalInput
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-F6EWMA4K.js";
|
|
10
10
|
|
|
11
11
|
// src/isFuture.ts
|
|
12
12
|
function isFuture(date) {
|
|
@@ -17,4 +17,4 @@ function isFuture(date) {
|
|
|
17
17
|
export {
|
|
18
18
|
isFuture
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
20
|
+
//# sourceMappingURL=chunk-LLN2SKGE.js.map
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Temporal
|
|
3
|
+
} from "./chunk-VOZTLX5F.js";
|
|
4
|
+
|
|
1
5
|
// src/shared/plainDateToZonedDateTime.ts
|
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
|
3
6
|
function plainDateToZonedDateTime(date, timezone) {
|
|
4
7
|
return date.toZonedDateTime({
|
|
5
8
|
timeZone: timezone,
|
|
@@ -10,4 +13,4 @@ function plainDateToZonedDateTime(date, timezone) {
|
|
|
10
13
|
export {
|
|
11
14
|
plainDateToZonedDateTime
|
|
12
15
|
};
|
|
13
|
-
//# sourceMappingURL=chunk-
|
|
16
|
+
//# sourceMappingURL=chunk-LYPSZYIG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/shared/plainDateToZonedDateTime.ts"],"sourcesContent":["import { Temporal } from './temporal';\nimport type { Timezone } from '../types';\n\n/**\n * @internal\n * Converts a PlainDate to a ZonedDateTime at midnight in the specified timezone.\n * This is an internal helper - do not use directly.\n */\nexport function plainDateToZonedDateTime(\n date: Temporal.PlainDate,\n timezone: Timezone\n): Temporal.ZonedDateTime {\n return date.toZonedDateTime({\n timeZone: timezone,\n plainTime: Temporal.PlainTime.from('00:00'),\n });\n}\n"],"mappings":";;;;;AAQO,SAAS,yBACd,MACA,UACwB;AACxB,SAAO,KAAK,gBAAgB;AAAA,IAC1B,UAAU;AAAA,IACV,WAAW,SAAS,UAAU,KAAK,OAAO;AAAA,EAC5C,CAAC;AACH;","names":[]}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Temporal
|
|
3
|
+
} from "./chunk-VOZTLX5F.js";
|
|
4
|
+
|
|
1
5
|
// src/toUtc.ts
|
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
|
3
6
|
function toUtc(input) {
|
|
4
7
|
if (typeof input === "string") {
|
|
5
8
|
return Temporal.Instant.from(input);
|
|
@@ -16,4 +19,4 @@ function toUtc(input) {
|
|
|
16
19
|
export {
|
|
17
20
|
toUtc
|
|
18
21
|
};
|
|
19
|
-
//# sourceMappingURL=chunk-
|
|
22
|
+
//# sourceMappingURL=chunk-MHXSUAPE.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/toUtc.ts"],"sourcesContent":["import { Temporal } from './shared/temporal';\n\n/**\n * Convert a UTC ISO string, Unix timestamp, Date, or ZonedDateTime to a Temporal.Instant (UTC).\n *\n * @param input - A UTC ISO 8601 string, Unix timestamp (milliseconds), Date object, or Temporal.ZonedDateTime\n * @returns A Temporal.Instant representing the same moment in UTC\n *\n * @example\n * ```typescript\n * // From ISO string\n * const instant = toUtc(\"2025-01-20T20:00:00.000Z\");\n *\n * // From Unix timestamp (milliseconds since epoch)\n * const instant2 = toUtc(1737403200000);\n *\n * // From Date (e.g., from Drizzle ORM)\n * const date = new Date(\"2025-01-20T20:00:00.000Z\");\n * const instant3 = toUtc(date);\n *\n * // From ZonedDateTime\n * const zoned = Temporal.ZonedDateTime.from(\"2025-01-20T15:00:00-05:00[America/New_York]\");\n * const instant4 = toUtc(zoned);\n * // All represent the same UTC moment: 2025-01-20T20:00:00Z\n * ```\n */\nexport function toUtc(\n input: string | number | Date | Temporal.ZonedDateTime\n): Temporal.Instant {\n if (typeof input === 'string') {\n return Temporal.Instant.from(input);\n }\n\n if (typeof input === 'number') {\n return Temporal.Instant.fromEpochMilliseconds(input);\n }\n\n if (input instanceof Date) {\n return Temporal.Instant.from(input.toISOString());\n }\n\n return input.toInstant();\n}\n"],"mappings":";;;;;AA0BO,SAAS,MACd,OACkB;AAClB,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO,SAAS,QAAQ,KAAK,KAAK;AAAA,EACpC;AAEA,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO,SAAS,QAAQ,sBAAsB,KAAK;AAAA,EACrD;AAEA,MAAI,iBAAiB,MAAM;AACzB,WAAO,SAAS,QAAQ,KAAK,MAAM,YAAY,CAAC;AAAA,EAClD;AAEA,SAAO,MAAM,UAAU;AACzB;","names":[]}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
|
+
import {
|
|
5
|
+
Temporal
|
|
6
|
+
} from "./chunk-VOZTLX5F.js";
|
|
4
7
|
|
|
5
8
|
// src/eachYearOfInterval.ts
|
|
6
|
-
import { Temporal } from "@js-temporal/polyfill";
|
|
7
9
|
function eachYearOfInterval(interval) {
|
|
8
10
|
const startZoned = normalizeTemporalInput(interval.start);
|
|
9
11
|
const endZoned = normalizeTemporalInput(interval.end);
|
|
@@ -27,4 +29,4 @@ function eachYearOfInterval(interval) {
|
|
|
27
29
|
export {
|
|
28
30
|
eachYearOfInterval
|
|
29
31
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
32
|
+
//# sourceMappingURL=chunk-NKWGZIOJ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/eachYearOfInterval.ts"],"sourcesContent":["import { Temporal } from './shared/temporal';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\n\n/**\n * Returns an array of ZonedDateTime objects for each year within the interval.\n * Each element represents the first moment of the year (January 1st at midnight).\n * The interval is inclusive of both start and end years.\n *\n * For Instant inputs, UTC is used as the timezone.\n * For ZonedDateTime inputs, the timezone of the start date is preserved.\n *\n * @param interval - The interval with start and end datetimes\n * @returns Array of ZonedDateTime at start of each year in the interval\n *\n * @example\n * ```ts\n * const start = Temporal.ZonedDateTime.from('2022-06-15T10:00:00Z[UTC]');\n * const end = Temporal.ZonedDateTime.from('2025-03-20T14:00:00Z[UTC]');\n *\n * const years = eachYearOfInterval({ start, end });\n * // [\n * // 2022-01-01T00:00:00Z[UTC],\n * // 2023-01-01T00:00:00Z[UTC],\n * // 2024-01-01T00:00:00Z[UTC],\n * // 2025-01-01T00:00:00Z[UTC]\n * // ]\n * ```\n *\n * @example\n * ```ts\n * // Single year\n * const start = Temporal.ZonedDateTime.from('2025-01-15T00:00:00Z[UTC]');\n * const end = Temporal.ZonedDateTime.from('2025-12-31T23:59:59Z[UTC]');\n *\n * const years = eachYearOfInterval({ start, end });\n * // [2025-01-01T00:00:00Z[UTC]]\n * ```\n *\n * @example\n * ```ts\n * // With timezone\n * const start = Temporal.ZonedDateTime.from('2024-01-01T00:00:00-05:00[America/New_York]');\n * const end = Temporal.ZonedDateTime.from('2026-06-15T00:00:00-04:00[America/New_York]');\n *\n * const years = eachYearOfInterval({ start, end });\n * // [\n * // 2024-01-01T00:00:00-05:00[America/New_York],\n * // 2025-01-01T00:00:00-05:00[America/New_York],\n * // 2026-01-01T00:00:00-05:00[America/New_York]\n * // ]\n * ```\n */\nexport function eachYearOfInterval(interval: {\n start: Temporal.Instant | Temporal.ZonedDateTime;\n end: Temporal.Instant | Temporal.ZonedDateTime;\n}): Temporal.ZonedDateTime[] {\n const startZoned = normalizeTemporalInput(interval.start);\n const endZoned = normalizeTemporalInput(interval.end);\n\n const timezone = startZoned.timeZoneId;\n const startYear = startZoned.year;\n\n // Get end year in the same timezone\n const endInTimezone = endZoned.withTimeZone(timezone);\n const endYear = endInTimezone.year;\n\n const years: Temporal.ZonedDateTime[] = [];\n\n for (let year = startYear; year <= endYear; year++) {\n const firstOfYear = Temporal.PlainDate.from({ year, month: 1, day: 1 });\n years.push(\n firstOfYear.toZonedDateTime({\n timeZone: timezone,\n plainTime: new Temporal.PlainTime(),\n })\n );\n }\n\n return years;\n}\n"],"mappings":";;;;;;;;AAoDO,SAAS,mBAAmB,UAGN;AAC3B,QAAM,aAAa,uBAAuB,SAAS,KAAK;AACxD,QAAM,WAAW,uBAAuB,SAAS,GAAG;AAEpD,QAAM,WAAW,WAAW;AAC5B,QAAM,YAAY,WAAW;AAG7B,QAAM,gBAAgB,SAAS,aAAa,QAAQ;AACpD,QAAM,UAAU,cAAc;AAE9B,QAAM,QAAkC,CAAC;AAEzC,WAAS,OAAO,WAAW,QAAQ,SAAS,QAAQ;AAClD,UAAM,cAAc,SAAS,UAAU,KAAK,EAAE,MAAM,OAAO,GAAG,KAAK,EAAE,CAAC;AACtE,UAAM;AAAA,MACJ,YAAY,gBAAgB;AAAA,QAC1B,UAAU;AAAA,QACV,WAAW,IAAI,SAAS,UAAU;AAAA,MACpC,CAAC;AAAA,IACH;AAAA,EACF;AAEA,SAAO;AACT;","names":[]}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Temporal
|
|
3
|
+
} from "./chunk-VOZTLX5F.js";
|
|
4
|
+
|
|
1
5
|
// src/isPlainTimeEqual.ts
|
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
|
3
6
|
function isPlainTimeEqual(time1, time2) {
|
|
4
7
|
return Temporal.PlainTime.compare(time1, time2) === 0;
|
|
5
8
|
}
|
|
@@ -7,4 +10,4 @@ function isPlainTimeEqual(time1, time2) {
|
|
|
7
10
|
export {
|
|
8
11
|
isPlainTimeEqual
|
|
9
12
|
};
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
13
|
+
//# sourceMappingURL=chunk-NT7VDFLO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/isPlainTimeEqual.ts"],"sourcesContent":["import { Temporal } from './shared/temporal';\n\n/**\n * Returns true if the two plain times are equal.\n * Compares wall-clock times without date or timezone considerations.\n *\n * @param time1 - First plain time\n * @param time2 - Second plain time\n * @returns true if time1 equals time2, false otherwise\n *\n * @example\n * ```ts\n * const nineAM_a = Temporal.PlainTime.from('09:00');\n * const nineAM_b = Temporal.PlainTime.from('09:00');\n * const fivePM = Temporal.PlainTime.from('17:00');\n *\n * isPlainTimeEqual(nineAM_a, nineAM_b); // true\n * isPlainTimeEqual(nineAM_a, fivePM); // false\n * ```\n */\nexport function isPlainTimeEqual(\n time1: Temporal.PlainTime,\n time2: Temporal.PlainTime\n): boolean {\n return Temporal.PlainTime.compare(time1, time2) === 0;\n}\n"],"mappings":";;;;;AAoBO,SAAS,iBACd,OACA,OACS;AACT,SAAO,SAAS,UAAU,QAAQ,OAAO,KAAK,MAAM;AACtD;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/addMonths.ts
|
|
6
6
|
function addMonths(input, months) {
|
|
@@ -11,4 +11,4 @@ function addMonths(input, months) {
|
|
|
11
11
|
export {
|
|
12
12
|
addMonths
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-OGNREZPA.js.map
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
plainDateToZonedDateTime
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LYPSZYIG.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeTemporalInput
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-F6EWMA4K.js";
|
|
7
|
+
import {
|
|
8
|
+
isPlainDate
|
|
9
|
+
} from "./chunk-VOZTLX5F.js";
|
|
7
10
|
|
|
8
11
|
// src/startOfWeek.ts
|
|
9
|
-
import { Temporal } from "@js-temporal/polyfill";
|
|
10
12
|
function startOfWeek(input, timezone) {
|
|
11
|
-
const zonedDateTime = input
|
|
13
|
+
const zonedDateTime = isPlainDate(input) ? plainDateToZonedDateTime(input, timezone) : normalizeTemporalInput(input);
|
|
12
14
|
const dayOfWeek = zonedDateTime.dayOfWeek;
|
|
13
15
|
const daysToSubtract = dayOfWeek - 1;
|
|
14
16
|
const monday = zonedDateTime.subtract({ days: daysToSubtract });
|
|
@@ -18,4 +20,4 @@ function startOfWeek(input, timezone) {
|
|
|
18
20
|
export {
|
|
19
21
|
startOfWeek
|
|
20
22
|
};
|
|
21
|
-
//# sourceMappingURL=chunk-
|
|
23
|
+
//# sourceMappingURL=chunk-OKPTY2ZQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/startOfWeek.ts"],"sourcesContent":["import { isPlainDate } from './shared/temporal';\nimport type { Temporal } from '@js-temporal/polyfill';\nimport type { Timezone } from './types';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\nimport { plainDateToZonedDateTime } from './shared/plainDateToZonedDateTime';\n\n/**\n * Returns a ZonedDateTime representing the first moment of the week (Monday at midnight).\n * Uses ISO 8601 week definition: weeks start on Monday.\n *\n * @param input - A Temporal.Instant (UTC) or Temporal.ZonedDateTime\n * @returns ZonedDateTime at Monday 00:00:00.000000000\n *\n * @example\n * ```ts\n * // From Instant (always UTC)\n * const instant = Temporal.Instant.from('2025-01-20T12:00:00Z'); // Monday\n * const start = startOfWeek(instant);\n * // 2025-01-20T00:00:00Z[UTC] (same day, it's already Monday)\n * ```\n *\n * @example\n * ```ts\n * // From ZonedDateTime (uses its timezone)\n * const zoned = Temporal.ZonedDateTime.from('2025-01-22T15:30:00-05:00[America/New_York]'); // Wednesday\n * const start = startOfWeek(zoned);\n * // 2025-01-20T00:00:00-05:00[America/New_York] (previous Monday)\n * ```\n *\n * @example\n * ```ts\n * // From PlainDate (requires timezone)\n * const date = Temporal.PlainDate.from('2025-01-22'); // Wednesday\n * const start = startOfWeek(date, 'America/New_York');\n * // 2025-01-20T00:00:00-05:00[America/New_York] (previous Monday)\n * ```\n */\nexport function startOfWeek(\n input: Temporal.Instant | Temporal.ZonedDateTime\n): Temporal.ZonedDateTime;\nexport function startOfWeek(\n input: Temporal.PlainDate,\n timezone: Timezone\n): Temporal.ZonedDateTime;\nexport function startOfWeek(\n input: Temporal.Instant | Temporal.ZonedDateTime | Temporal.PlainDate,\n timezone?: Timezone\n): Temporal.ZonedDateTime {\n const zonedDateTime =\n isPlainDate(input)\n ? plainDateToZonedDateTime(input, timezone!)\n : normalizeTemporalInput(input);\n\n // Get the day of week (1 = Monday, 7 = Sunday in ISO 8601)\n const dayOfWeek = zonedDateTime.dayOfWeek;\n\n // Calculate days to subtract to get to Monday\n const daysToSubtract = dayOfWeek - 1;\n\n // Go to Monday, then get start of that day\n const monday = zonedDateTime.subtract({ days: daysToSubtract });\n\n return monday.startOfDay();\n}\n"],"mappings":";;;;;;;;;;;AA4CO,SAAS,YACd,OACA,UACwB;AACxB,QAAM,gBACJ,YAAY,KAAK,IACb,yBAAyB,OAAO,QAAS,IACzC,uBAAuB,KAAK;AAGlC,QAAM,YAAY,cAAc;AAGhC,QAAM,iBAAiB,YAAY;AAGnC,QAAM,SAAS,cAAc,SAAS,EAAE,MAAM,eAAe,CAAC;AAE9D,SAAO,OAAO,WAAW;AAC3B;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/isSameMillisecond.ts
|
|
6
6
|
function isSameMillisecond(date1, date2) {
|
|
@@ -12,4 +12,4 @@ function isSameMillisecond(date1, date2) {
|
|
|
12
12
|
export {
|
|
13
13
|
isSameMillisecond
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-OPACRBGV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addMinutes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PBT2OZJH.js";
|
|
4
4
|
|
|
5
5
|
// src/subMinutes.ts
|
|
6
6
|
function subMinutes(input, minutes) {
|
|
@@ -10,4 +10,4 @@ function subMinutes(input, minutes) {
|
|
|
10
10
|
export {
|
|
11
11
|
subMinutes
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=chunk-
|
|
13
|
+
//# sourceMappingURL=chunk-OZYC3TAR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTemporalInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6EWMA4K.js";
|
|
4
4
|
|
|
5
5
|
// src/addMinutes.ts
|
|
6
6
|
function addMinutes(input, minutes) {
|
|
@@ -11,4 +11,4 @@ function addMinutes(input, minutes) {
|
|
|
11
11
|
export {
|
|
12
12
|
addMinutes
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-PBT2OZJH.js.map
|