[pLog-svn] r4138 - plog/branches/lifetype-1.1.2/class/action

oscar at devel.lifetype.net oscar at devel.lifetype.net
Tue Oct 17 21:43:39 GMT 2006


Author: oscar
Date: 2006-10-17 21:43:38 +0000 (Tue, 17 Oct 2006)
New Revision: 4138

Modified:
   plog/branches/lifetype-1.1.2/class/action/blogaction.class.php
Log:
working fix for issue http://bugs.lifetype.net/view.php?id=1018


Modified: plog/branches/lifetype-1.1.2/class/action/blogaction.class.php
===================================================================
--- plog/branches/lifetype-1.1.2/class/action/blogaction.class.php	2006-10-17 21:24:48 UTC (rev 4137)
+++ plog/branches/lifetype-1.1.2/class/action/blogaction.class.php	2006-10-17 21:43:38 UTC (rev 4138)
@@ -329,7 +329,12 @@
                 $month = substr( $inDate, 4, 2 );
                 $day = substr( $inDate, 6, 2 );
         		$outDate  = Timestamp::getDateWithOffset( $year.$month.$day."000000", -$serverTimeOffset );
-        		$maxDate = Timestamp::getDateWithOffset( $year.$month.$day."235959", -$serverTimeOffset );
+                //$maxDate = Timestamp::getDateWithOffset( $year.$month.$day."235959", -$serverTimeOffset );                                                             
+                //                                                                                               
+                // Fix for issue http://bugs.lifetype.net/view.php?id=1018
+                // Although I am not sure if this fix will have other consequences...
+				//
+                $maxDate = Timestamp::getDateWithOffset( $year.$month.$day."235959", 0 );
         	}
         	else
         	{



More information about the pLog-svn mailing list