12-hour format date

Just learning and feeling my way around, so sorry if this is a basic question.

I want scheduler.templates.event_header to show just the start time in 12-hour format, so 9:00 instead of 09:00 and 2:00 instead of 14:00. What’s the best way to do that?

Hi,
you can override ‘hour_date’ config, it holds the format for time valuesscheduler.config.hour_date = "%g:%i %a"; scheduler.init("scheduler_here");
docs.dhtmlx.com/scheduler/api__s … onfig.html

you can also try modifying template functions:
docs.dhtmlx.com/scheduler/api__s … plate.html
docs.dhtmlx.com/scheduler/api__s … plate.html
docs.dhtmlx.com/scheduler/custom … ntent.html

Here is the date format description:
docs.dhtmlx.com/scheduler/settings_format.html

Perfect - thanks!