1 Reply Latest reply on Jan 27, 2010 5:41 AM by Nick Belaevski

    rich:calendar - week number bug

    J W Newbie

      Hi,

       

      It seems that there is a bug in rich:calendar regarding week numbers.

       

      Example: when yout display january of 2005 using gregorian calendar style (week starts with monday, first week of year has at least 4 days), you can see that last week od 2004 is 54. When you jump to december 2004, last week number changes to 53.

       

      <rich:calendar

           id="arrivalDate"
           required="true"
           value="#{newDelivery.arrivalDate}"
           firstWeekDay="1"
           minDaysInFirstWeek="4"
           >