j4321 / tkcalendar

Calendar widget for Tkinter
https://pypi.python.org/pypi/tkcalendar
GNU General Public License v3.0
97 stars 33 forks source link

Wrong weekend days when using firstweekday='sunday' #37

Closed handelo closed 5 years ago

handelo commented 5 years ago

When you use the parameter firstweekday='sunday', Saturday and Sunday are still colored as the weekend days, instead of Friday and Saturday. WrongWeekendCalendar

j4321 commented 5 years ago

I am French and therefore not used to have Sunday as the first day of the week, but from a quick Internet search, it seems to me that Americans color Saturday and Sunday, not Friday and Saturday. For instance, I found the following calendar: calendar

handelo commented 5 years ago

Ah, I see. In my country the week starts on Sunday and the weekend days are Friday and Saturday, so I wrongly assumed this was unintentional. In that case, is it possible to add an option to choose what days are colored as the weekend days?