Repro steps:
- Open Admin console in Chrome
- Navigate to Phone System → Schedules
- Create new schedule
- In visual editor, create new schedule starting at 6 PM Monday.
- Drag and expand the newly created schedule block through Tuesday at 6 AM.
- The schedule is saved.
- Click on the schedule block or click Edit schedule button.
- Schedule is invalid with errors:
The start time must be earlier than the end time.
The start time must be earlier than the end time.
User should not be allowed to create an invalid schedule from the visual editor. Using steps to reproduce, the following schedule should have been produced:
Monday: 6 PM - 11:59 PM
Tuesday: 12:00 AM - 6:00 AM