(Mar-20-2018, 08:07 PM)thegodofcheese Wrote: this isn't selecting the correct day of the week. not sure how to tweak that part but something isn't right here...
https://ibb.co/nHR4VH
Just change this
#lines
#lines
class Calendar:
def __init__(self, parent, values):
self.values = values
self.parent = parent
self.cal = calendar.TextCalendar(calendar.SUNDAY)
self.year = datetime.date.today().year
self.month = datetime.date.today().month
day = datetime.date.today().day
self.wid = []
self.day_selected = day
#more lines
(May-18-2018, 05:22 PM)CandyMo0n Wrote:(Mar-20-2018, 08:07 PM)thegodofcheese Wrote: this isn't selecting the correct day of the week. not sure how to tweak that part but something isn't right here...
https://ibb.co/nHR4VH
Just change this
#lines
#lines
class Calendar:
def __init__(self, parent, values):
self.values = values
self.parent = parent
self.cal = calendar.TextCalendar(calendar.SUNDAY)
self.year = datetime.date.today().year
self.month = datetime.date.today().month
actualday = datetime.date.today().day
self.wid = []
self.day_selected = actualday
#more lines