Replies: 3 comments 2 replies
-
At the moment, I don't think that the weekend days can be change since they are always defined to be Saturday/Sunday as can be seen from the code below vanilla-calendar-pro/package/src/scripts/methods/createDays.ts Lines 43 to 46 in 7c61e39 Perhaps what you can do is to hide the red color on the weekends? That is what I do on my side since I want a flat calendar and nothing highlighted new VanillaCalendar('#calendar', {
settings: {
visibility: {
weekend: false,
},
},
}); If that doesn't fix your issue, then I guess you could contribute a PR with possibly some new settings to change the weekend days? Maybe something like then use it in the code like this if (self.settings.visibility.weekend && self.date.weekends.includes(dayWeekID)) {
// ...
} |
Beta Was this translation helpful? Give feedback.
-
I will finalize PR #286. Added to the roadmap. |
Beta Was this translation helpful? Give feedback.
-
Implemented in v3.0.0 #293 |
Beta Was this translation helpful? Give feedback.
-
Hi..
Please how to change weekend to (Friday and Saturday)? so it can be highlighted in red ? instead of ( Sun & Sat)?
Beta Was this translation helpful? Give feedback.
All reactions