summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2008-07-19 17:38:15 +0000
committerDerick Rethans <derick@php.net>2008-07-19 17:38:15 +0000
commit18a53456d34e795f410cb03484fe25b25e7c0b63 (patch)
tree16cf0e96ac5fa812ae1e87aef80c226253d42a03
parent28a325bc0f308cbb8cee3209298e6c476a6acc28 (diff)
downloadphp-git-18a53456d34e795f410cb03484fe25b25e7c0b63.tar.gz
- Country codes are ISO 3166.
-rw-r--r--ext/date/php_date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 621ceab118..fffcf1a220 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -3956,7 +3956,7 @@ PHP_FUNCTION(timezone_identifiers_list)
/* Extra validation */
if (what == PHP_DATE_TIMEZONE_PER_COUNTRY && option_len != 2) {
- php_error_docref(NULL TSRMLS_CC, E_NOTICE, "A two-letter ISO 639-2 compatible country code is expected");
+ php_error_docref(NULL TSRMLS_CC, E_NOTICE, "A two-letter ISO 3166-1 compatible country code is expected");
RETURN_FALSE;
}