Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3 in Readme but latest on NPM still v2? #275

Closed
nshiab opened this issue Apr 4, 2024 · 4 comments
Closed

v3 in Readme but latest on NPM still v2? #275

nshiab opened this issue Apr 4, 2024 · 4 comments

Comments

@nshiab
Copy link

nshiab commented Apr 4, 2024

Hi!

First, thank you for your amazing work. :)

The readme says this at the beginning: "Time zone support for date-fns v3.0.0 using the Intl API."

But when I tried to do an npm install, it was still using date-fns v2 as a dependency, I think.

It looks like you are working on v3 and there is a beta tag on NPM.

So I guess v3 is not ready yet, right?

Maybe updating your readme would help avoid some confusion. :)

Again, thanks for the library!

@marnusw
Copy link
Owner

marnusw commented Apr 4, 2024

Good point, GitHub will be out of date at the moment. Not ideal, but not worth fixing now I think. On npm it's correct though. You can install 3.0.0-beta.3 which supports date-fns v3, even in production if you don't have a principle issue with libraries in beta.

@nshiab
Copy link
Author

nshiab commented Apr 4, 2024

Great! Thanks!

@nshiab nshiab closed this as completed Apr 4, 2024
@marnusw
Copy link
Owner

marnusw commented Apr 6, 2024

v3.0.0 has been released.

@nshiab
Copy link
Author

nshiab commented Apr 6, 2024

Wonderful! Thanks for all of your work! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants