All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Change Date Formatting in Publish Form

Stoyan Vasilev 20 Feb 2015 21:28 question, complete

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

  1. 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/...

  2. 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.

  3. Low 21 Feb 2015 07:53

    What are your EE and LE versions?

  4. Stoyan Vasilev 21 Feb 2015 15:15

    EE: 2.7.0
    LE: 1.3.0

    Thanks.

  5. Low 21 Feb 2015 16:13

    Can you update LE to the latest version and see if it persists?

  6. 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.

  7. 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?

    Low 22 Feb 2015 12:56

    This is better suited as a separate issue and thread.

    Please reference the new conversation here: Getting a Fatal error: Cannot redeclare class Low_events_model in LE 1.4.1

    Stoyan Vasilev 22 Feb 2015 13:04

    Apologies. Thank you.