Coder Social home page Coder Social logo

Start week on sunday about vue-cal HOT 5 CLOSED

antoniandre avatar antoniandre commented on July 18, 2024 1
Start week on sunday

from vue-cal.

Comments (5)

antoniandre avatar antoniandre commented on July 18, 2024 1

Hi @PauloKlixto, @jessicakennedy1028,

I have released a new version 1.34.0 that allows starting the week on Sunday with this option: start-week-on-sunday please refer to the API section https://antoniandre.github.io/vue-cal/#api.

@jessicakennedy1028, indeed all my calculations were based on starting on Monday.
I did a quick dev to help, I will do more tests tomorrow.

Hope it helps,
let me know if you notice something unexpected!

from vue-cal.

antoniandre avatar antoniandre commented on July 18, 2024

Hi @PauloKlixto,

Currently vue-cal does not allow starting week from Sunday, but that is a feature I am adding to the to do list!

from vue-cal.

girls-whocode avatar girls-whocode commented on July 18, 2024

Is there a possible way to look into modifying the module until the feature is added? I looked at the code, I see on line 2123, the Json string, although when digging into the code elsewhere, I see your calculations are based on Monday. Is there a simple fix that I am missing?

from vue-cal.

antoniandre avatar antoniandre commented on July 18, 2024

Working example: https://codepen.io/antoniandre/pen/OdEgEq

from vue-cal.

PauloKlixto avatar PauloKlixto commented on July 18, 2024

@antoniandre
It worked perfectly!
Thanks for to add this feature.

from vue-cal.

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.