J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Sun May 19, 2013 5:29 am

Time format in Calendar event popup

Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.

Time format in Calendar event popup

Postby sdrury » Tue Nov 29, 2011 4:38 am

Hi,

Have searched but not found the answer. When viewing the calendar (Joomla 1.5, JEvents 2.0) and hovering the mouse pointer over an event, the pop up shows the time in 12hr format when I would expect it to be 24hr format.

The time in other JEvents screens is displayed as 24hr format.

Is there a setting I have missed that will display the time in 24hr format in the pop ups?
sdrury
Posts: 5
Joined: Sun Jul 17, 2011 10:44 am
Location: Australia

Re: Time format in Calendar event popup

Postby sdrury » Tue Nov 29, 2011 4:46 am

Date format field is set to 'FromLanguageFile'
Use 12hr time format is set to 'no'
sdrury
Posts: 5
Joined: Sun Jul 17, 2011 10:44 am
Location: Australia

Re: Time format in Calendar event popup

Postby carcam » Tue Nov 29, 2011 6:59 am

As you are using the "FromLanguageFile" option, you should go to the language file and change the time format representation. Assuming you are using English from Great Britain you have to:

1. Edit the file: [JOOMLA]/languages/en-GB/en-GB.com_jevents.ini
2. Look for the string: "TIME_FORMAT"
3. Replace the %l:%M with %H:%M

The possible values for that strings are the same as in the strftime() php function.
carcam
Contributor
Posts: 3391
Joined: Wed Aug 06, 2008 7:50 pm
Location: Córdoba

Re: Time format in Calendar event popup

Postby sdrury » Thu Dec 01, 2011 1:26 am

Thankyou - I will give that a try.
sdrury
Posts: 5
Joined: Sun Jul 17, 2011 10:44 am
Location: Australia


Return to Jevents 2.x (Free Access)

Who is online

Users browsing this forum: Google [Bot]

Main Menu

User Menu

Hosted By


Who is online

In total there is 1 user online :: 1 registered and 0 hidden (based on users active over the past 5 minutes)
Most users ever online was 94 on Tue Sep 01, 2009 12:33 am

Users browsing this forum: Google [Bot]

Login Form