How to make the working hour from 8am-5pm instead of 12am-11pm
You can customize the business hours using businessBeginsHour and businessEndsHour propertes.
See also: https://doc.daypilot.org/scheduler/business-hours/