derick Wed Oct 5 04:23:44 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/ext/date php_date.c
Log:
- Fixed typo.
http://cvs.php.net/diff.php/php-src/ext/date/php_date.c?r1=1.43.2.10&r2=1.43.2.11&ty=u
Index: php-src/ext/date/php_date.c
diff -u php-src/ext/date/php_date.c:1.43.2.10
php-src/ext/date/php_date.c:1.43.2.11
--- php-src/ext/date/php_date.c:1.43.2.10 Wed Oct 5 04:20:43 2005
+++ php-src/ext/date/php_date.c Wed Oct 5 04:23:39 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_date.c,v 1.43.2.10 2005/10/05 08:20:43 derick Exp $ */
+/* $Id: php_date.c,v 1.43.2.11 2005/10/05 08:23:39 derick Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -344,8 +344,8 @@
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 use '%s' for '%s/%.1f/no DST'
instead.", tzid, tzi->StandardName, (float) ((tzi->Bias - tzi->StandardBias) /
60));
break;
- case TIME_ZONE_ID_STANDARD:
- tzid =
timelib_timezone_id_from_abbr(tzi->DaylightName, (tzi->Bias -
tzi->DaylightBias) * 60, 0);
+ case TIME_ZONE_ID_DAYLIGHT:
+ tzid =
timelib_timezone_id_from_abbr(tzi->DaylightName, (tzi->Bias -
tzi->DaylightBias) * 60, 1);
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 use '%s' for '%s/%.1f/DST' instead.",
tzid, tzi->StandardName, (float) ((tzi->Bias - tzi->DaylightBias) / 60));
break;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php