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

Thomas Morper (JIRA) jira-events at lists.jboss.org
Wed Mar 3 02:41:10 EST 2010


    [ https://jira.jboss.org/jira/browse/RF-8163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12517774#action_12517774 ] 

Thomas Morper commented on RF-8163:
-----------------------------------

Code of the rich:calendar element at our JSF-page:

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

dateTimePattern 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.Final
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> 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