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

Full-day events mangled on davmail #108

Open
fauxmight opened this issue Sep 7, 2023 · 2 comments
Open

Full-day events mangled on davmail #108

fauxmight opened this issue Sep 7, 2023 · 2 comments

Comments

@fauxmight
Copy link
Contributor

Noted when using davmail as a backend.
May apply to other servers.

When adding a full-day event with this syntax 2023-09-07+1d the server does not interpret the request as a full-day event and instead adds a 24-hour event with a timestamp that starts at the last second of the PREVIOUS day.

It does not appear that calendar-cli has any other syntax for adding a full-day event (though I believe plann does). If I am misreading, please let me know.

@tobixen
Copy link
Owner

tobixen commented Sep 7, 2023

I think that at some point someone added a --whole-day option

@fauxmight
Copy link
Contributor Author

fauxmight commented Sep 10, 2023

The if clause in calendar-cli sees a whole-day event whether the --whole-day option is passed OR the total duration is a multiple of 24 hours.

An event with a +1d time span (whether or not --whole-day is passed at the command line) sent to davmail produces a 24-hour-long event rather than a whole day event.

Other caldav clients can correctly generate a whole-day event in davmail.

EDIT: Thank you for the heads-up, @tobixen. I did miss the fact that the --whole-day option exists. Unfortunately, it does not change the outcome.

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

2 participants