[richfaces-issues] [JBoss JIRA] Reopened: (RF-8163) rich:calendar switching between JulianCalendar and Gregorian

Thomas Morper (JIRA) jira-events at lists.jboss.org
Wed Dec 9 02:32:29 EST 2009


     [ https://jira.jboss.org/jira/browse/RF-8163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Morper reopened RF-8163:
-------------------------------



Code at the webpage:

<rich:calendar
	value="#{DialogJsfItemBean.myObject.eventDate}"
	id="eventDate" locale="#{ResourceJsfBean.resourceBean.locale}"
	popup="true" enableManualInput="true"
	datePattern="#{DialogJsfItemBean.dateTimePattern}"
             inputSize="20" showApplyButton="false" />

myObject is a database-PoJo, eventdate is java.util.Date, datePattern is dd.MM.yy HH:mm



> rich:calendar switching between JulianCalendar and Gregorian
> ------------------------------------------------------------
>
>                 Key: RF-8163
>                 URL: https://jira.jboss.org/jira/browse/RF-8163
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 3.3.2.CR1, 3.3.2.GA
>         Environment: Windows (several versions), Tomcat 6.0.18, MS IE 8 or Firefox 3.0.
>            Reporter: Thomas Morper
>            Assignee: Andrey Markhel
>             Fix For: 3.3.3.BETA1
>
>
> We have several rich:calendar elements at our application with date format dd-mm-yy hh:mm. We now hve the following problem: When a user types in a date without using the calendar-popup and uses a single-number year without a leading zero (e. g. 12.12.1 12:12), the calendar accepts the input (correct), but it creates a JulianCalendar for the Date cariable at the according bean, while it creates a GregorianCalendar for 12.12.01 12:12 or any other input with two digits for the year.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list