tkcalendar
tkcalendar copied to clipboard
Calendar mindate not updating after the state is normal.
Sample buggy code: tkcalendar v1.6.1
from datetime import date, datetime
from tkinter import Tk
from tkcalendar import Calendar
today = datetime.now()
app = Tk()
cal = Calendar(
master=app,
showweeknumbers=False,
showothermonthdays=False,
mindate=date(year=today.year, month=today.month, day=today.day),
year=today.year,
month=today.month,
background="#2A3459",
selectbackground="#2A3459",
cursor="hand2",
state="disabled"
)
cal.pack()
cal.config(state="normal")
app.mainloop()