From: Derick Rethans Date: Sat, 19 Jul 2008 17:38:29 +0000 (+0000) Subject: - MFH: Country codes are ISO 3166. X-Git-Tag: php-5.3.0alpha1~273 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42aa7f3dd47a22a7e0250b9b2b443995c67afd6b;p=php - MFH: Country codes are ISO 3166. --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 113e559232..008e6fe44b 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -3781,7 +3781,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; }