ne0fite / GigKeeper

GNU General Public License v3.0
1 stars 0 forks source link

Gig Start / End Date Logic #11

Closed ne0fite closed 7 years ago

ne0fite commented 7 years ago

Update the UX for the start / end dates for faster data entry:

  1. Add a "Default Gig Duration" to the profile settings (i.e., 2 hours)
  2. When a start date is entered, and no end date is entered, set the end date to the start date + the default duration
  3. If the end date is changed to a date/time before the start date, set the start date to the end date
  4. If the start date is changed to a date/time after the end date, set the end date to the start date
  5. Validate that the end date is equal to or after the start date on save (frontend and backend)