PHP timezone

Diego Woitasen diegows at xtech.com.ar
Thu Dec 23 19:29:50 CET 2010


On Thu, Dec 23, 2010 at 12:53 PM, Bogomil Shopov <shopov at kolabsys.com>wrote:

> On Thursday, December 23, 2010 05:47:24 pm Bogomil Shopov wrote:
> > On Thursday, December 23, 2010 12:03:09 am Diego Woitasen wrote:
> > > I have a weird problem with PHP timezone. It's looks like OpenPKG PHP
> and
> > > Ubuntu PHP have different time zones. Steps to reproduce the problem:
> > >
> > > # cat test.php
> > > <?
> > > print date('r') . "\n";
> > > ?>
> > > # /usr/bin/php test.php
> > > Wed, 22 Dec 2010 18:58:36 -0300
> > > # /kolab/bin/php test.php
> >
> > Can you run this and paste the response here:
> > #/kolab/bin/php -i|grep "zone"
>
> I think I found the problem, byt I still need your feedback.
>
>
> --
> Bogomil "Bogo" Shopov
> Senior Web Engineer
>
> Kolab Systems AG
> Zürich, Switzerland
>
> e: shopov at kolabsys.com
> t: +49 251 871 369 77
> w: http://kolabsys.com
>
> pgp: E69A226A Bogomil "Bogo" Shopov
>

$ /kolab/bin/php -i|grep "zone"
"Olson" Timezone Database Version => 2008.9
Timezone Database => internal
Default timezone => America/Buenos_Aires
date.timezone => no value => no value

Hmm... Database => internal?? What's that?

Regads,
 Diego

-- 
Diego Woitasen
XTECH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20101223/ec5cdf0c/attachment.html>


More information about the users mailing list