Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59318 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31160 invoked from network); 2 Apr 2012 09:37:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Apr 2012 09:37:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:53531] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 69/5B-02210-D53797F4 for ; Mon, 02 Apr 2012 05:37:34 -0400 Received: from [192.168.2.230] (unknown [88.217.76.249]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 98254602D1; Mon, 2 Apr 2012 11:37:29 +0200 (CEST) To: Gustavo Lopes Cc: "internals@lists.php.net" , Stas Malyshev In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Mon, 02 Apr 2012 11:37:24 +0200 Message-ID: <1333359444.10466.2.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Addition of calendar to intl From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Mon, 2012-04-02 at 10:35 +0200, Gustavo Lopes wrote: > 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: Basically it is good to have those calender stuff available. I wonder how this relates to our datelib. Can this somehow be integrated, at least for Gregorian calender times, so one can easily convert from one to the other etc.? Ideally we'd just have one API :-) johannes