Re: date.timezone E_WARNING -- Really necessary? What's the rationale?
| From: | Richard Lynch | Date: | Thu, 30 May 2013 01:19:19 +0000 |
| Subject: | Re: date.timezone E_WARNING -- Really necessary? What's the rationale? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67592@lists.php.net to get a copy of this message | ||
On Thu, May 23, 2013 3:10 pm, Stas Malyshev wrote:
>> I'm probably not the typical PHP user; I spend 99% of my PHP time
>> using the CLI (and not web SAPIs).
>> This means that I frequently run PHP without an .ini file. As a
>
> I'm not sure how this follows - CLI is capable of using ini file just
> like the rest of SAPIs. Why not create it?
>
>> The "U" in UTC *does* stand for "Universal," after all. It's a
>> sensible default and as such shouldn't
>
> I don't think it's a sensible default - people don't actually use UTC
> when considering dates. A minority of people can use timezone that
> coincides with UTC, but not very many use actual UTC.
I don't know about everybody else, but if I need a timezone-aware
application, I always use GMT/UTC and have I/O routines for
user-interface to convert to local for them.