Public bug reported:

Recurring events from CalDAV with DTSTART and DURATION but no DTEND get
incorrect timezone for the end time.

Reported upstream:

https://gitlab.gnome.org/GNOME/evolution-data-server/issues/194

And fixed:

https://gitlab.gnome.org/GNOME/evolution-data-
server/-/commit/80072aea88235e1cfe2223d8d5c7d9605700a71f

I'd love to see this backported to 18.04. The equivalent patch against
3.28.5 should just be:

--- evolution-data-server-3.28.5.orig/src/calendar/libecal/e-cal-recur.c
+++ evolution-data-server-3.28.5/src/calendar/libecal/e-cal-recur.c
@@ -206,6 +206,8 @@ ensure_timezone (icalcomponent *comp,
 
        if (!prop)
                prop = icalcomponent_get_first_property (comp, prop_kind);
+       if (!prop && prop_kind == ICAL_DTEND_PROPERTY)
+               prop = icalcomponent_get_first_property (comp, 
ICAL_DTSTART_PROPERTY);
        if (!prop)
                return TRUE;
 

(I've been running this patch for a week and it seems to be working
great).

** Affects: evolution-data-server (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to evolution-data-server in
Ubuntu.
https://bugs.launchpad.net/bugs/1864638

Title:
  e-cal-recur: Incorrect timezone used for DTEND from DURATION

Status in evolution-data-server package in Ubuntu:
  New

Bug description:
  Recurring events from CalDAV with DTSTART and DURATION but no DTEND
  get incorrect timezone for the end time.

  Reported upstream:

  https://gitlab.gnome.org/GNOME/evolution-data-server/issues/194

  And fixed:

  https://gitlab.gnome.org/GNOME/evolution-data-
  server/-/commit/80072aea88235e1cfe2223d8d5c7d9605700a71f

  I'd love to see this backported to 18.04. The equivalent patch against
  3.28.5 should just be:

  --- evolution-data-server-3.28.5.orig/src/calendar/libecal/e-cal-recur.c
  +++ evolution-data-server-3.28.5/src/calendar/libecal/e-cal-recur.c
  @@ -206,6 +206,8 @@ ensure_timezone (icalcomponent *comp,
   
        if (!prop)
                prop = icalcomponent_get_first_property (comp, prop_kind);
  +     if (!prop && prop_kind == ICAL_DTEND_PROPERTY)
  +             prop = icalcomponent_get_first_property (comp, 
ICAL_DTSTART_PROPERTY);
        if (!prop)
                return TRUE;
   

  (I've been running this patch for a week and it seems to be working
  great).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/1864638/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to