[richfaces-svn-commits] JBoss Rich Faces SVN: r11917 - trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Fri Dec 19 09:21:20 EST 2008
Author: pyaschenko
Date: 2008-12-19 09:21:20 -0500 (Fri, 19 Dec 2008)
New Revision: 11917
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
https://jira.jboss.org/jira/browse/RF-3997
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 2008-12-19 14:11:54 UTC (rev 11916)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2008-12-19 14:21:20 UTC (rev 11917)
@@ -381,7 +381,7 @@
}
// y+,M+,d+
var ch = $1.charAt(0);
- if (ch=='y') {y=counter; counter++; return '(\\d{4})'};
+ if (ch=='y') {y=counter; counter++; return '(\\d{3,4})'};
if (ch=='M') {m=counter; counter++; return '('+monthNamesStr+')'};
if (ch=='d') {d=counter; counter++; return '(\\d{2})'};
}
More information about the richfaces-svn-commits
mailing list