0

i want to use this pattern "MM/dd/yyyy" for my calendar to set variable but it doesn't work. If i use the pattern "MM/dd/yyyy hh:mm", the variable is set. Why ?

<p:calendar value="#{myBean.date}" id="cal_d" pattern="MM/dd/yyyy" required="true" requiredMessage="Date !" locale="fr">
Daniel
  • 23,129
  • 12
  • 109
  • 154
holegeek
  • 97
  • 2
  • 12

0 Answers0