-
Bug
-
Resolution: Fixed
-
Major
-
2.1.2
-
None
as code below, the first day will be Monday if you click 'test change first day' and 'test set day to 7', otherwise the first day will be today.
<?xml version="1.0" encoding="UTF-8"?> <zk xmlns="http://www.zkoss.org/2005/zul"> <button label="test set day and change first day"> <attribute name="onClick"><![CDATA[ cal.setMold("default"); cal.setDays(14); cal.setFirstDayOfWeek("MONDAY"); ]]></attribute> </button> <button label="test set day to 7"> <attribute name="onClick"><![CDATA[ cal.setMold("default"); cal.setDays(7); ]]></attribute> </button> <button label="test set day to 14"> <attribute name="onClick"><![CDATA[ cal.setMold("default"); cal.setDays(14); ]]></attribute> </button> <button label="test change first day"> <attribute name="onClick"><![CDATA[ cal.setFirstDayOfWeek("MONDAY"); ]]></attribute> </button> <calendars id="cal" /> </zk>
- relates to
-
ZKCAL-96 First day of a week is forced to "today" if days is less than 7
- Open