@Thomas Weidner
*
*
date_default_timezone_set('Europe/Stockholm'); is in bootstrap.

@kobsu
*
*
*Same result :(
*
Regards,
Saša Stamenković


On Tue, Nov 10, 2009 at 6:20 PM, kobsu <ko...@iki.fi> wrote:

>
> 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.
>
>

Reply via email to