0

I have two questions related to DHTMLX

QUESTION 1: how to start_hour with minutes.

Start_hour_image

QUESTION 2: how to start_hour with PM (Post Meridiem)

Start_hour_with_pm

1 Answers1

0

Minutes are not supported in first_hour config, in Day/Week/Unit views you can set only hour as a minimum value for the scale. You can block time from 05:00 to 05:30 to prevent events creation. Start minutes on the scale can be configured only in Timeline view.

To start from 5pm, set

scheduler.config.first_hour = 17;

It doesn't mean that current date 17:00-24:00 and the next day till 10:00 (if you set, for example, "last_hour = 10") will be rendered on the scale. You need to set values for these configs within one day. I.e. 0:00 <= first_hour < last_hour <= 24:00.

Polina
  • 412
  • 2
  • 6