1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 01:10:58 +01:00
phorge-phorge/webroot/rsrc/js
Dmitri Iouchtchenko 9366edf255 Fix start in fancy datepicker calendar
Summary:
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.

Test Plan:
- 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.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin

Maniphest Tasks: T9675

Differential Revision: https://secure.phabricator.com/D14409
2015-11-05 07:07:38 -08:00
..
application Show a more reasonable status element for pull requests 2015-10-21 11:28:26 -07:00
core Fix start in fancy datepicker calendar 2015-11-05 07:07:38 -08:00
phui Give Phriction a real dropdown 2015-05-19 12:14:44 -07:00
phuix Adds a setLabel function to ActionView 2015-04-23 07:03:03 -07:00