From fb3eccca868d8a797b2a550230743a6e8d5b6510 Mon Sep 17 00:00:00 2001 From: fpi Date: Sun, 15 Sep 2024 22:01:13 +0200 Subject: Remove VTIMEZONE component Giving a timezone definiton is not necessary if the event dates are given in UTC (marked by the "Z" suffix). This makes event creation significantly easier and could be added back later based on the TZ environment variable if necessary.. --- gnus-icalendar-request-tests.el | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gnus-icalendar-request-tests.el') diff --git a/gnus-icalendar-request-tests.el b/gnus-icalendar-request-tests.el index c7d9751..c9eab69 100644 --- a/gnus-icalendar-request-tests.el +++ b/gnus-icalendar-request-tests.el @@ -53,10 +53,6 @@ END:VEVENT")) (should-not (string-match "^VERSION:" (match-string 1 vcalendar))) (should (string-match "^PRODID:\\(\n\\|.\\)*END:VCALENDAR" vcalendar)) (should-not (string-match "^PRODID:" (match-string 1 vcalendar))) - ;; Ensure we have a timezone entry - (should (string-match "^\\(BEGIN:VTIMEZONE\\(\n\\|.\\)*END:VTIMEZONE\\)" vcalendar)) - (let ((vtimezone (match-string 1 vcalendar))) - ) ;; Ensure the vevent remains intact (should (string-match "^\\(BEGIN:VEVENT\\(\n\\|.\\)*\nEND:VEVENT\\)" vcalendar)) (should (string-match (match-string 1 vcalendar) event))) -- cgit v1.2.3