military time

Currently my events are showing on the List and “selected event” views with Military time. Is there a way to change the format to “regular” time? (e.g. %h:%i %a) (I got this to work with the datepicker, but now I have two formats for displaying the time…)

I think it might have something to do with the statement,

fts = dhx.i18n.timeFormatStr(start)

but I can’t find where I can control it or alter it.

Thank you,
Rob

Check the may define time and date formats for the scheduler. Here are the example:

dhtmlxScheduler_v30_111025/samples/07_mobile/02_date_format.html

and docs:
docs.dhtmlx.com/doku.php?id=dhtm … figuration

Alexandra,

Thank you. I ended up using

scheduler.config.hour_date = "%g:%i %a"; 

Now, is there a way to get the datepicker to use non-military time when selecting the time of an event?

Thank you!
Rob

Rob,

scheduler.config.form_date defines date format for form fields:

scheduler.config.form_date = “%Y-%m-%d %g:%i %a”;