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

How to change RSS feed Time to 12 Hour Format?  Topic is solved

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.

How to change RSS feed Time to 12 Hour Format?

Postby hockmasm » Thu Feb 07, 2013 7:08 pm

v2.1.13a Stable

I am displaying my jevents calendar RSS feed on another website. However, the feed is showing 24 hour format. How do I change it to 12 Hour format?
hockmasm
Posts: 27
Joined: Wed Jan 12, 2011 4:47 pm

Re: How to change RSS feed Time to 12 Hour Format?

Postby Tonyp » Thu Feb 07, 2013 10:12 pm

Hello,

Is the module set to 12 or 24 hour?

Regards
Tony
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8715
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: How to change RSS feed Time to 12 Hour Format?

Postby hockmasm » Fri Feb 08, 2013 1:20 pm

under the Components > Configuration > Component > Use 12hr time Format > Yes is checked.
hockmasm
Posts: 27
Joined: Wed Jan 12, 2011 4:47 pm

Re: How to change RSS feed Time to 12 Hour Format?

Postby Geraint » Fri Feb 08, 2013 1:55 pm

the format is controlled by the translation of the string

JEV_RSS_DATETIME

See the language overrides tool in Joomla
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30507
Joined: Fri Feb 15, 2008 6:14 pm

Re: How to change RSS feed Time to 12 Hour Format?

Postby hockmasm » Fri Feb 08, 2013 2:37 pm

i found the language manager, but what do i put in the Text field as a replacement to display 12 hour time?

it currently says: %d %b %Y %H:%M
hockmasm
Posts: 27
Joined: Wed Jan 12, 2011 4:47 pm

Re: How to change RSS feed Time to 12 Hour Format?

Postby hockmasm » Fri Feb 08, 2013 2:46 pm

i think i got it. i need to replace %H with %I.

Next questions...

How do I remove the Leading 0? I found another article on this site but i don't have permission to view it. can you give me the answer?

How do I remove the RSS Title from showing up on the RSS feed?
hockmasm
Posts: 27
Joined: Wed Jan 12, 2011 4:47 pm

Re: How to change RSS feed Time to 12 Hour Format?

Postby Geraint » Sat Feb 09, 2013 8:27 am

%l according to http://php.net/manual/en/function.strftime.php should NOT have a leading zero. It could be a php problem on your server - I'm guessing you are on a windows server?
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30507
Joined: Fri Feb 15, 2008 6:14 pm

Re: How to change RSS feed Time to 12 Hour Format?  Topic is solved

Postby hockmasm » Mon Feb 11, 2013 1:36 pm

not sure what i have. i added a %l (lowercase l) and it took off leading zeros.
hockmasm
Posts: 27
Joined: Wed Jan 12, 2011 4:47 pm


Return to Jevents 2.x (Free Access)

Who is online

Users browsing this forum: No registered users

Main Menu

User Menu

Hosted By


Who is online

In total there are 0 users online :: 0 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: No registered users

Login Form