Comment 7 for bug 1848969

Revision history for this message
Benjamin Drung (bdrung) wrote :

Correction: Applying following patch does not solve this assertion failure:

diff --git a/src/engine-eds.cpp b/src/engine-eds.cpp
index 153a9ea..8e2674f 100644
--- a/src/engine-eds.cpp
+++ b/src/engine-eds.cpp
@@ -879,6 +879,11 @@ private:
         if (tzid == nullptr)
             return nullptr;

+ // Workaround: Etc/Utc is not known to i_cal_timezone_get_builtin_timezone_from_tzid/i_cal_timezone_get_builtin_timezone
+ if (strcmp("Etc/Utc", tzid) == 0) {
+ return g_time_zone_new("Z");
+ }
+
         auto itz = i_cal_timezone_get_builtin_timezone_from_tzid(tzid); // usually works

         if (itz == nullptr) // fallback