Click
  1. Click
  2. CLK-170

DateField uses the unexpected first day of the week

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: extras
    • Labels:
      None

      Description

      DateField uses the unexpected first day of the week.

      Currently DateField expects that Calendar#getFirstDayOfWeek()
      returns SUNDAY = 0, MONDAY = 1.

      But actually Calendar#getFirstDayOfWeek() returns SUNDAY = 1, MONDAY = 2.

      http://java.sun.com/j2se/1.5.0/docs/api/constant-values.html#java.util.Calendar.SUNDAY

      Therefore, the first day of the week becomes the one different from
      the convention of each country.

      Related bug: CLK-36

        Activity

        Sadanori Ito created issue -
        Sadanori Ito made changes -
        Field Original Value New Value
        Attachment first-day-of-week-patch.txt [ 10201 ]
        Malcolm Edgar made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Malcolm Edgar made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Malcolm Edgar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]

          People

          • Assignee:
            Malcolm Edgar
            Reporter:
            Sadanori Ito
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development