[richfaces-issues] [JBoss JIRA] Commented: (RF-8249) Calendar: Incorrect week numbering for first and last week of year

Mareks Tumass (JIRA) jira-events at lists.jboss.org
Thu Jan 28 10:48:19 EST 2010


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

Mareks Tumass commented on RF-8249:
-----------------------------------

Right, attribute minDaysInFirstWeek defines how many days are in first week. Showing 53rd week in December would not break this logic - it is 53rd week of 2009 and at same time 1st week of 2010.
In our example, if I set minDaysInFirstWeek to 3 then in December 2009 it would show week 53rd and next week 1st week of 2010, in January 2010 it would show then 53rd week as first week and 1st week starting with 3rd January.

Should I make some screens?

> Calendar: Incorrect week numbering for first and last week of year
> ------------------------------------------------------------------
>
>                 Key: RF-8249
>                 URL: https://jira.jboss.org/jira/browse/RF-8249
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 3.3.2.GA
>            Reporter: Mareks Tumass
>            Assignee: Nick Belaevski
>             Fix For: 3.3.3.CR1
>
>         Attachments: weekNumbers.PNG
>
>
> Week numbering in calendar doesn't match:
> Calendar is opened for december, 2009. First two days of next year january belong to 53 week of 2009, however week starting from 3rd january is marked as 1st week of 2010 year, should be 2nd. When calendar is opened for january, 2010 then week starting from 3rd january is marked as 2nd week of 2010! Week numbering must match.
> minDaysInFirstWeek=1

-- 
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