Absolution
New Member
I have a PHP generating an RSS feed for my blog. I recently moved servers and the servers posts the date differently and firefox doesn't seem to like the newer dates as it doesnt show them up in my RSS feed. Other browsers dont seem to have a problem however.
Take a look here:
http://www.skepticize.me/subscribe/rss.php
So the new server shows things like (which firefox doesn't like):
<pubDate>Sun, 02 Oct 11 20:01:36 -0400</pubDate>
Old sever shows things like (which works fine):
<pubDate>Sat, 04 Jun 2011 14:22:27 MDT</pubDate>
This is the PHP code I have which generates and saves dates:
$blogdate = date(DATE_RFC822);
It seems the new server is giving -0400 which firefox doesn't like. Any suggestions on fixing this? Keep in mind I'm somewhat of a PHP newbie.
Take a look here:
http://www.skepticize.me/subscribe/rss.php
So the new server shows things like (which firefox doesn't like):
<pubDate>Sun, 02 Oct 11 20:01:36 -0400</pubDate>
Old sever shows things like (which works fine):
<pubDate>Sat, 04 Jun 2011 14:22:27 MDT</pubDate>
This is the PHP code I have which generates and saves dates:
$blogdate = date(DATE_RFC822);
It seems the new server is giving -0400 which firefox doesn't like. Any suggestions on fixing this? Keep in mind I'm somewhat of a PHP newbie.