Re: svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c
| From: | Derick Rethans | Date: | Mon, 24 Jan 2011 10:15:04 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51340@lists.php.net to get a copy of this message | ||
On Thu, 20 Jan 2011, Pierre Joye wrote:
> pajoye Thu, 20 Jan 2011 07:05:34 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=307618
>
> Log:
> - be sure that we got tzid by adding a default case
[snip]
> @@ -908,11 +897,24 @@
> }
>
> tzid = timelib_timezone_id_from_abbr("", (tzi.Bias + tzi.DaylightBias) * -60,
> 1);
> - if (! tzid) {
> + if (tzid == NULL) {
> tzid = "UTC";
> }
Why did you change this? It does exactly the same.
cheers,
Derick