]> granicus.if.org Git - php/commitdiff
- Country codes are ISO 3166.
authorDerick Rethans <derick@php.net>
Sat, 19 Jul 2008 17:38:15 +0000 (17:38 +0000)
committerDerick Rethans <derick@php.net>
Sat, 19 Jul 2008 17:38:15 +0000 (17:38 +0000)
ext/date/php_date.c

index 621ceab118c47bf325b9fba886dca209c821185f..fffcf1a22085ec896027cafe270aba15b3ebd35a 100644 (file)
@@ -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;
        }