0 Replies Latest reply on Nov 26, 2009 7:09 AM by Thomas Morper

    rich:calendar switching between JulianCalendar and Gregorian

    Thomas Morper Newbie

      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.

      How can we influence the component so that we always get a GregorianCalendar?