You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org> on 2006/09/04 13:50:22 UTC

[jira] Created: (TOMAHAWK-656) Dates missing in Schedule month view

Dates missing in Schedule month view
------------------------------------

                 Key: TOMAHAWK-656
                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-656
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Schedule
    Affects Versions: 1.1.5-SNAPSHOT
            Reporter: Peter Mahoney


There is a problem on the month view where the first week of a month is not rendered on all platforms. The example I have been investigating is for October 2006, where on Linux the month is rendered from Monday 2nd October. On Windows the month renders correctly, including the week beginning 25th September.

The problem is in AbstractScheduleModel, where the following call is made:
        cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);

On Windows, the date is adjusted to the previous Monday. On Linux it is adjusted to the next Monday.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (TOMAHAWK-656) Dates missing in Schedule month view

Posted by "Jurgen Lust (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-656?page=all ]

Jurgen Lust updated TOMAHAWK-656:
---------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 1.1.5-SNAPSHOT
       Resolution: Fixed

patch applied. Thanks!

> Dates missing in Schedule month view
> ------------------------------------
>
>                 Key: TOMAHAWK-656
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-656
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Schedule
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Peter Mahoney
>         Assigned To: Jurgen Lust
>             Fix For: 1.1.5-SNAPSHOT
>
>         Attachments: abstractschedulemodel.patch
>
>
> There is a problem on the month view where the first week of a month is not rendered on all platforms. The example I have been investigating is for October 2006, where on Linux the month is rendered from Monday 2nd October. On Windows the month renders correctly, including the week beginning 25th September.
> The problem is in AbstractScheduleModel, where the following call is made:
>         cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);
> On Windows, the date is adjusted to the previous Monday. On Linux it is adjusted to the next Monday.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (TOMAHAWK-656) Dates missing in Schedule month view

Posted by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-656?page=all ]

Peter Mahoney updated TOMAHAWK-656:
-----------------------------------

    Status: Patch Available  (was: Open)

> Dates missing in Schedule month view
> ------------------------------------
>
>                 Key: TOMAHAWK-656
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-656
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Schedule
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Peter Mahoney
>         Assigned To: Jurgen Lust
>         Attachments: abstractschedulemodel.patch
>
>
> There is a problem on the month view where the first week of a month is not rendered on all platforms. The example I have been investigating is for October 2006, where on Linux the month is rendered from Monday 2nd October. On Windows the month renders correctly, including the week beginning 25th September.
> The problem is in AbstractScheduleModel, where the following call is made:
>         cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);
> On Windows, the date is adjusted to the previous Monday. On Linux it is adjusted to the next Monday.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira