How do I change the time to be 12am to 12pm?

The time is default to 0 to 24 hours. How can I change it to be 12am to 12pm?

docs.dhtmlx.com/doku.php?id=dhtm … ngs_config

scheduler.config.hour_date = “%h:%i %A”;

Thank you!!

For anyone else who has this problem, leave 0 in the Starting Time and 24 in the Ending Time. %h:%i %A goes in the Hour Time field.

I have made this update in my config, but the hours are displaying as 01, 02, 03,…,11,12.

Is there a way to remove the leading zeros?

Here’s a link:
evangelbaptist.org.php5-16.w … s-calendar
Thanks!
-Doug

One more note. I’ve tried %g instead of %h and it displays the “%g” in the output (e.g. “%g:15 am”).

-Doug

Unfortunately we have missed such formatting option
Support for %g and %G (12 and 24 hours without leading zeros) will be added in next version.