php-src/ext
Gustavo André dos Santos Lopes eb346ef0f4 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.
2012-06-04 00:01:48 +02:00
..
bcmath - Year++ 2012-01-01 13:15:04 +00:00
bz2 - Year++ 2012-01-01 13:15:04 +00:00
calendar Merge branch 'PHP-5.3' into PHP-5.4 2012-04-28 11:44:54 +02:00
com_dotnet Merge branch 'PHP-5.3' into PHP-5.4 2012-05-25 00:23:51 +02:00
ctype - Year++ 2012-01-01 13:15:04 +00:00
curl VIM uses spaces as tabs and that doesn't comply with the coding 2012-05-27 15:39:45 -07:00
date Merge branch 'PHP-5.4' 2012-04-24 13:45:07 +02:00
dba Merge branch 'PHP-5.3' into PHP-5.4 2012-03-20 17:58:58 +01:00
dom Merge branch 'PHP-5.3' into PHP-5.4 2012-05-15 11:43:28 +01:00
enchant Merge branch 'PHP-5.3' into PHP-5.4 2012-03-20 17:58:58 +01:00
ereg - Year++ 2012-01-01 13:15:04 +00:00
exif - Year++ 2012-01-01 13:15:04 +00:00
fileinfo Merge branch 'PHP-5.4' 2012-05-29 17:42:35 +02:00
filter Merge branch 'PHP-5.3' into PHP-5.4 2012-04-30 10:28:00 +02:00
ftp MFH r322485 2012-01-26 05:15:57 +00:00
gd Merge branch 'PHP-5.3' into PHP-5.4 2012-04-04 18:54:03 +02:00
gettext - Year++ 2012-01-01 13:15:04 +00:00
gmp Merge branch 'PHP-5.3' into PHP-5.4 2012-05-21 12:37:59 +02:00
hash fix tests failing due to corrected hash tiger 2012-03-19 21:49:47 +01:00
iconv fix bug #55042 - erealloc without updating pointer 2012-05-30 22:26:26 -07:00
imap - Year++ 2012-01-01 13:15:04 +00:00
interbase Merge branch 'PHP-5.4' 2012-03-29 18:28:38 +03:00
intl DateFormat plays nice with Calendar, TimeZone 2012-06-04 00:01:48 +02:00
json Revert "Update test to fix breakage caused by the previous commit." 2012-05-15 23:25:06 -07:00
ldap Merge branch 'PHP-5.3' into PHP-5.4 2012-04-16 15:26:50 +02:00
libxml Fix: 62067 Moved comments to FILE section 2012-05-19 16:34:16 +01:00
mbstring Fixed bug #61631 mbstring mail related tests fail 2012-04-10 12:23:07 +02:00
mcrypt - Year++ 2012-01-01 13:15:04 +00:00
mssql - Year++ 2012-01-01 13:15:04 +00:00
mysql - Year++ 2012-01-01 13:15:04 +00:00
mysqli Merge branch 'PHP-5.4' 2012-05-16 16:00:17 +02:00
mysqlnd small refactoring - factour out code from connection establishment. 2012-05-30 15:24:17 +03:00
oci8 Merge branch 'PHP-5.3' into PHP-5.4 2012-03-30 16:17:37 -07:00
odbc - Year++ 2012-01-01 13:15:04 +00:00
openssl Fix bug #61413 ext\openssl\tests\openssl_encrypt_crash.phpt fails 5.3 only 2012-04-24 14:05:35 +02:00
pcntl Merge branch '5.4' 2012-03-29 08:48:13 +01:00
pcre Deprecate /e modifier 2012-03-04 13:39:12 +00:00
pdo Merge branch 'PHP-5.4' 2012-04-19 12:49:47 +02:00
pdo_dblib - Year++ 2012-01-01 13:15:04 +00:00
pdo_firebird fix gcov Warning: ibase_drop_db(): lock time-out on wait transaction object http://gcov.php.net/viewer.php?version=PHP_5_4&func=tests&file=ext%2Fpdo_firebird%2Ftests%2Fbug_53280.phpt 2012-02-05 09:58:50 +00:00
pdo_mysql Merge branch 'PHP-5.4' 2012-05-02 16:15:35 +02:00
pdo_oci - Year++ 2012-01-01 13:15:04 +00:00
pdo_odbc Fixed bug #61212 (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO). 2012-03-14 20:20:33 +00:00
pdo_pgsql - Fixed bug #61267: pdo_pgsql's PDO::exec() returns the number of SELECTed 2012-03-08 08:52:28 +00:00
pdo_sqlite - fix #55226, WS 2012-01-31 07:17:05 +00:00
pgsql add pg_escape_identifier/pg_escape_literal 2012-04-19 13:40:24 -07:00
phar Merge branch 'PHP-5.4' 2012-05-29 12:25:25 +02:00
posix Merge branch 'PHP-5.3' into PHP-5.4 2012-05-15 11:43:28 +01:00
pspell - Year++ 2012-01-01 13:15:04 +00:00
readline Fix bug #62186 readline fails to compile 2012-05-31 01:15:22 +02:00
recode Replace $Revision$ with $Id$ in keyword expansion enable files 2012-03-20 17:53:47 +01:00
reflection Revert "Implemented FR #61602 Allow access to name of constant used as default value" 2012-05-23 13:50:12 +08:00
session Merge branch 'PHP-5.3' into PHP-5.4 2012-04-30 12:10:43 +02:00
shmop - Year++ 2012-01-01 13:15:04 +00:00
simplexml Merge branch 'PHP-5.3' into PHP-5.4 2012-03-20 17:58:58 +01:00
skeleton Replace $Revision$ with $Id$ in keyword expansion enable files 2012-03-20 17:53:47 +01:00
snmp merge from trunk: 2012-01-13 18:46:56 +00:00
soap remove remaining traces of unicode.* ini settings 2012-05-27 19:57:34 -04:00
sockets Merge branch 'PHP-5.4' 2012-05-21 08:55:05 -03:00
spl Merge remote-tracking branch 'origin/PHP-5.4' 2012-05-24 23:38:53 +08:00
sqlite3 Merge branch 'PHP-5.4' 2012-04-26 15:18:17 +02:00
standard Merge branch 'PHP-5.4' 2012-05-30 14:44:35 +08:00
sybase_ct - Year++ 2012-01-01 13:15:04 +00:00
sysvmsg Merge branch 'PHP-5.3' into PHP-5.4 2012-03-20 17:58:58 +01:00
sysvsem - Year++ 2012-01-01 13:15:04 +00:00
sysvshm - Year++ 2012-01-01 13:15:04 +00:00
tidy Merge branch 'PHP-5.3' into PHP-5.4 2012-05-21 12:52:10 +02:00
tokenizer - Year++ 2012-01-01 13:15:04 +00:00
wddx - Year++ 2012-01-01 13:15:04 +00:00
xml - Year++ 2012-01-01 13:15:04 +00:00
xmlreader more verbose skip reason in test files with not so obvious extension requirements 2012-02-25 12:10:41 +00:00
xmlrpc Fix bug #61264: xmlrpc_parse_method_descriptions leaks temporary variable 2012-03-03 12:46:17 +00:00
xmlwriter - Fixed bug #62064 (memory leak in the XML Writer module) 2012-05-18 19:34:39 -03:00
xsl - Year++ 2012-01-01 13:15:04 +00:00
zip - Year++ 2012-01-01 13:15:04 +00:00
zlib cleanup merge 2012-05-15 09:44:01 +02:00
ext_skel
ext_skel_win32.php