1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00
phorge-phorge/webroot/rsrc
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
..
css Add some minor padding to !!highlight!! text 2015-11-04 13:39:42 -08:00
externals Replace Roboto Slab with Aleo for PHUIDocumentView 2015-11-02 20:02:42 -08:00
favicons Add HiDPI favicons 2014-11-07 17:07:38 -08:00
image Update Asana Logo 2015-09-30 10:15:53 -07:00
js Fix start in fancy datepicker calendar 2015-11-05 07:07:38 -08:00