History log of /php-src/ext/intl/dateformat/dateformat_class.c (Results 26 – 50 of 51)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# fcd4420d 22-Aug-2012 Gustavo Lopes

Merge branch 'PHP-5.4'

* PHP-5.4:
Fix handling of several uinitialized intl objects
Fix handling of several uinitialized intl objects
- Fix NEWS
- BFN

Confli

Merge branch 'PHP-5.4'

* PHP-5.4:
Fix handling of several uinitialized intl objects
Fix handling of several uinitialized intl objects
- Fix NEWS
- BFN

Conflicts:
ext/intl/dateformat/dateformat.c

show more ...


# 87803ace 22-Aug-2012 Gustavo Lopes

Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
Fix handling of several uinitialized intl objects


# a5d0c1e2 21-Aug-2012 Gustavo Lopes

Fix handling of several uinitialized intl objects

Revision tags: php-5.3.16, php-5.4.6, php-5.4.6RC1
# 06e06f02 30-Jul-2012 Gustavo André dos Santos Lopes

Merge branch '5.4'

* 5.4:
Fix test title and limit it to ICU >= 4.8
Remove executable bit from files
Limit test to ICU 49
Remove executable bit from files


# dec7bad6 30-Jul-2012 Gustavo André dos Santos Lopes

Merge branch '5.3' into 5.4

* 5.3:
Limit test to ICU 49
Remove executable bit from files


# 9762609c 30-Jul-2012 Gustavo André dos Santos Lopes

Remove executable bit from files

# 99e48d3a 22-Jul-2012 Gustavo André dos Santos Lopes

Merge branch 'datefmt_tz_cal_interop'

* datefmt_tz_cal_interop:
Readded accidentally removed line
Added IntlDateFormatter::formatObject(). Refactor
Refactored internal_get_

Merge branch 'datefmt_tz_cal_interop'

* datefmt_tz_cal_interop:
Readded accidentally removed line
Added IntlDateFormatter::formatObject(). Refactor
Refactored internal_get_timestamp()
Unified zval -> UDate conversions

show more ...


# 2f0775b9 22-Jul-2012 Gustavo André dos Santos Lopes

Added IntlDateFormatter::formatObject(). Refactor

To better support IntlCalendar, added this function:

string IntlDateFormatter::formatObject(IntlCalendar|DateTime $obj [,

Added IntlDateFormatter::formatObject(). Refactor

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.

show more ...

Revision tags: php-5.4.5
# f94051ea 14-Jul-2012 Felipe Pena

- Fix conflict


# 0bff7cfa 14-Jul-2012 Felipe Pena

- Fixed bug #62565 (Crashes due non-initialized internal properties_table)

Revision tags: php-5.3.15, php-5.3.15RC1, php-5.4.5RC1, php-5.3.14, php-5.4.4
# eb346ef0 03-Jun-2012 Gustavo André dos Santos Lopes

DateFormat plays nice with Calendar, TimeZone

The following changes were made:

* The IntlDateFormatter constructor now accepts the usual values
for its $timezone argument. Thi

DateFormat plays nice with Calendar, TimeZone

The following changes were made:

* The IntlDateFormatter constructor now accepts the usual values
for its $timezone argument. This includes timezone identifiers,
IntlTimeZone objects, DateTimeZone objects and NULL. An empty
string is not accepted. An invalid time zone is no longer accepted
(it used to use UTC in this case).
* When NULL is passed to IntlDateFormatter, the time zone specified in
date.timezone is used instead of the ICU default.
* The IntlDateFormatter $calendar argument now accepts also an
IntlCalendar. In this case, IntlDateFormatter::getCalendar() will
return false.
* The time zone passed to the IntlDateFormatter is ignored if it is
NULL and if the calendar passed is an IntlCalendar object -- in this
case, the IntlCalendar time zone will be used instead. Otherwise,
the time zone specified in the $timezone argument is used instead.
* Added IntlDateFormatter::getCalendarObject(), which always returns
the IntlCalendar object that backs the DateFormat, even if a
constant was passed to the constructor, i.e., if an IntlCalendar
was not passed to the constructor.
* Added IntlDateFormatter::setTimeZone(). It accepts the usual values
for time zone arguments. If NULL is passed, the time zone of the
IntlDateFormatter WILL be overridden with the default time zone,
even if an IntlCalendar object was passed to the constructor.
* Added IntlDateFormatter::getTimeZone(), which returns the time zone
that's associated with the DateFormat.
* Depreacated IntlDateFormatter::setTimeZoneId() and made it an alias
for IntlDateFormatter::setTimeZone(), as the new ::setTimeZone()
also accepts plain identifiers, besides other types.
IntlDateFormatter::getTimeZoneId() is not deprecated however.
* IntlDateFormatter::setCalendar() with a constant passed should now
work correctly. This requires saving the requested locale to the
constructor.
* Centralized the hacks required to avoid compilation disasters on
Windows due to some headers being included inside and outside of
extern "C" blocks.

show more ...

Revision tags: php-5.3.14RC2, php-5.4.4RC2, php-5.3.14RC1, php-5.4.4RC1, php-5.3.13, php-5.4.3, php-5.4.2, php-5.3.12, php-5.3.11, php-5.4.1, php-5.3.11RC2, php-5.4.1RC2, php-5.3.11RC1, php-5.4.1RC1, PHP-5.4.1-RC1, php-5.4.0, php-5.4.0RC8, php-5.3.10, php-5.4.0RC7, php-5.4.0RC6, php-5.3.9, php-5.4.0RC5, php-5.3.9RC4, php-5.4.0RC4, php-5.3.9RC3, php-5.4.0RC3, php-5.3.9RC2, php-5.4.0RC2, php-5.4.0RC1, php-5.3.9RC1, php-5.4.0beta2, php-5.4.0beta1, yaf-2.1.0, php-5.3.8, php-5.3.7, php-5.3.7RC5
# 13eb47a8 06-Aug-2011 Felipe Pena

- Added missing PHP_FE_END/ZEND_FE_END

# 783b0532 06-Aug-2011 Felipe Pena

- Added missing PHP_FE_END/ZEND_FE_END

# 9c289189 06-Aug-2011 Felipe Pena

- Added missing PHP_FE_END/ZEND_FE_END

Revision tags: php-5.4.0alpha3, php-5.3.7RC4, php-5.3.7RC3, php-5.4.0alpha2, php-5.3.7RC2, php-5.4.0alpha1, php-5.3.7RC1, php-5.3.6, php-5.3.6RC3, php-5.3.6RC2, php-5.3.6RC1, php-5.2.17, php-5.3.5
# 7d3a0e15 03-Jan-2011 Stanislav Malyshev

Imlement clone for formatters that support it
# also some test fixes, more to follow

# 28584c23 03-Jan-2011 Stanislav Malyshev

Imlement clone for formatters that support it
# also some test fixes, more to follow

# 9ec9210f 27-Dec-2010 Gustavo André dos Santos Lopes

- Fixed bug #53612 (Segmentation fault when using several cloned intl
objects).

# 610bb960 27-Dec-2010 Gustavo André dos Santos Lopes

- Fixed bug #53612 (Segmentation fault when using several cloned intl
objects).

