Hey =)
I was wondering if there is a way to change the first day of week, i went through the documentation a couple of times but i don't find any hints on how to do that.
If it is possible, could you show me how to do that ?
Thanks a lot for your work, this library is cleary the greatest calendar library i have found for vue.js =)
Yes. When you use the plugin pass in firstDayOfWeek as one of the default settings, among others if you desire.
Vue.use(VCalendar, { firstDayOfWeek: 3 }); // Tuesday as first day of week
Apologies for the lack of clarity on this. I will keep this issue open until the documentation has been updated.
Ok, thank you very much for the quick reply!
This is not working for me.
"v-calendar": "^1.0.8",
"nuxt": "^2.9.0",
import Vue from 'vue'
import Vcalendar from 'v-calendar'
Vue.use(Vcalendar, {
firstDayOfWeek: 2,
})
But result is not changed. @nathanreyes . I have done like so - :first-day-of-week="2" and it worked. I cant set globally first day of week. Please tell why this is not effecting globally.
Most helpful comment
Yes. When you use the plugin pass in
firstDayOfWeekas one of the default settings, among others if you desire.Apologies for the lack of clarity on this. I will keep this issue open until the documentation has been updated.