Jevents 2.x (Free Access)

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 follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

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
Bronze Members
 
Posts: 31
Joined: Wed Jan 12, 2011 4:47 pm

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

Hello,

Is the module set to 12 or 24 hour?

Regards
Tony
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23633
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

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

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

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: 42795
Joined: Fri Feb 15, 2008 6:14 pm

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
Bronze Members
 
Posts: 31
Joined: Wed Jan 12, 2011 4:47 pm

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
Bronze Members
 
Posts: 31
Joined: Wed Jan 12, 2011 4:47 pm

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: 42795
Joined: Fri Feb 15, 2008 6:14 pm

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
Bronze Members
 
Posts: 31
Joined: Wed Jan 12, 2011 4:47 pm


Return to Jevents 2.x (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • 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