* Corrected the 'walking timestamp' problem in the Tasks view by converting to UTC...
authorArt Cancro <ajc@citadel.org>
Thu, 5 Mar 2009 21:28:24 +0000 (21:28 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 5 Mar 2009 21:28:24 +0000 (21:28 +0000)
webcit/calendar.c

index 0cdbb847b7a478cc3349eae4e6a2a4cf39b6e2a3..43d7a710da0a7509500d1ded9ca0006bfc2dfebf 100644 (file)
@@ -599,7 +599,12 @@ void display_edit_individual_task(icalcomponent *supplied_vtodo, long msgnum, ch
        if (supplied_vtodo != NULL) {
                vtodo = supplied_vtodo;
 
-               /**
+               /*
+                * It's safe to convert to UTC here because there are no recurrences to worry about.
+                */
+               ical_dezonify(vtodo);
+
+               /*
                 * If we're looking at a fully encapsulated VCALENDAR
                 * rather than a VTODO component, attempt to use the first
                 * relevant VTODO subcomponent.  If there is none, the