Author: pyaschenko
Date: 2007-10-05 07:54:26 -0400 (Fri, 05 Oct 2007)
New Revision: 3277
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
RF-1075
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
---
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-10-05
11:45:57 UTC (rev 3276)
+++
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-10-05
11:54:26 UTC (rev 3277)
@@ -337,7 +337,7 @@
}
function daysInMonthByDate(date) {
- return 32 - new Date(date.getYear(), date.getMonth(), 32).getDate();
+ return 32 - new Date(date.getFullYear(), date.getMonth(), 32).getDate();
}
function getDay(date, firstWeekDay ) {