Git Product home page Git Product logo

Comments (10)

antoineguillaume avatar antoineguillaume commented on June 21, 2024

+1 doesn't work with version 2.0.2 of luxon

from vue-datetime.

ftbastler avatar ftbastler commented on June 21, 2024

+1

from vue-datetime.

FarhanKhalid avatar FarhanKhalid commented on June 21, 2024

+1

from vue-datetime.

Nabilezz avatar Nabilezz commented on June 21, 2024

+1

from vue-datetime.

alexakuna avatar alexakuna commented on June 21, 2024

+1

from vue-datetime.

eLoyyyyy avatar eLoyyyyy commented on June 21, 2024

currently I have a workaround until author resolves the dependency to the library itself.

yarn add luxon@1 // so the library resolves the correct version.
yarn add luxon-next@npm:luxon // installed luxon v2.x.x aliased as luxon-next

My version are:

from vue-datetime.

aguyfromdenmark avatar aguyfromdenmark commented on June 21, 2024

+1

I ended up just downgrading luxon to lates v1 version npm i [email protected]

from vue-datetime.

syunchanp avatar syunchanp commented on June 21, 2024

This issue was effected luxon's change fromObject and normalizeObject method(datetime.js)

You want to revise, remove [zone: "UTC"]
If I had time, I will do pull request of this issure.
Or Someone please pull request this issue.

== DatetimeCalendar.vue:60

  data () {
    return {
      newDate: DateTime.fromObject({ year: this.year, month: this.month, zone: 'UTC' }),

remove zone: "UTC"

  data () {
    return {
      newDate: DateTime.fromObject({ year: this.year, month: this.month }),

from vue-datetime.

RUSHt avatar RUSHt commented on June 21, 2024

Alternatively you call roll back luxon npm install [email protected]

from vue-datetime.

SirTadpole avatar SirTadpole commented on June 21, 2024

+1

The workaround with [email protected] works great.

The correction is pending merge https://github.com/westnet-paul/vue-datetime/commit/ac84c239afe533e31d65e890501a40b4dcf7a1b5

from vue-datetime.

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.