-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #1809 Wrong week numbers displayed in aria:Calendar (and aria:Dat…
…ePicker) The calendar widget now uses aria.utils.Date.getWeekNumber (which is compliant with standard rules) to compute the week number, instead of considering that the first week of the year is the first full week. For example, in 2019, if the first day of the week is Monday, week 1 should start on 31/12/2018 and not on 07/01/2019. This commit extends aria.utils.Date.getWeekNumber to allow any day of the week to be specified as the first day of the week. If Monday is selected, rules from ISO 8601 are applied (the first week of the year is the week containing January 4th). Otherwise, the first week of the year is the week containing January 1st. PTR 16422165
- Loading branch information
Showing
3 changed files
with
89 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters