Fixes T9675.
Fixes the calculation for the difference between the first day of the month and the first day of the week. It was previously possible for this to be negative, which caused the subsequent loop to hang the browser.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T9675: behavior-fancy-datepicker may freeze chrome and firefox when `week start on` set to monday
- Commits
- Restricted Diffusion Commit
rP9366edf25589: Fix start in fancy datepicker calendar - Required Signatures
L28 Phacility Individual Contributor License Agreement
- Set week to start on Sunday. Observed that the calendar still renders fine.
- Set week to start on Monday. Observed that the browser no longer hangs on November 2015.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable