Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added IntlCalendar::toDateTime() | Gustavo André dos Santos Lopes | 2012-05-17 | 1 | -0/+1 |
| | |||||
* | Added IntlTimeZone::fromDateTimeZone() and ::toDateTimeZone. | Gustavo André dos Santos Lopes | 2012-05-17 | 1 | -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 Lopes | 2012-05-17 | 1 | -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 Lopes | 2012-05-17 | 1 | -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 Lopes | 2012-04-01 | 1 | -0/+12 |
| | |||||
* | Added support for new method TimeZone::getUnknown() added in ICU 49. | Gustavo André dos Santos Lopes | 2012-04-01 | 1 | -0/+3 |
| | |||||
* | Supported Calendar methods new to ICU 49. | Gustavo André dos Santos Lopes | 2012-04-01 | 1 | -0/+11 |
| | |||||
* | Initial checkin of calendar/timezone code. | Gustavo André dos Santos Lopes | 2012-04-01 | 1 | -0/+252 |
| | |||||
* | - Added the ability for the intl exception to throw exceptions when a global ↵ | Gustavo André dos Santos Lopes | 2012-01-08 | 1 | -1/+5 |
| | | | | error is set. | ||||
* | - Support for UTS #46. | Gustavo André dos Santos Lopes | 2011-11-24 | 1 | -2/+4 |
| | |||||
* | - Make usage of new PHP_FE_END macro | Felipe Pena | 2011-07-25 | 1 | -1/+1 |
| | |||||
* | Show ICU Data version inside phpinfo() | Ilia Alshanetsky | 2011-06-03 | 1 | -0/+3 |
| | |||||
* | Implemented FR #54561 (Expose ICU Version & ICU Data Version info). | Ilia Alshanetsky | 2011-06-01 | 1 | -0/+4 |
| | |||||
* | - fix build with ICU < 4.2, add ICU_VERSION for m4 checks | Pierre Joye | 2011-02-15 | 1 | -5/+8 |
| | |||||
* | Add Spoofchecker to intl extension. | Scott MacVicar | 2011-01-13 | 1 | -1/+12 |
| | | | | | | Implements part of Unicode TR36 and TR39 | ||||
* | - Added support for ICU Transformations (Transliterator). | Gustavo André dos Santos Lopes | 2010-10-06 | 1 | -0/+46 |
| | | | | | - Changes request #52986 to "to be documented". | ||||
* | add ICU resource bundle support, contributed by Hans-Peter Oeri | Stanislav Malyshev | 2010-01-04 | 1 | -6/+49 |
| | |||||
* | add collator_get_sort_key() | Stanislav Malyshev | 2009-10-26 | 1 | -0/+1 |
| | |||||
* | merge errors support | Stanislav Malyshev | 2009-07-07 | 1 | -0/+1 |
| | |||||
* | - [DOC] add IDN support, idn_to_ascii and idn_to_utf8 | Pierre Joye | 2009-01-26 | 1 | -2/+23 |
| | | | | | tests and MFB will follow Wednesday | ||||
* | - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro | Felipe Pena | 2008-11-17 | 1 | -43/+0 |
| | |||||
* | - Revert ZEND_BEGIN_ARG_INFO change | Felipe Pena | 2008-11-02 | 1 | -0/+43 |
| | |||||
* | - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro | Felipe Pena | 2008-10-24 | 1 | -43/+0 |
| | |||||
* | MFH: | Felipe Pena | 2008-08-11 | 1 | -137/+280 |
| | | | | | | | - Added arginfo - Fixed WS - Changed C++ comments to C comments | ||||
* | add acceptFromHttp | Stanislav Malyshev | 2008-07-23 | 1 | -0/+1 |
| | |||||
* | add icu version to phpinfo | Stanislav Malyshev | 2008-07-14 | 1 | -0/+1 |
| | |||||
* | fix date formatter positions (bug #14263) | Stanislav Malyshev | 2008-07-10 | 1 | -2/+8 |
| | |||||
* | Merge intl extension into core | Stanislav Malyshev | 2008-07-07 | 1 | -0/+490 |