Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56883 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76796 invoked from network); 12 Dec 2011 11:36:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2011 11:36:26 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:56463] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 31/F0-06355-937E5EE4 for ; Mon, 12 Dec 2011 06:36:26 -0500 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id 201E710E000; Mon, 12 Dec 2011 11:36:23 +0000 (GMT) Date: Mon, 12 Dec 2011 11:36:22 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: Oleg Oshmyan cc: PHP Developers Mailing List In-Reply-To: Message-ID: References: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Local time zone From: derick@php.net (Derick Rethans) On Sun, 11 Dec 2011, Oleg Oshmyan wrote: > * The tzname C variable can be used to get two abbreviations for the > current zone (typically the standard one and the DST one for zones > where DST is used), which allows to improve the guess compared to using > just one abbreviation; for example, the time zone in London in winter > will be guessed as Europe/London rather than UTC. It's a guess, and that's the problem. Guessing makes up for odd and strange bugs if it's not 100% accurate (which it isn't). > * /etc/localtime is often a symbolic link to or a copy of > /usr/share/zoneinfo/