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

Add method getFirstDayOfWeek to DatePicker class

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.9.0, 7.0.0-M1
    • Component/s: wicket-datetime
    • Labels:

      Description

      Java Locale is not always right regarding first day of week. For Brazil, it's returning MONDAY, but it's well know that it should be SUNDAY. Currently, there is no way to override it.

      I attached (a untested) patch.

        Attachments

        1. patch-datepicker-firstdayofweek1.diff
          1 kB
          Adriano dos Santos Fernandes

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              asfernandes Adriano dos Santos Fernandes
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: