coddingtonbear / inthe.am

Access your Taskwarrior tasks from any browser anywhere
https://inthe.am/
GNU Affero General Public License v3.0
593 stars 50 forks source link

The iCal export includes the date but not the time of the task. Consequently, they show up on my calendar as all day tasks. #326

Closed joshdoyle closed 3 years ago

joshdoyle commented 4 years ago

The iCal export includes the date but not the time of the task. Consequently, they show up on my calendar as all day tasks. See this image that shows my fantastical calendar overlayed by my terminal output.

Is this by design? Could this be implemented?

image
coddingtonbear commented 3 years ago

That's intentional, unfortunately. Due to the RFC5545 standard used for these calendars, every entry has a start date and end date regardless of whether we specify the end date explicitly -- if we don't provide an end date, that end date will be assumed to be one day later: https://stackoverflow.com/questions/15295887/does-an-ical-file-have-to-have-an-enddate.

I'm afraid I can't think of a way of making this better, but do feel free to start a discussion on the gitter channel if you can think of something. Also, if you were wanting to consider a PR, the particular view handling this is here: https://stackoverflow.com/questions/15295887/does-an-ical-file-have-to-have-an-enddate