Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
Description
Add something like this to the DatePicker#configure method:
widgetProperties.put("START_WEEKDAY", Calendar.getInstance(getLocale()).getFirstDayOfWeek()-1);
(though preferable more explicit about the locale-to-YUI week day mapping)
In this way users have full flexibility as well as a decent default.