On Mon, 2 Apr 2012, Johannes Schlüter wrote: > On Mon, 2012-04-02 at 10:35 +0200, Gustavo Lopes wrote: > > > > 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 :-)
Sadly, when I looked at it last time, the ICU stuff insistent on having a timestamp only as input to their formatting functionality :-/ We'd need to use a few things on the ext/date side to get ICU locale formatting into the date/time stuff. cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php