Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59315 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22354 invoked from network); 2 Apr 2012 08:35:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Apr 2012 08:35:46 -0000 Authentication-Results: pb1.pair.com header.from=glopes@nebm.ist.utl.pt; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=glopes@nebm.ist.utl.pt; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nebm.ist.utl.pt from 193.136.128.22 cause and error) X-PHP-List-Original-Sender: glopes@nebm.ist.utl.pt X-Host-Fingerprint: 193.136.128.22 smtp2.ist.utl.pt Linux 2.6 Received: from [193.136.128.22] ([193.136.128.22:58303] helo=smtp2.ist.utl.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/A9-02210-ED4697F4 for ; Mon, 02 Apr 2012 04:35:43 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.ist.utl.pt (Postfix) with ESMTP id B81437000340; Mon, 2 Apr 2012 09:35:39 +0100 (WEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at ist.utl.pt Received: from smtp2.ist.utl.pt ([127.0.0.1]) by localhost (smtp2.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id O9YxnG-acDdw; Mon, 2 Apr 2012 09:35:39 +0100 (WEST) Received: from mail2.ist.utl.pt (mail.ist.utl.pt [IPv6:2001:690:2100:1::8]) by smtp2.ist.utl.pt (Postfix) with ESMTP id 79FD570004F9; Mon, 2 Apr 2012 09:35:39 +0100 (WEST) Received: from slws007.slhq.int (a79-168-248-114.cpe.netcabo.pt [79.168.248.114]) (Authenticated sender: ist155741) by mail2.ist.utl.pt (Postfix) with ESMTPSA id 154D02023231; Mon, 2 Apr 2012 09:35:39 +0100 (WEST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "internals@lists.php.net" Date: Mon, 02 Apr 2012 10:35:35 +0200 Cc: "Stas Malyshev" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Organization: =?utf-8?Q?N=C3=BAcleo_de_Eng=2E_Biom=C3=A9di?= =?utf-8?Q?ca_do_I=2ES=2ET=2E?= Message-ID: User-Agent: Opera Mail/11.61 (Win32) Subject: Addition of calendar to intl From: glopes@nebm.ist.utl.pt ("Gustavo Lopes") Hi I have exposed ICU's Calendar API to PHP via the intl extension. It allows date calculations with Gregorian, Chinese, Coptic, Ethiopic, Hebrew, Indian, Islamic (civil/religious), Japanese, Persian, Taiwan and Thai Buddhist calendars. For a broader overview of its functionality, see: http://icu-project.org/apiref/icu4c/classCalendar.html I have committed already this change: https://github.com/php/php-src/commit/1c16c89b96bb4e02850b198b901feebdb8da2269 Traditionally, these kinds of additions to the intl extension (that mostly exposed 1 to 1 the ICU API) have not been preceded (or even followed) by any discussion; however, Stas expressed the opinion this is not a proper course of action nowadays. Consequently, if anyone has any non-trivial substantive (as opposed to procedural) concern with this change, I will revert the merge and submit an RFC. -- Gustavo Lopes