Recurring Events is missing
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 233
- Avg merge
- 1h 44m
- Merged PRs (30d)
- 1
Description
Describe the bug
The event don't show up
To Reproduce
add this event to you calendar:
BEGIN:VCALENDAR
PRODID:-//IDN nextcloud.com//Calendar app 5.0.1//EN
CALSCALE:GREGORIAN
VERSION:2.0
BEGIN:VEVENT
CREATED:20250108T132743Z
DTSTAMP:20250108T132807Z
LAST-MODIFIED:20250108T132807Z
SEQUENCE:2
UID:a6b3c9aa-4766-4612-99b8-4748b2355442
DTSTART;TZID=Europe/Berlin:20231031T023000
DTEND;TZID=Europe/Berlin:20231031T030000
STATUS:CONFIRMED
RRULE:FREQ=WEEKLY;BYDAY=TU,MO,WE,FR,TH
SUMMARY:test
END:VEVENT
BEGIN:VTIMEZONE
TZID:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
END:VCALENDAR
Expected behavior
khal list show the event for today
Screenshots
OS, version, khal version and how you installed it:
- khal, version 0.11.3
- Installation method pipx
- python version Python 3.11.2
- OS Debian GNU/Linux 12 (bookworm)
- Your khal config file
[calendars]
[[private]]
path = /home/me/docker/vdirsyncer/vdirsyncer/calendars/*
type = discover
[locale]
local_timezone= Europe/Berlin
default_timezone= Europe/Berlin
timeformat = %H:%M
dateformat = %Y-%m-%d
longdateformat = %Y-%m-%d
datetimeformat = %Y-%m-%d %H:%M
longdatetimeformat = %Y-%m-%d %H:%M
- The versions of your other python packages [e.g. the output of
pip freeze]
Additional context
i checked the db, the event is not added to the table events
debug: khal 0.11.3
debug: using the config file at /home/me/.config/khal/config
debug: discovering calendars in /home/me/docker/vdirsyncer/vdirsyncer/calendars/*
debug: found the following vdirs: ['/home/me/docker/vdirsyncer/vdirsyncer/calendars/testcal', ....
debug: Using config:
debug: [calendars]
debug: [[testcal]]
debug: path: /home/me/docker/vdirsyncer/vdirsyncer/calendars/testcal
debug: color: None
debug: type: calendar
debug: readonly: False
debug: priority: 10
debug: created version table
debug: tables for calendar testcal exist
debug: Getting all events between 2025-01-08 00:00:00 and 2025-01-10 00:00:00
debug: No events found
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied VCALENDAR with khal list using the shown configuration and confirm whether the recurring event reaches the events table. Trace the recurring-event import path and verify that the event appears for today as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100