-
-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
69 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
BEGIN:VCALENDAR | ||
METHOD:REQUEST | ||
PRODID:Microsoft CDO for Microsoft Exchange | ||
VERSION:2.0 | ||
BEGIN:VTIMEZONE | ||
TZID:GMT +0100 (Standard) / GMT +0200 (Daylight) | ||
BEGIN:STANDARD | ||
DTSTART:16010101T030000 | ||
TZOFFSETFROM:+0200 | ||
TZOFFSETTO:+0100 | ||
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU | ||
END:STANDARD | ||
BEGIN:DAYLIGHT | ||
DTSTART:16010101T020000 | ||
TZOFFSETFROM:+0100 | ||
TZOFFSETTO:+0200 | ||
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=-1SU | ||
END:DAYLIGHT | ||
END:VTIMEZONE | ||
BEGIN:VEVENT | ||
DTSTAMP:20150703T071009Z | ||
DTSTART;TZID="GMT +0100 (Standard) / GMT +0200 (Daylight)":20150703T100000 | ||
SUMMARY:Sprint 25 Daily Standup | ||
DTEND;TZID="GMT +0100 (Standard) / GMT +0200 (Daylight)":20150703T103000 | ||
RRULE:FREQ=DAILY;UNTIL=20150722T080000Z;INTERVAL=1;BYDAY=MO, TU, WE, TH, FR | ||
;WKST=SU | ||
END:VEVENT | ||
END:VCALENDAR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
'''Issue #165 - Problem parsing a file with event recurring on weekdays | ||
https://github.com/collective/icalendar/issues/165 | ||
''' | ||
from icalendar import Calendar | ||
|
||
def test_issue_165_missing_event(calendars): | ||
events = list(calendars.issue_165_missing_event.walk('VEVENT')) | ||
assert len(events) == 1, "There was an event missing from the parsed events' list." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters