[SOLVED] Front End displaying 24 hour clock, need 12 hour in Calendar

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

[SOLVED] Front End displaying 24 hour clock, need 12 hour in Calendar

Post by carasmo »

Hello,

When I enter events, I use the 12 hour clock but on the front end, what the users of the web site see, are military times. Please help me change the front end so that they see 6:30 pm, instead of 18:30.


Thank you!
Last edited by carasmo on Wed Apr 04, 2007 2:08 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Front End displaying 24 hour clock, need 12 hour in Calendar

Post by calguy1000 »

Calendar module SVN has some changes for using a twelve hour clock,
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

Re: Front End displaying 24 hour clock, need 12 hour in Calendar

Post by carasmo »

I figured it out: change %H to %I

I used the latest download, so the 12 hour is on the backend, but the front end templates have %H for 24-hour instead of %I for 12 hour.

Thanks!!!
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

Re: Front End displaying 24 hour clock, need 12 hour in Calendar

Post by carasmo »

How do you put "SOLVED" in the title of the orig post. I don't think I have access priv.

Thanks
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Front End displaying 24 hour clock, need 12 hour in Calendar

Post by RonnyK »

Carasmo,

you can put [SOLVED] in front of a topic, by going to the original message block and push the button "Modify", you can change the subject then as well.

Ronny
Post Reply

Return to “CMSMS Core”