Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception can't compare datetime.datetime to datetime.date #108

Open
micdis opened this issue Oct 1, 2022 · 3 comments
Open

Exception can't compare datetime.datetime to datetime.date #108

micdis opened this issue Oct 1, 2022 · 3 comments

Comments

@micdis
Copy link

micdis commented Oct 1, 2022

Hello.

I do get repeatedly an error in my HA Logs:

Logger: custom_components.ical
Source: custom_components/ical/__init__.py:139 
Integration: ical 
First occurred: 29. September 2022, 12:06:09 (1347 occurrences) 
Last logged: 09:07:07

Exception can't compare datetime.datetime to datetime.date in starts/ends: Tag zählt nicht - Start: 2017-07-30 00:00:00+02:00 - End: 2017-07-31 00:00:00+02:00, RRule: vRecur({'FREQ': ['DAILY'], 'UNTIL': [datetime.datetime(2017, 11, 18, 0, 0, tzinfo=tzfile('/usr/share/zoneinfo/UTC'))], 'INTERVAL': [28]})

any Idea why and how I can resolve this?
thanks in advance, michael

@robotek87
Copy link

Have the same problem, any solutions?

@studioIngrid
Copy link

5 months later, same problem.
Exception can't compare datetime.datetime to datetime.date in starts/ends: xxx - Start: 2017-08-07 00:00:00+02:00 - End: 2017-08-08 00:00:00+02:00, RRule: vRecur({'FREQ': ['WEEKLY'], 'UNTIL': [datetime.datetime(2017, 9, 7, 0, 0, tzinfo=tzfile('/usr/share/zoneinfo/UTC'))]})

@marsal-75
Copy link

marsal-75 commented Dec 25, 2024

And after a year and a half, the problem is still present:
Exception '<' not supported between instances of 'datetime.date' and 'datetime.datetime' in starts/ends: ***** - Start: 2024-12-15 00:00:00+01:00 - End: 2024-12-16 00:00:00+01:00'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants