Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug] firstWeekContainsDate prop not working #42

Open
bvidalneofox opened this issue May 3, 2023 · 0 comments
Open

[Bug] firstWeekContainsDate prop not working #42

bvidalneofox opened this issue May 3, 2023 · 0 comments

Comments

@bvidalneofox
Copy link

Vue2-datepicker version: vue-datepicker-next@1.0.3
Vue version: vue@3.2.26
Browser: Chrome

Steps to reproduce
Set lang prop with a firstWeekContainsDate property:
<date-picker type="week" :lang="langObject"></date-picker>
formatLocale: { firstDayOfWeek: 1, firstWeekContainsDate: 1, }

If i change the firstWeekContainsDate nothing happens. In Vue 2 version works perfect

Reproduction Link or Source Code
https://codepen.io/bvidalneofox/pen/BaqmYLa

Expected behavior
Set the first week in the expected day

Actual behavior
First week not changes

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant