]> granicus.if.org Git - php/commitdiff
- Fixed bug #52454 (Relative dates and getTimestamp increments by one day)
authorDerick Rethans <derick@php.net>
Mon, 30 Aug 2010 16:25:52 +0000 (16:25 +0000)
committerDerick Rethans <derick@php.net>
Mon, 30 Aug 2010 16:25:52 +0000 (16:25 +0000)
NEWS
ext/date/lib/tm2unixtime.c

diff --git a/NEWS b/NEWS
index aa13a093749d336e9819436b8b2d8fff26d5a598..47a42ceb965ef1a751021cc74b3b96c15e84f08e 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -41,6 +41,8 @@
   (Felipe)
 - Fixed bug #52468 (wddx_deserialize corrupts integer field value when left
   empty). (Felipe)
+- Fixed bug #52454 (Relative dates and getTimestamp increments by one day).
+  (Derick)
 - Fixed bug #52436 (Compile error if systems do not have stdint.h)
   (Sriram Natarajan)
 - Fixed bug #52433 (Call to undefined method mysqli::poll() - must be static).
index 59f7daf9fb0d1d14f1ab3c956107cba9a825a3d2..f2b7493ed481126b636d704487e000a2c84a324f 100644 (file)
@@ -444,6 +444,7 @@ void timelib_update_ts(timelib_time* time, timelib_tzinfo* tzi)
        time->sse = res;
 
        time->sse_uptodate = 1;
+       time->have_relative = time->relative.have_weekday_relative = time->relative.have_special_relative = 0;
 }
 
 #if 0