Commit 4d2a892f326c5668c3ed568ac9b9e94ec8f44925

Authored by bernard
1 parent fbb48489

Fixed problem with calculating default firstDay attribute.

@@ -61,7 +61,7 @@ public abstract class ScheduleRendererBase extends AjaxComponentRendererBase { @@ -61,7 +61,7 @@ public abstract class ScheduleRendererBase extends AjaxComponentRendererBase {
61 Map<String, Object> defaults = new HashMap<String, Object>(); 61 Map<String, Object> defaults = new HashMap<String, Object>();
62 defaults.put("styleClass", ""); 62 defaults.put("styleClass", "");
63 defaults.put("defaultView", UISchedule.DEFAULT_VIEW); 63 defaults.put("defaultView", UISchedule.DEFAULT_VIEW);
64 - defaults.put("firstDay", UISchedule.DEFAULT_FIRST_DAY); 64 + defaults.put("firstDay", UISchedule.DEFAULT_FIRST_DAY - 1);
65 defaults.put("isRTL", UISchedule.DEFAULT_RTL); 65 defaults.put("isRTL", UISchedule.DEFAULT_RTL);
66 defaults.put("weekends", UISchedule.DEFAULT_SHOW_WEEKENDS); 66 defaults.put("weekends", UISchedule.DEFAULT_SHOW_WEEKENDS);
67 defaults.put("weekMode", UISchedule.DEFAULT_WEEK_MODE); 67 defaults.put("weekMode", UISchedule.DEFAULT_WEEK_MODE);
Please register or login to post a comment