From c7c0f17d0902d3d89503d1dc24f248ee9bdfab1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Cadilhac?= Date: Thu, 7 Feb 2019 12:20:51 +0000 Subject: [PATCH 3/6] Be a bit more compliant with iCalendar standard by having a VTIMEZONE block. --- lisp/ox-icalendar.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/ox-icalendar.el b/lisp/ox-icalendar.el index 5e7f2804a..a5b586434 100644 --- a/lisp/ox-icalendar.el +++ b/lisp/ox-icalendar.el @@ -897,11 +897,15 @@ X-WR-CALNAME:%s PRODID:-//%s//Emacs with Org mode//EN X-WR-TIMEZONE:%s X-WR-CALDESC:%s -CALSCALE:GREGORIAN\n" +CALSCALE:GREGORIAN +BEGIN:VTIMEZONE +TZID:%s +END:VTIMEZONE\n" (org-icalendar-cleanup-string name) (org-icalendar-cleanup-string owner) (org-icalendar-cleanup-string tz) - (org-icalendar-cleanup-string description)) + (org-icalendar-cleanup-string description) + (org-icalendar-cleanup-string tz)) contents "END:VCALENDAR\n")) -- 2.19.2