antoniandre / vue-cal

A Vue 2 & 3 full calendar, no dependency, no BS. :metal:
https://antoniandre.github.io/vue-cal
MIT License
1.2k stars 230 forks source link

Incorrect weekday in week view. #567

Open yogeshgalav opened 5 months ago

yogeshgalav commented 5 months ago

The date 25 January 2024, is shown as Friday in week view when prop :startWeekOnSunday="true".

<template #weekday-heading="{ view, heading }">
          <span v-if="view.id === 'week'">{{ heading.date.getDate() }} ({{ heading.label }})</span>
        </template>
eliezerbloy commented 1 month ago

I also have the same problem. This calendar is so perfect! It's a shame that because of this problem I won't be able to use it in my project. 😥😥