I try to add pubDate with Zend_Date to get proper +0200 (Poland)
Here is my code:
$date = new Zend_Date($news->date, Zend_Date::ISO_8601, 'pl');
$date->get(Zend_Date::RFC_822);

But trying to add this one I receive warning:
gmdate() expects parameter 2 to be long, string given in...
ZF-1.7.8\Zend\Feed\Rss.php on line 421

I figured out that strtotime works but it doesn`t seem to use my timezone.
In my RSS I get +0000 instead of +0200.

Thanks for any clues how should I provide correct date for Zend_Feed.
-- 
View this message in context: 
http://www.nabble.com/Providing-date-for-Zend_Feed-issue-tp23850206p23850206.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to