From: Derick Rethans Date: Thu, 13 Mar 2008 15:59:48 +0000 (+0000) Subject: - Fixed bug #44257 (timelib_tz_lookup_table must use float for gmtoffset). X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~596 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7aa69c21dfeee4d537c82191d04b6a65304f62b6;p=php - Fixed bug #44257 (timelib_tz_lookup_table must use float for gmtoffset). --- diff --git a/NEWS b/NEWS index 66f96e77e3..27c5251c78 100644 --- a/NEWS +++ b/NEWS @@ -132,6 +132,8 @@ PHP NEWS - Fixed bug #44414 (Incomplete reporting about abstract methods). (Dmitry) - Fixed bug #44336 (Improve pcre UTF-8 string matching performance). (frode at coretrek dot com, Nuno) +- Fixed bug #44257 (timelib_tz_lookup_table must use float for gmtoffset). + (Derick, iuri dot fiedoruk at hp dot com). - Fixed bug #44214 (Crash using preg_replace_callback() and global variable). (Nuno, Scott) - Fixed bug #43960 (strtotime() returns timestamp in the future when given a diff --git a/ext/date/lib/timelib_structs.h b/ext/date/lib/timelib_structs.h index c24f6ee74d..4d6ed12a7f 100644 --- a/ext/date/lib/timelib_structs.h +++ b/ext/date/lib/timelib_structs.h @@ -178,7 +178,7 @@ typedef struct timelib_error_container { typedef struct _timelib_tz_lookup_table { char *name; int type; - int gmtoffset; + float gmtoffset; char *full_tz_name; } timelib_tz_lookup_table;