You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Joost Schouten (JIRA)" <de...@myfaces.apache.org> on 2007/05/21 06:54:16 UTC

[jira] Created: (TOMAHAWK-1003) On a sunday WORKWEEK and WEEK show different weeks.

On a sunday WORKWEEK and WEEK show different weeks.
---------------------------------------------------

                 Key: TOMAHAWK-1003
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1003
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Schedule
    Affects Versions: 1.1.6-SNAPSHOT
            Reporter: Joost Schouten
            Priority: Minor


Hi,

When on a Sunday the WORKWEEK mode is displayed, the week after that sunday is shown. If the WEEK mode is used, the week leading up to that Sunday is viewed. I believe this is undesirable and confusing.  The GregorianCalendar tells us (through Calendar.WEEK_OF_YEAR) that the Sunday belongs to the week leading up to that Sunday, and not the one following it. I would suggest in both cases to show the week leading up to the day.

Before I start coding I'd first would like to hear if people agree or if there is a reason for this I'm unaware of. Outlook calender, acts in the same way I suggest.

Thanks,
Joost

PS: though it sounds similair: https://issues.apache.org/jira/browse/TOMAHAWK-599, seems to be addressing another issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOMAHAWK-1003) On a sunday WORKWEEK and WEEK show different weeks.

Posted by "Joost Schouten (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497349 ] 

Joost Schouten commented on TOMAHAWK-1003:
------------------------------------------

hmm, this might also be due to some TimeZone issues. As the model does not know TimeZone's the GregorianCalendar's created in the Calendar cause some hard to track offsets. I have to investigate more before I can see if this is actually a bug. But it does show the need for https://issues.apache.org/jira/browse/TOMAHAWK-811 to be resolved. Is there a reason why the provided patch is not yet implemented?

> On a sunday WORKWEEK and WEEK show different weeks.
> ---------------------------------------------------
>
>                 Key: TOMAHAWK-1003
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1003
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Schedule
>    Affects Versions: 1.1.6-SNAPSHOT
>            Reporter: Joost Schouten
>            Priority: Minor
>
> Hi,
> When on a Sunday the WORKWEEK mode is displayed, the week after that sunday is shown. If the WEEK mode is used, the week leading up to that Sunday is viewed. I believe this is undesirable and confusing.  The GregorianCalendar tells us (through Calendar.WEEK_OF_YEAR) that the Sunday belongs to the week leading up to that Sunday, and not the one following it. I would suggest in both cases to show the week leading up to the day.
> Before I start coding I'd first would like to hear if people agree or if there is a reason for this I'm unaware of. Outlook calender, acts in the same way I suggest.
> Thanks,
> Joost
> PS: though it sounds similair: https://issues.apache.org/jira/browse/TOMAHAWK-599, seems to be addressing another issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.