>>> 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 was wondering - why not get time zone info from operating system? It's > should be quite easy on both *nixes and Windows. That way default value > would be "from operating system", with possibility to override it in .ini.
I believe this may have been the behavior at some point; at least date_default_timezone_get change in PHP 5.4 to no longer includes info from the OS. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php