Start/due dates on milestones decrease when editing
Summary
If a milestone has a start and/or due date, when the milestone is edited, the dates are decreased by one or two days. This is apparent as soon as you open the editor. If you correct the dates before saving, they will remain corrected. Thus, the problem appears to be when the editor is opened.
Steps to reproduce
- Create a milestone and assign a start date and a due date.
- Edit the milestone. Observe that the dates have changed in the date pickers (this is not okay).
- Save the milestone. The dates do not change from what's in the editor (this is okay).
Example Project
%Test Milestone in JoelFeiner/BugTest
The dates are Jan 4, 2018 and Jan 11, 2018. If you edit the milestone, you will see in the editor view that the dates are Jan 3, 2018 and Jan 10, 2018.
What is the current bug behavior?
Dates decrement in some fashion when editing.
What is the expected correct behavior?
Dates do not change unless explicitly changed.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com.
Edited by Joel Feiner