summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.c
Commit message (Collapse)AuthorAgeFilesLines
* Added IntlCalendar::toDateTime()Gustavo André dos Santos Lopes2012-05-171-0/+1
|
* Added IntlTimeZone::fromDateTimeZone() and ::toDateTimeZone.Gustavo André dos Santos Lopes2012-05-171-0/+6
| | | | | | | | | | | | | | | | | | | | IntlTimeZone::fromDateTimeZone(DateTimeZone $dtz) converts from an ext/date TimeZone to an IntlTimeZone. The conversion is done by feeding the time zone name (essentially what would be given by DateTimeZone::getName()) to ICU's TimeZone::createTimeZone except if it's an offset time zone. In that case, the offset is read from the ext/date time zone object structure and an appopriate id (of the form GMT<+|-><HH:MM>) is given to ICU's TimeZone::createTimeZone. Not all ext/date time zones are recognized for ICU. For instance, WEST is not. Note that these kind of abbreviations, as far as I can tell, can only be created via ext/date DateTime, not directly through DateTimeZone's constructor. For IntlTimeZone::toDateTimeZone(), the behavior is symmetrical. We instantiate a DateTimeZone and then call its constructor if we don't have an offset time zone, otherwise we mess with its structure. If the timezone is not valid for ext/date, then we allow the exception of DateTimeZone constructor to propagate.
* Added IntlCalendar::fromDateTime()Gustavo André dos Santos Lopes2012-05-171-0/+5
| | | | | | | | IntlCalendar::fromDateTime(DateTime|string $dateTime[, string $locale) intlcal_from_date_time(...) If a string is given as the first argument, the method will try to instantiate a new DateTime object and use that instead.
* Accept DateTimeZone where time zones are expected.Gustavo André dos Santos Lopes2012-05-171-1/+1
| | | | | Also unified timezone handling in IntlCalendar::setTimeZone() to that in the IntlCalendar and IntlGregorianCalendar constructors.
* Compatibility with old versions of ICU (4.0+).Gustavo André dos Santos Lopes2012-04-011-0/+12
|
* Added support for new method TimeZone::getUnknown() added in ICU 49.Gustavo André dos Santos Lopes2012-04-011-0/+3
|
* Supported Calendar methods new to ICU 49.Gustavo André dos Santos Lopes2012-04-011-0/+11
|
* Initial checkin of calendar/timezone code.Gustavo André dos Santos Lopes2012-04-011-0/+252
|
* - Added the ability for the intl exception to throw exceptions when a global ↵Gustavo André dos Santos Lopes2012-01-081-1/+5
| | | | error is set.
* - Support for UTS #46.Gustavo André dos Santos Lopes2011-11-241-2/+4
|
* - Make usage of new PHP_FE_END macroFelipe Pena2011-07-251-1/+1
|
* Show ICU Data version inside phpinfo()Ilia Alshanetsky2011-06-031-0/+3
|
* Implemented FR #54561 (Expose ICU Version & ICU Data Version info).Ilia Alshanetsky2011-06-011-0/+4
|
* - fix build with ICU < 4.2, add ICU_VERSION for m4 checksPierre Joye2011-02-151-5/+8
|
* Add Spoofchecker to intl extension.Scott MacVicar2011-01-131-1/+12
| | | | | | Implements part of Unicode TR36 and TR39
* - Added support for ICU Transformations (Transliterator).Gustavo André dos Santos Lopes2010-10-061-0/+46
| | | | | - Changes request #52986 to "to be documented".
* add ICU resource bundle support, contributed by Hans-Peter OeriStanislav Malyshev2010-01-041-6/+49
|
* add collator_get_sort_key()Stanislav Malyshev2009-10-261-0/+1
|
* merge errors supportStanislav Malyshev2009-07-071-0/+1
|
* - [DOC] add IDN support, idn_to_ascii and idn_to_utf8Pierre Joye2009-01-261-2/+23
| | | | | tests and MFB will follow Wednesday
* - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macroFelipe Pena2008-11-171-43/+0
|
* - Revert ZEND_BEGIN_ARG_INFO changeFelipe Pena2008-11-021-0/+43
|
* - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macroFelipe Pena2008-10-241-43/+0
|
* MFH:Felipe Pena2008-08-111-137/+280
| | | | | | | - Added arginfo - Fixed WS - Changed C++ comments to C comments
* add acceptFromHttpStanislav Malyshev2008-07-231-0/+1
|
* add icu version to phpinfoStanislav Malyshev2008-07-141-0/+1
|
* fix date formatter positions (bug #14263)Stanislav Malyshev2008-07-101-2/+8
|
* Merge intl extension into coreStanislav Malyshev2008-07-071-0/+490