Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6817

DatePicker - getFirstDayOfWeek is wrong by 1 day

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 9.0.0
    • None
    • wicket-datetime
    • None

    Description

      DatePicker.getFirstDayOfWeek in Wicket 9.0.0 returns 1 for the English locale, 2 for the Czech locale. This results in incorrect display of days in calendar - week starts with Monday for the English locale, or with Tuesday for the Czech locale.

      The method DatePicker.getFirstDayOfWeek was modified in version 9.0.0, now the result of
      Calendar.getInstance(locale).getFirstDayOfWeek() is not adjusted by - 1 (comparing with Wicket 6.x source code).

      Attachments

        Activity

          People

            Unassigned Unassigned
            minarikv Vojta Minarik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: