Try
Zend_Date::setOptions(array('fix_dst' => true));
before
$date = new Zend_Date();
umpirsky wrote:
>
> Hi zf community.
>
> This code:
>
> $date = new Zend_Date(null, null, $locale);
> $date->setTimestamp(1256198496);
> echo $date->getDate()->toString(Zend_Date::DATES);
>
> gives date 21.10.2009. for sr_RS locale (similar for other locales), for
> en_GB it gives 21 Oct 2009.
> I expect 22 Oct 2009. it's whole day missed?!?!?
>
> Any idea?
>
--
View this message in context:
http://old.nabble.com/Zend_Date-problem-tp26283342p26287337.html
Sent from the Zend Framework mailing list archive at Nabble.com.