marnusw / date-fns-tz

Complementary library for date-fns v2 adding IANA time zone support
MIT License
1.01k stars 112 forks source link

Specify date-fns 2.x #267

Closed drewbrend closed 3 months ago

drewbrend commented 5 months ago

Same as https://github.com/marnusw/date-fns-tz/pull/262 but has the lockfile updated for CI to pass.

This should fix https://github.com/marnusw/date-fns-tz/issues/260 for date-fns-tz v2 which will still be an issue even when date-fns-v3 is released.

Example where this will still be an issue after v3 is supported (real scenario from my company):

Antonio-Laguna commented 4 months ago

Came to say we've been bitten by this :) Thanks for the PR @drewbrend !

drewbrend commented 4 months ago

Thanks for the approval! Do I need to do anything to have this merged and released?

abimaelmartell commented 4 months ago

Just came here to say that i was experiencing issues because of this

chrisspiegl commented 4 months ago

I am adding my support for this to be merged and released. It would be massively helpful to mark this package v2 to only install the proper date-fns v2 versions.

simPod commented 3 months ago

@marnusw please reopen #260

marnusw commented 3 months ago

v2.0.1 published.