[Vtigercrm-developers] [vtiger-commits] r3874 - /vtigercrm/branches/4.2/modules/Calendar/calendar_month.php

vtiger-commits at vtiger.fosslabs.com vtiger-commits at vtiger.fosslabs.com
Tue Feb 21 17:39:21 PST 2006


Author: allanbush
Date: Tue Feb 21 18:39:07 2006
New Revision: 3874

Log:
fixed time shift occuring if the calendar view spans a time change 
(daylight saving switch) 

Modified:
    vtigercrm/branches/4.2/modules/Calendar/calendar_month.php

Modified: vtigercrm/branches/4.2/modules/Calendar/calendar_month.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Calendar/calendar_month.php (original)
+++ vtigercrm/branches/4.2/modules/Calendar/calendar_month.php Tue Feb 21 18:39:07 2006
@@ -353,7 +353,7 @@
  		}
  		$a++;
  		$w++;
- 		$ts += 86400;
+ 		$ts = strtotime('+1 day', $ts);
 }
 if ( $n == 1 ) 
 {





More information about the vtigercrm-developers mailing list