[v2.0.2] Restricting calendar dates is not working
Posted: 06 Jun 2023, 11:45
Consider the following v1 code
This yields a calendar with restrictions:
You cant pick other years:
Now consider the following equivalent v2 code:
It doesnt apply the restrictions correctly:
It only restricts future dates but not previous ones.
Code: Select all
gui main:new
gui add, monthcal, vcalendar w-2 r4 multi range20050101-20050615
gui show
Spoiler
You cant pick other years:
Spoiler
Now consider the following equivalent v2 code:
Code: Select all
main := gui()
main.addMonthCal('vCalendar w-2 r4 Multi Range20050101-20050615')
main.show()
It only restricts future dates but not previous ones.
Spoiler