Req #63339 [Com]: Set a useful default for date.timezone option
Edit report at https://bugs.php.net/bug.php?id=63339&edit=1
ID: 63339
Comment by: bmassot at free dot fr
Reported by: dirkjan at ochtman dot nl
Summary: Set a useful default for date.timezone option
Status: Open
Type: Feature/Change Request
Package: *Configuration Issues
PHP Version: 5.4.8
Block user comment: N
Private report: N
New Comment:
On Linux the guess_timezone() function of ext/date/php_date.c could try to look at /etc/timezone.
Previous Comments:
------------------------------------------------------------------------
[2012-10-23 08:58:59] dirkjan at ochtman dot nl
Description:
------------
It's pretty silly that PHP requires setting an explicit date.timezone. On both Unices and
Windows, it should be pretty easy to get a default timezone from the OS.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63339&edit=1
Thread (4 messages)