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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

vtiger-commits-2
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 )
 {


_______________________________________________
This vtiger.com email is sponsored by: Zoho Writer. Are you still using your desktop word processor for typing documents? Try the AJAX enabled, collaboration-friendly online word processor, Zoho Writer for FREE instead!
http://zohowriter.com/?vt