summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-07-13 07:04:29 +0000
committerfoobar <sniper@php.net>2005-07-13 07:04:29 +0000
commitada35ab562a45d670caa2d0e7f6a0757e038b240 (patch)
tree0ae73e93ab856ae57d325a55802b2d9411ae28a0
parent2f390c25d8487b98af4f1fbb066bf024a19b865a (diff)
downloadphp-git-ada35ab562a45d670caa2d0e7f6a0757e038b240.tar.gz
fixed typos
-rw-r--r--ext/date/php_date.c4
1 files changed, 2 insertions, 2 deletions
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) {