Re: date_diff broken?
| From: | Derick Rethans | Date: | Fri, 17 Jun 2011 15:13:51 +0000 |
| Subject: | Re: date_diff broken? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53354@lists.php.net to get a copy of this message | ||
On Fri, 17 Jun 2011, Stas Malyshev wrote:
> > If either of the dates use a TLA timezone (EDT, PST, GMT), rather
> > than the long name (Europe/London, Indian/Kerguelen,
> > America/Kentucky/Louisville), then that date is altered.
>
> Yes, this seems to be because TLA ones rely on ->z and ->dst which get
> reset in timelib_unixtime2gmt() while other one relies on tzinfo which
> is kept intact.
Yup. I'm fixing it right now.
cheers,
Derick
--
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug