Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
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
Hi Sadanori,
Thanks for identifying this bug and providing a patch. I have checked it into SVN and it will be available in release 1.2
Sadly for me, the Java locale for Australia thinks the starting day of the week in Sunday, with it isn't in modern terms, it starts on Monday.
regards Malcolm