phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [Bug #1753] Event times in icalendar notification


From: nobody
Subject: [Phpgroupware-tracker] [Bug #1753] Event times in icalendar notifications are not local TZ
Date: Tue, 19 Nov 2002 17:36:37 -0500

=================== BUG #1753: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1753&group_id=509

Submitted by: tbecker37                 Project: phpGroupWare                   
Submitted on: 2002-Nov-19 22:36
Category:  calendar                     Bug Group:  0.9.14 release              
Severity:  5 - Major                    Priority:  Normal                       
Resolution:  None                       Assigned to:  None                      
Status:  Open                           Component Version:  CVS                 
Platform Version:  Linux - RedHat       Reproducibility:  Every Time            

Summary:  Event times in icalendar notifications are not local TZ

Original Submission:  After applying patch 567 (add icalendar notifications) to 
the current stable CVS, the event times in icalendar e-mail notifications are 
off by -2x the system TZ offset.  An event scheduled for 7pm MST (-7 GMT 
offset) will be scheduled at 5am in the icalendar notification.  

I believe the problem is a switched sign (- for +) in the patch.  Lines 225-227 
in patch 567 are:

+            $event['start']['min']   -= $offset;
+            $event['end']['min']     -= $offset;
+            $event['modtime']['min'] -= $offset;

Changing these lines to:

+            $event['start']['min']   += $offset;
+            $event['end']['min']     += $offset;
+            $event['modtime']['min'] += $offset;

seems to fix the problem.  



No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1753&group_id=509




reply via email to

[Prev in Thread] Current Thread [Next in Thread]