-
Notifications
You must be signed in to change notification settings - Fork 417
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
datetime.date object has no attribute astimezone #1485
Comments
I needed a quick fix for this, so I went into
If I understand the issue correctly, 3.2.0 added support for expanding recurring events, but hasn't considered full-day events stored as |
@metallerok : can you please dig into, potentially #1293 was incomplete |
@metallerok : did you have already time to look into? |
yes, i am trying |
…ents (#1485) Fix processing all day expanded events
@SpiritCroc / @10b14224cc : can you please test latest master now? |
Thanks for looking into this! "all day 2024-05-28", now it says something like |
Do you mean that expanded events return datetime, not date? Expanded events return the UTC dateime in accordance with the rfc https://www.rfc-editor.org/rfc/rfc4791#section-9.6.5 |
And the |
Yes, the original event didn't have a time, so the time I now get displayed is "invented", while before the patch it was showing fine as full-day event.
Hm I see, that's unfortunate. Without reading too much into the rfc it feels wrong to me to add an arbitrary time when expanding events that don't have time, I wonder if it'd be feasible to just convert the datetime results back to date after expanding (if it was only a date to begin with) and before returning. |
@SpiritCroc @metallerok : I had the plan releasing 3.2.1 today, has this issue still to be considered as a blocker? Then I will wait... |
It's not a blocker in my book - considering that in the previous release accessing the calendar resulted in an internal server error, the new behaviour still seems like an improvement worth releasing. |
…n in the response we return the date
(#1485) If an event comes with a dtstart specified as a date then in …
@SpiritCroc : can you test latest master now? |
Looks perfect now on my end, thank you very much! |
I get the following error with the new version of radicale:
The text was updated successfully, but these errors were encountered: