• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Trying to remove +0000 from RSS Feed pubDate

Martyn

Active member
#1
Would anyone know how to remove the +0000 part from the RSS feed, I guess its the location part?

many thanks

example of rss feed time stamp

Code:
<pubDate>Thu, 24 Dec 2015 01:43:26 +0000</pubDate>
 

Martyn

Active member
#3
"really" :p so there must be something I can do to hide it? RSS feeds from the forums to an external page just seem.. not a nice look =-/

 

Martyn

Active member
#4
I'm using smarty to (rss feed is on whmcs)

I've found this {$item->pubDate|date_format:'%e %B %Y'} but that doesn't work >.<, unsure if you know?

Was originally pulling the date via {$a->pubDate}
 

Chris D

XenForo developer
Staff member
#5
The format of the date is solely down to the client. For consistency the RSS spec requires it to be the format we use, but clients may format that how they wish. With that in mind, it's a support query better directed at whoever provides the client.

That said, if it was using $a before then presumably you would need to use $a instead of $item.