Revision tags: php-5.2.16, php-5.2.15, php-5.3.4, php-5.2.15RC2, php-5.3.4RC2, php-5.3.4RC1, php-5.2.15RC1, PHP_5_2_15RC1, oci8-1.4.3, php-5.2.14, php-5.3.3, php-5.3.3RC3, php-5.2.14RC3, php-5.3.3RC2, php-5.2.14RC2, php-5.3.3RC1, php-5.2.14RC1
# 26b08f98 30-Mar-2010 Johannes Schlüter

Remove main/php3_compat.h, for that a few references to `function_entry` have
to be replaced by `zend_function_entry`.

Revision tags: php-5.3.2, php-5.2.13, php-5.3.2RC3, php-5.3.2RC2, php-5.2.13RC2, php-5.2.13RC1, php-5.3.2RC1, php-5.2.12, php-5.2.12RC4, php-5.2.12RC3, php-5.2.12RC2, php-5.3.1, php-5.3.1RC4, php-5.2.12RC1, php-5.3.1RC3, php-5.3.1RC2, oci8-1.4.0, php-5.2.11, php-5.2.11RC3, php-5.3.1RC1, php-5.2.11RC2, php-5.2.11RC1, php-5.3.0, php-5.3.0RC4, php-5.2.10, php-5.2.10RC2, php-5.3.0RC3, php-5.2.10RC1, php-5.3.0RC2, php-5.3.0RC1, RELEASE_1_3_5, php-5.2.9, php-5.2.9RC3, php-5.2.9RC2, php-5.2.9RC1, php-5.3.0beta1, NEWS, php-5.2.8, BEFORE_HEAD_NS_CHANGES_MERGE, php-5.3.0alpha3, php-5.3.0alpha2, php-5.2.7, php-5.2.7RC5, php-5.2.7RC4
# fc2fb50d 17-Nov-2008 Felipe Pena

- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro

Revision tags: BEFORE_HEAD_NS_CHANGE, BEFORE_NS_RULES_CHANGE, php-5.2.7RC3
# 7a37fa2d 02-Nov-2008 Felipe Pena

- Revert ZEND_BEGIN_ARG_INFO change

# df100055 24-Oct-2008 Felipe Pena

- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro

Revision tags: php-5.2.7RC2, php-5.2.7RC1
# eb1837d9 11-Aug-2008 Felipe Pena

MFH:
- Added arginfo
- Fixed WS
- Changed C++ comments to C comments

Revision tags: php-4.4.9, php-5.3.0alpha1
# d54c396d 22-Jul-2008 Stanislav Malyshev

refactor ctors, cleanup code

Revision tags: php-4.4.9RC1
# f7879630 10-Jul-2008 Stanislav Malyshev

fix date formatter positions (bug #14263)

123