github-education-resources / classroom

GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
https://classroom.github.com
1.34k stars 564 forks source link

Deadline calendar resets to current time when opening #2466

Closed EricPickup closed 4 years ago

EricPickup commented 4 years ago

Describe the bug Went to update the deadline for an assignment, and noticed that when I open the calendar, the time is reset to the current (default) time and when I close that calendar, it will update the time in the form to that time.

To Reproduce Steps to reproduce the behavior:

  1. Create an assignment with a deadline in the future
  2. Edit the assignment
  3. Click on the calendar
  4. Date will be changed to current on the calendar widget
  5. Focus out of calendar widget, date is now updated to current time (if you didn't modify it after it reset)

Expected behavior When opening the widget with the deadline already set, the widget should reflect that date/time already saved.

Screenshots ezgif-2-767b1c4d16c8

d12 commented 4 years ago

Closing in favor of https://github.com/education/classroom/issues/2073 ❤️