Page 1 of 1
12-hour clock.
Posted: Sunday 04 August 2019 23:24
by rwperkinsjr
Is there a way to display the clock in a 12-hour format instead of the default 24-hour format?
Re: 12-hour clock.
Posted: Monday 05 August 2019 8:20
by Lokonli
There is a config setting:
timeformat, Configure the TimeFormat, 'DD-MM-YY HH:mm' = default
For 12 hour format you can set in CONFIG.js something like:
Code: Select all
config["timeformat"] = "DD-MM-YY hh:mm a"
There also is the parameter calendarformat
For all formats, see
https://momentjs.com/docs/#/parsing/string-format/