HomePhabricator

Saturate day of month in datepicker

Description

Saturate day of month in datepicker

Summary:
The datepicker could step by the wrong number of months, due to the date rolling over to the next month when the number of days in the month is exceeded. For example, going forward from January 31 would jump to March 3, while going backward from July 31 would only go to July 1.

Push the date back to ensure that the datepicker stays in the correct month when switching.

Test Plan: Changed months starting from an assortment of dates.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: artms, Korvin

Differential Revision: https://secure.phabricator.com/D21673

Details

Provenance
0Authored on Jun 13 2021, 6:37 PM
0Pushed on Jun 25 2021, 12:02 AM
Reviewer
Blessed Reviewers
Differential Revision
D21673: Saturate day of month in datepicker
Parents
rP51cb7a3db9e8: Provide an ad-hoc maintenance lock for clustered repositories
Branches
Unknown
Tags
Unknown
Build Status
Buildable 25384
Build 35047: Run Core Tests