diff --git a/core/utils.py b/core/utils.py index 8b0639c..08abc57 100644 --- a/core/utils.py +++ b/core/utils.py @@ -1,3 +1,4 @@ +from datetime import timedelta from icalendar import Calendar, Event, vText from django.template.defaultfilters import striptags from django.utils import timezone @@ -16,7 +17,7 @@ def generate_events_ics(queryset): event.add('dtstart', e.start_date) event.add('uid', f'{e.slug}@feo.gmbh') if e.end_date: - event.add('dtend', e.end_date) + event.add('dtend', e.end_date + timedelta(days=1)) if e.location_name: event.add('location', vText(f'{e.location_name}, {e.location_street}, {e.location_city}')) diff --git a/requirements.in b/requirements.in index a77ce5f..6135930 100644 --- a/requirements.in +++ b/requirements.in @@ -11,3 +11,4 @@ django-braces daphne celery redis +ipython diff --git a/requirements.txt b/requirements.txt index d23d06b..5b710c4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,6 +12,8 @@ asgiref==3.8.1 # via # daphne # django +asttokens==3.0.0 + # via stack-data attrs==25.3.0 # via # service-identity @@ -55,6 +57,8 @@ cryptography==44.0.2 # service-identity daphne==4.1.2 # via -r requirements.in +decorator==5.2.1 + # via ipython defusedxml==0.7.1 # via willow django==5.2 @@ -106,6 +110,8 @@ draftjs-exporter==5.1.0 # via wagtail et-xmlfile==2.0.0 # via openpyxl +executing==2.2.0 + # via stack-data filetype==1.2.0 # via willow hyperlink==21.0.0 @@ -121,12 +127,24 @@ idna==3.10 # twisted incremental==24.7.2 # via twisted +ipython==9.2.0 + # via -r requirements.in +ipython-pygments-lexers==1.1.1 + # via ipython +jedi==0.19.2 + # via ipython kombu==5.5.3 # via celery laces==0.1.2 # via wagtail +matplotlib-inline==0.1.7 + # via ipython openpyxl==3.1.5 # via wagtail +parso==0.8.4 + # via jedi +pexpect==4.9.0 + # via ipython pillow==11.2.1 # via # pillow-heif @@ -134,11 +152,17 @@ pillow==11.2.1 pillow-heif==0.21.0 # via willow prompt-toolkit==3.0.51 - # via click-repl + # via + # click-repl + # ipython psycopg[binary]==3.2.6 # via -r requirements.in psycopg-binary==3.2.6 # via psycopg +ptyprocess==0.7.0 + # via pexpect +pure-eval==0.2.3 + # via stack-data pyasn1==0.6.1 # via # pyasn1-modules @@ -147,6 +171,10 @@ pyasn1-modules==0.4.2 # via service-identity pycparser==2.22 # via cffi +pygments==2.19.1 + # via + # ipython + # ipython-pygments-lexers pyopenssl==25.0.0 # via twisted python-dateutil==2.9.0.post0 @@ -165,8 +193,14 @@ soupsieve==2.7 # via beautifulsoup4 sqlparse==0.5.3 # via django +stack-data==0.6.3 + # via ipython telepath==0.3.1 # via wagtail +traitlets==5.14.3 + # via + # ipython + # matplotlib-inline twisted[tls]==24.11.0 # via daphne txaio==23.1.1