1 Reply Latest reply on Dec 18, 2007 1:12 PM by Nick Belaevski

    Calendar datePattern problem

    Tomislav Jakopec Novice

      Hi all,
      I have problem with calendar and date pattern.
      When I use dd. MM. yyyy everything works fine, but when I put ddMMyyy I have problem!

      example 1 - works fine

      <r:calendar
       id="datumVazenja"
       value="#{zaposlenik.datumVazenja}"
       inputStyle="width: 90px"
       enableManualInput="true"
       datePattern="dd. MM. yyyy" />
      


      example 2 - problem (for date 21. 12. 2007 its show 21MMyyyy)
      <r:calendar
       id="datumVazenja"
       value="#{zaposlenik.datumVazenja}"
       inputStyle="width: 90px"
       enableManualInput="true"
       datePattern="ddMMyyyy" />