Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56923 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49039 invoked from network); 14 Dec 2011 21:53:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Dec 2011 21:53:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=will.fitch@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=will.fitch@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.49 as permitted sender) X-PHP-List-Original-Sender: will.fitch@gmail.com X-Host-Fingerprint: 209.85.216.49 mail-qw0-f49.google.com Received: from [209.85.216.49] ([209.85.216.49:42640] helo=mail-qw0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/D7-02473-3EA19EE4 for ; Wed, 14 Dec 2011 16:53:40 -0500 Received: by qadc14 with SMTP id c14so934072qad.8 for ; Wed, 14 Dec 2011 13:53:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=GT5xsTqW0Ljy7QOiCBanWMYMvdmwhnko+55A3P+CQp0=; b=bc+E0E5zOXQi9hirUTkSKBwrWjYKMf71lThPxGf4yKktBqbUxDpZUoso5IhEBSIGKh 66S3A1QBPKsKxWJYZyflV+NRkxOCcbZMOPljyAfIiOgwPkcTAGQuYxPNp7Fsj2oCnJPt koTwOYQ3m/8Zv2aD4cmP+2/IaIeEc47ZEWpo8= Received: by 10.224.197.73 with SMTP id ej9mr1003116qab.30.1323899616098; Wed, 14 Dec 2011 13:53:36 -0800 (PST) Received: from [192.168.1.68] ([68.64.144.221]) by mx.google.com with ESMTPS id dm3sm8296768qab.12.2011.12.14.13.53.34 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Dec 2011 13:53:34 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: <4EE91556.3040909@sugarcrm.com> Date: Wed, 14 Dec 2011 16:53:03 -0500 Cc: Oleg Oshmyan , Derick Rethans , PHP Developers Mailing List Content-Transfer-Encoding: quoted-printable Message-ID: References: <8D58A664-7250-4FEE-9424-2D2DEFC69308@inbox.lv> <1C397FE3-76E2-473B-B47F-194DAF3ACB39@inbox.lv> <4EE91556.3040909@sugarcrm.com> To: Stas Malyshev X-Mailer: Apple Mail (2.1251.1) Subject: Re: [PHP-DEV] Local time zone From: will.fitch@gmail.com (Will Fitch) I believe he's referring to sys/time.h, but this introduces portability = issues. If it were just unix, that would be one thing. But maintaining = this and a Windows alternative, and I have no idea what that is, is not = worth it IMO. =20 On Dec 14, 2011, at 4:29 PM, Stas Malyshev wrote: > Hi! >=20 >> * There will be a new time zone called System. When this time zone is >> active, instead of PHP's internal time zone database and >> timezone-aware code, system-provided local time APIs are used. In >=20 > Which APIs do you mean? I imagine it might be possible (note - just = might be, no guarantees here) to get the system TZ data and use it in = similar manner to existing TZ data if the formats are suitably close and = all the info is available. However if you mean using actual system = functions in parallel with timelib functions, that's probably not going = to happen - there's too many problems with using two APIs simultaneously = to do the same thing, not talking about portability, etc. > --=20 > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20