Change Date Formatting in Publish Form
Hey,
A client just asked us if we can change the time formatting from 24 hour format (ie 23:00) to rendering time in an AM/PM format (ie 11pm) in the Publish form for Low Events fields.
Is this possible? Some of the people who use the back-end are pretty adamant that "military time" is hard to understand by Americans. :)
Thank you.
Replies
Low 20 Feb 2015 21:42
Yes. To quote the docs: The time is shown in either a 12-hour or 24-hour clock, depending on the site’s default time formatting setting.
http://gotolow.com/addons/low-events/...
Stoyan Vasilev 20 Feb 2015 21:50
Thanks for the quick response.
We have the localization settings for "Default Time Formatting" set to United States and when the page first loads the times are shown in am/pm format... then when JS loads and is applied they switch to the 24 hour format (ex. 23:00).
Thanks.
Low 21 Feb 2015 07:53
What are your EE and LE versions?
Stoyan Vasilev 21 Feb 2015 15:15
EE: 2.7.0
LE: 1.3.0
Thanks.
Low 21 Feb 2015 16:13
Can you update LE to the latest version and see if it persists?
Stoyan Vasilev 21 Feb 2015 17:52
Hey,
I think upgrading did the trick. We will let you know if we need anything else.
Thanks.
Stoyan Vasilev 22 Feb 2015 12:48
Hi,
The upgrade is causing one of our pages to show the following error:
Fatal error: Cannot redeclare class Low_events_model in ...\expressionengine\third_party\_low_events\libraries\Low_events_model.php on line 339
How should we proceed?