RSS::Parser.parse pubdate changing back

I have a script that goes into my site and parses the rss feeds, but
when it does this the pub date jumps backup about 11 months.

The code is below,

require ‘rss/2.0’
require ‘open-uri’
class NewsController < ApplicationController

def index
begin
if !$app_lang || $app_lang == ‘en’
feed_url = ‘Rediff News
else
feed_url =
'http://localhost:8080/WebSummary/newssummary.jsp?cmbLanguage='+$app_lang
end
open(feed_url) do |http|
response = http.read
@result = RSS::Parser.parse(response, false)
logger.info @result.channel.pubDate
end
rescue StandardError => myStandardError
logger.info(myStandardError)
end
end
end

Kind Regards,
Andrew

Check your feed and see if you have a “pubDate” (literal) and that the
format is something like “Sat, 07 Sep 2002 00:00:01 GMT”