diff options
author | fpi | 2024-09-15 22:01:13 +0200 |
---|---|---|
committer | fpi | 2024-09-15 22:12:07 +0200 |
commit | fb3eccca868d8a797b2a550230743a6e8d5b6510 (patch) | |
tree | ba243c1b223c00fa314b9ab4f6ed23eabddb2b16 /gnus-icalendar-request-tests.el | |
parent | Add basic test for VCALENDAR creation (diff) |
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..
Diffstat (limited to '')
-rw-r--r-- | gnus-icalendar-request-tests.el | 4 |
1 files changed, 0 insertions, 4 deletions
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))) |