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

Support archive

24 hour showing even though set to 12

John Della Vecchia 6 Apr 2014 11:13 problem, complete

The time dropdown is showing 24 hours even though my installation is set to 12. EE 2.8.1.

Replies

  1. Low 6 Apr 2014 11:33

    It's a known issue and will be fixed in the upcoming version, to be released early coming week.

  2. soire 26 Jun 2017 16:55

    Is this still an issue? I'm running EE3.5.4 and LE 2.0.1. My site is set to 12 hour clock, my entries appear with 12 hour settings in the fieldtype, but on the front end, I am getting 24 hour results.

  3. Low 26 Jun 2017 17:32

    It shouldn't be. If you're seeing strange results, I'll need to take a look myself. Please send SuperAdmin login credentials to hi at gotolow dot com if you can.

  4. soire 26 Jun 2017 18:14

    Thank you! I just emailed you with the details.

  5. Low 26 Jun 2017 18:24

    (replying here for visibility)

    Looking at your template code, you've got this:

    {event:start_time format="%H:%i"}


    ...where the format="" parameter explicitly tells Low Events to output the time in a 24h format. Change it to anything else as per the EE date format rules, and you should be all set.

  6. soire 27 Jun 2017 13:59

    Thanks, Low. I guess I needed to specify %h in order to display correctly. Strange that without that variable formatting in place, just using {event:start_time} it still appears in 24 hour mode.

    nonetheless, I appreciate your help! Fixed!

  7. Low 28 Jun 2017 07:10

    The setting is meant for use in the fieldtype interface only (CP and Channel Form). If no format is given in the template, the raw DB data is returned, which is 24h format, which also is the recommended ISO standard. So, not that strange, but I see how you can get confused.