From 4d2a892f326c5668c3ed568ac9b9e94ec8f44925 Mon Sep 17 00:00:00 2001 From: Bernard Labno Date: Thu, 16 Dec 2010 07:49:49 +0000 Subject: [PATCH] Fixed problem with calculating default firstDay attribute. --- src/main/java/org/richfaces/renderkit/ScheduleRendererBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/richfaces/renderkit/ScheduleRendererBase.java b/src/main/java/org/richfaces/renderkit/ScheduleRendererBase.java index 2d6fd61..cedecef 100644 --- a/src/main/java/org/richfaces/renderkit/ScheduleRendererBase.java +++ b/src/main/java/org/richfaces/renderkit/ScheduleRendererBase.java @@ -61,7 +61,7 @@ public abstract class ScheduleRendererBase extends AjaxComponentRendererBase { Map defaults = new HashMap(); defaults.put("styleClass", ""); defaults.put("defaultView", UISchedule.DEFAULT_VIEW); - defaults.put("firstDay", UISchedule.DEFAULT_FIRST_DAY); + defaults.put("firstDay", UISchedule.DEFAULT_FIRST_DAY - 1); defaults.put("isRTL", UISchedule.DEFAULT_RTL); defaults.put("weekends", UISchedule.DEFAULT_SHOW_WEEKENDS); defaults.put("weekMode", UISchedule.DEFAULT_WEEK_MODE); -- libgit2 0.24.0