]> granicus.if.org Git - php/commitdiff
fixed typos
authorfoobar <sniper@php.net>
Wed, 13 Jul 2005 07:04:29 +0000 (07:04 +0000)
committerfoobar <sniper@php.net>
Wed, 13 Jul 2005 07:04:29 +0000 (07:04 +0000)
ext/date/php_date.c

index 347284e02a75f13f642dc793e6d314ff4c5124aa..a9d0abd3176e58d131efc7b58dfb1d6b94645054 100644 (file)
@@ -169,7 +169,7 @@ static char* guess_timezone(TSRMLS_D)
                        tzid = "UTC";
                }
                
-               php_error_docref(NULL TSRMLS_CC, E_STRICT, "It is not safe to rely on the systems timezone settings, please use the date.timezone setting, the TZ environment variable or the date_timezone_set() function. We now use '%s' for '%s'", tzid, ta->tm_zone);
+               php_error_docref(NULL TSRMLS_CC, E_STRICT, "It is not safe to rely on the systems timezone settings, please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. We now use '%s' for '%s'", tzid, ta->tm_zone);
                return tzid;
        }
 #endif
@@ -185,7 +185,7 @@ static timelib_tzinfo *get_timezone_info(TSRMLS_D)
        tz = guess_timezone(TSRMLS_C);
        tzi = timelib_parse_tzfile(tz);
        if (! tzi) {
-               php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Timezone setting (date.timezone) or TZ environment variable contain an unknown timezone.");
+               php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Timezone setting (date.timezone) or TZ environment variable contains an unknown timezone.");
                tzi = timelib_parse_tzfile("UTC");
 
                if (! tzi) {