On 25/05/13 14:09, Pierre Joye wrote:
>
> It is actually only about getting safe, cross platform/OS (even
> between Linux versions) for the TZ database. It has nothing to do
> with taste or similar subjective opinion.
>
> For the record, the behavior requested in this thread is what we had
> in earlier versions, all we got was plenty of bugs reports about
> wrong TZ detections.
>

I had missed the removal of the TZ detection code from
guess_timezone() in 5.4. So @date_default_timezone_get() is somewhat
less useful than it used to be, as a function for detecting system
settings.

> I think it is not too much asking to set it in php.ini or in your
> application.
>

At least for MediaWiki, it's certainly more important to avoid
warnings than it is to have the right local timezone. UTC is used in
any case where consistency is important. Based on other posts to this
list, I don't think we're alone in this.

-- Tim Starling

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to