summaryrefslogtreecommitdiff
path: root/ext/intl/common/common_date.cpp
Commit message (Collapse)AuthorAgeFilesLines
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-18/+18
|
* s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
|
* master renames phase 1Anatol Belski2014-08-251-7/+7
|
* basic macro replacements, all at onceAnatol Belski2014-08-191-7/+7
|
* Refactoring ext/intl (incompleted)Xinchen Hui2014-06-281-8/+5
|
* Added IntlDateFormatter::formatObject(). RefactorGustavo André dos Santos Lopes2012-07-221-22/+184
| | | | | | | | | | | | | | | | | | | To better support IntlCalendar, added this function: string IntlDateFormatter::formatObject(IntlCalendar|DateTime $obj [, array|int|string $format = null [, string $locale = null). $format is either of the constants IntlDateFormatter::FULL, etc., in which case this format applies to both the date and the time, an array in the form array($dateFormat, $timeFormat), or a string with the SimpleDateFormat pattern. This uses both the Calendar type and the timezone of the passed object to configure the formatter (a GregorianCalendar is forced for DateTime). Some stuff was moved around and slighlt modified to allow for more code reuse.
* Unified zval -> UDate conversionsGustavo André dos Santos Lopes2012-07-021-0/+88
Now IntlDateFormatter::format() also accepts IntlCalendar objects. Code is shared in MessageFormatter and IntlDateFormatter.