antoniandre / vue-cal-v4

A Vue.js full calendar, no dependency, no BS. :metal:
https://antoniandre.github.io/vue-cal-v4/
MIT License
1.25k stars 236 forks source link

Weekly view of the calendar is displaying the wrong date when startWeekOnSunday is set to true #505

Open Cynically opened 2 years ago

Cynically commented 2 years ago

When startWeekOnSunday is set to true, the date in the Week view is shifted by a day. So Sunday is Oct 1st, Monday is Oct 2nd, and Tuesday is Oct 3rd etc. The correct date should've been Sunday 2, Monday 3, Tuesday 4 etc.

image

Here's the code to reproduce https://codepen.io/cynically-the-looper/pen/qBYKNQb?editors=1010

marianogoldman commented 1 year ago

I can confirm this is happening and I can also confirm that I tested fix #514 and it's working perfectly.

CharlieDigital commented 1 year ago

Hi, any idea when this will get merged in?

elavarasan-star commented 1 year ago

Still I face the same issue that When startWeekOnSunday is set to true, the date in the Week view is shifted by a day. Can someone help me?

DNA-PC commented 1 year ago

@antoniandre Is there anything blocking to fix this issue? The PR has been peer-reviewed and seem to have been tested. Do you need help with this?

MengYao89 commented 11 months ago

@antoniandre , Could you please look at this commit, really need startWeekOnSunday function to be fixed

DNA-PC commented 11 months ago

For those who need a fix, I know WeWeb has forked and fixed this issue at https://github.com/weweb-assets/vue-cal/commits/ww-main, as they embedded this into their software and had to fix it for their own customers. I've been using that version since October and it works great.

Maybe that will help some of you!

keifererikson commented 5 months ago

I am also having this issue. Is there any update on merging PR #514 ?

dianakoh commented 2 months ago

I am currently using the latest version of the vue-cal package, v4.9.0. However, when I set startWeekOnSunday to true, the dates are still displayed incorrectly. May I kindly inquire if there is a planned timeline for resolving this issue?