[
https://issues.apache.org/jira/browse/TRINIDAD-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602664#action_12602664
]
Mike Kienenberger commented on TRINIDAD-634:
--------------------------------------------
+ private static final int _DAYS_OF_WEEK = 7;
Also, would it be better to compute _DAYS_OF_WEEK as follows instead of
hardcoding it to 7?
displayedCalendar.getMaximum(Calendar.DAY_OF_WEEK) -
displayedCalendar.getMinimum(Calendar.DAY_OF_WEEK) + 1
> chooseDate component ignores l10n for first day of week
> -------------------------------------------------------
>
> Key: TRINIDAD-634
> URL: https://issues.apache.org/jira/browse/TRINIDAD-634
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Affects Versions: 1.0.2-core, 1.2.2-core
> Reporter: Simon Lessard
> Assignee: Simon Lessard
> Priority: Minor
> Attachments: ChooseDateRenderer.patch
>
>
> Currently, chooseDate always uses Sunday as the first day of the week because
> Calendar.getMinimum() does not take the localisation into account while
> getFirstDayOfWeek does. We've been told it's incorrect as many countries use
> Monday as the first day of the week.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.