Git Product home page Git Product logo

Comments (8)

praveenpuglia avatar praveenpuglia commented on June 8, 2024

I think it's because date-fns changed their parsing logic and what letters denote what to be compliant with standards and how other libraries like moment does it.

Can you please tell me from your package-lock.json or yarn.lock file which exact version of date-fns you are using?

from vuetify-daterange-picker.

Zigotote avatar Zigotote commented on June 8, 2024

You're right, I'm not using the same version as you : my date-fns version is 2.7.0.

from vuetify-daterange-picker.

ashishnimrot avatar ashishnimrot commented on June 8, 2024

Same problem, How to solved/handle this exception.

from vuetify-daterange-picker.

Zigotote avatar Zigotote commented on June 8, 2024

The first solution is to downgrade your date-fns version, to ues 1.30.1 as @praveenpuglia does.

The second one is to use another plugin, such as vuejs-datepicker.

Or, if you have time, maybe you can modify this project to use a higher version of date-fns. The idea is just to replace all the "MM-DD-YYYY" by "MM-dd-yyyy" (or whatever format you want to use).

from vuetify-daterange-picker.

praveenpuglia avatar praveenpuglia commented on June 8, 2024

I am desperately looking for a maintainer. Everyone wants to use it but nobody wants to maintain and I don't have enough time to maintain it further. It's hard to keep up to date with vuetify changes and more so after things radically changed in v2.

Anyone willing to chip in?

from vuetify-daterange-picker.

praveenpuglia avatar praveenpuglia commented on June 8, 2024

If this is important for you all, I'll try to see if I can do something in a week or so. But no guarantees.

from vuetify-daterange-picker.

Zigotote avatar Zigotote commented on June 8, 2024

I made a pull request #71 to solve this problem.
However, I didn't test it (I have never developed a Vuejs plugin before and I don't know how to test it). It should work but it will maybe require minor changes.

from vuetify-daterange-picker.

praveenpuglia avatar praveenpuglia commented on June 8, 2024

closed in #71

from vuetify-daterange-picker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.