Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

DateTime from CalDav is not UTC [closed]

$
0
0

I don't understand what I'm getting from a search on a CalDav server using python's caldav library.

I get an event with start date of this form:datetime.datetime(2024, 2, 13, 7, 30, tzinfo=tzutc())

It is shown as 9:30 when I open the CalDav server with its official client (Kerio).

Note that datetime.datetime.now(UTC) shows 8:30 for that same date.

So I think something is wrong on CalDav's date and I need to add 1hour for dst even if it does not make sense.How do I know if it's an error of only this event or it's always like this? How do I know if this particular caldav server is wrongly configured?caldav's manual isn't helping.

Update: It is this specific Event that has the UTC date wrong. I tried with another one and it seems OK.


Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>