Skip to content

Commit

Permalink
Merge pull request #145 from dotlambda/icalendar-v6-compat
Browse files Browse the repository at this point in the history
fix: icalendar v6 compatibility
  • Loading branch information
DerDreschner authored Jan 15, 2025
2 parents 00c71f8 + fa92543 commit 99e6a2e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 8 deletions.
6 changes: 5 additions & 1 deletion icalevents/icalparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@
from icalendar.prop import vDDDLists, vText
from uuid import uuid4

from icalendar.windows_to_olson import WINDOWS_TO_OLSON
from icalendar import use_pytz
from icalendar.timezone.windows_to_olson import WINDOWS_TO_OLSON
from pytz import timezone


use_pytz()


def now():
"""
Get current time.
Expand Down
26 changes: 20 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.9"
icalendar = "5.0.13"
icalendar = "^6.0.0"
python-dateutil = "^2.9.0"
pytz = "^2024.1"
httplib2 = "^0.22.0"
Expand Down

0 comments on commit 99e6a2e

Please sign in to comment.