Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1003

On a sunday WORKWEEK and WEEK show different weeks.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.1.7-SNAPSHOT
    • None
    • Schedule
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            joostschouten Joost Schouten
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: