Re: [RFC] Remove the date.timezone warning
| From: | Derick Rethans | Date: | Tue, 27 Jan 2015 09:38:04 +0000 |
| Subject: | Re: [RFC] Remove the date.timezone warning | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81211@lists.php.net to get a copy of this message | ||
On Tue, 27 Jan 2015, Matteo Beccati wrote:
> On 27/01/2015 01:34, Bob Weinand wrote:
> >
> > I'd like to request removal of the date.timezone warning.
> >
> > Here is the RFC:
> > https://wiki.php.net/rfc/date.timezone_warning_removal
> >
> > <https://wiki.php.net/rfc/date.timezone_warning_removal>
>
> The warning is certainly annoying, but making it default to UTC or a
> wrong timezone because the right one can't be guessed is a major WTF.
Exactly.
> Ideally the initial setup of php.ini could be handled by the distro
> package system, if it's not already?
None of the distros do it well enough. Some even invent stupid stuff
like "System.Localtime" as their timezone identifier, while they really
should just figure out what timezone is configured for the system, and
put that in a datetime.ini setting in their php.d/ dir or whatever they
use.
cheers,
Derick