]> git.eshelyaron.com Git - emacs.git/commit
Fix Gnus parsing of weekly recurring icalendar events
authorJan Tatarik <jan.tatarik@gmail.com>
Mon, 28 Sep 2020 11:08:32 +0000 (13:08 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 28 Sep 2020 11:08:37 +0000 (13:08 +0200)
commit232382415d1ff8fdbcb7789e5829c297e6525020
tree2e2751e3547970e80871b02dbcfa1aa17902bf8d
parentfc1e8b3659c10c6dadb273a73525e19a4edc4bc4
Fix Gnus parsing of weekly recurring icalendar events

* lisp/gnus/gnus-icalendar.el
(gnus-icalendar-event:recurring-interval): Fix parsing of weekly
recurring events (bug#43669).

Example: in the absence of explicit INTERVAL value in the calendar
event, a weekly event with occurrences scheduled for Mondays and
Wednesdays should receive the default recurring interval of "1" and the
org mode timestamp repeater should be "+1w".

Due to a bug in the current code we receive "WEEKLY" and "+WEEKLYw"
instead. The patch fixes the issue.
lisp/gnus/gnus-icalendar.el
test/lisp/gnus/gnus-icalendar-tests.el