From: foobar Date: Wed, 13 Jul 2005 07:04:29 +0000 (+0000) Subject: fixed typos X-Git-Tag: php-5.1.0b3~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ada35ab562a45d670caa2d0e7f6a0757e038b240;p=php fixed typos --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 347284e02a..a9d0abd317 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -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) {