diff options
| -rw-r--r-- | ext/date/php_date.c | 4 |
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) { |
