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

Support for date-fns 3 #655

Closed
NathanAP opened this issue Jan 3, 2024 · 3 comments
Closed

Support for date-fns 3 #655

NathanAP opened this issue Jan 3, 2024 · 3 comments

Comments

@NathanAP
Copy link

NathanAP commented Jan 3, 2024

Hi!

I'm working on a project using Vite, Vue and Vuetify (I guess its not really relevant for the issue, I just found the problem by them). This morning I tried to update date-fns to version 3, but I cannot run my project anymore.

I'm getting this when I try to open the project on my browser:

image

Reverting date-fns from 3.0.6 to 2.30.0 fixes the problem and my project can run again. Is there something we can do to fix it?

edit: updated image to show just the relevant part.

@kossnocorp
Copy link

@dmtrKovalenko I just shipped https://github.com/date-fns/date-fns/releases/tag/v3.2.0 that exports longFormatter and other internals from format: date-fns/date-fns@3d85c7d

It should help v3 adapter

@dmtrKovalenko
Copy link
Owner

That's wonderful @kossnocorp thanks for doing this. The support of date-fns v3 was shipped in @date-io/date-fns v3 just now 🥳

@kossnocorp
Copy link

@dmtrKovalenko you're welcome

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

3 participants