vuetify v-date-picker not start by first day of month in persian locale
Asked Answered
P

1

6

Consider the following code

  <v-date-picker
    v-model="picker"
    :first-day-of-week="6"
    locale="fa"
  ></v-date-picker>
  <v-date-picker
    v-model="picker"
  ></v-date-picker>

As you can see in the following picture, In Persian calendar month starts by 12th which is the first day of May

Code Output, Left side is Persian calendar

Prue answered 9/5, 2020 at 5:51 Comment(1)
I have the same problem. have you solved this?Batsheva
A
2

I also have this problem, unfortunately it's an open bug in Vuetify:

[Bug Report] Problem with vuetify Persian datepicker year selection #11578 Which is a duplicate of: [Bug] Date picker new month is started at the end of previous month in 'FA-local'.

Personally, I had to user vue-persian-datetime-picker. It's pretty good, a simple api and easily customizable. Still, I hope they fix the problem with v-date-picker

Anosmia answered 9/10, 2020 at 15:8 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.