From: Art Cancro Date: Thu, 5 Mar 2009 21:28:24 +0000 (+0000) Subject: * Corrected the 'walking timestamp' problem in the Tasks view by converting to UTC... X-Git-Tag: v7.86~1377 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=98ff612fb94eddccd30f4936946e75129bb88cd9;p=citadel.git * Corrected the 'walking timestamp' problem in the Tasks view by converting to UTC while loading a task into WebCit. This is not a problem for Tasks because there are no calculations or recurrences being performed on task dates. Thanks to feivel for reporting this. --- diff --git a/webcit/calendar.c b/webcit/calendar.c index 0cdbb847b..43d7a710d 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -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