! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Orage highlights the day after as well when an event ends at midnight
Status:
CLOSED: FIXED

Comments

Description Jerome 2012-02-26 22:40:53 CET
How to reproduce :

- create new event
- make it start at 00:00 and last exactly one day

What happens :

On the calendar, both the day of the event and the day after are highlighted.

The same happens, of course, for an event that would last from 22:00 to 24:00, but the typical use case is a birthday, or any event that is considered to last all day.

A workaround is to make the event shorter, but this is not necessarily possible when importing .ics files.
Comment 1 Jerome 2012-02-26 23:03:44 CET
I just saw the checkbox for daily events, up the date-time start / end / duration inputs...

It creates an event with a 0 second duration :

DTSTART;VALUE=DATE:20120216
DURATION:PT0S

I still feel like an event ending at midnight should not be highlighted on the day after, but perhaps someone could think differently.

At least the birthday use case is dealt with. Except if some external program generates a .ics file with a value of P1D for that. I'm not sure this is forbidden as per RFC 5545, is it ?
Comment 2 juha editbugs 2012-03-03 09:54:10 CET
Yes, midnight is a problem, since 24:00 is basically the previous day and 00:00 is basically the next day, but Orage has no way of knowing which one is meant.

Perhaps start time of 00:00 should be interpreted as next day, but end time of 00:00 shold be interpreted as 24:00.

I'll check, but I guess this is not very easy to implement. And it does not cause much problems.
Comment 3 Liv 2012-06-12 14:41:52 CEST
(In reply to comment #2)
> Perhaps start time of 00:00 should be interpreted as next day, but end time
> of 00:00 shold be interpreted as 24:00.
> 
This might be a solution indeed. 

> I'll check, but I guess this is not very easy to implement. And it does not
> cause much problems.
> 
Well, it doesn't cause big problems, but it is confusing. I had to learn that to create a *two-day* event I need to create an event that has 'duration: 1 day'. I wonder how I would explain this to my mother.
Comment 4 juha editbugs 2013-11-26 16:13:09 CET
Fixed in 4.9.10.5.
Comment 5 juha editbugs 2013-12-11 08:12:01 CET
Fixed in 4.10.0

Bug #8508

Reported by:
Jerome
Reported on: 2012-02-26
Last modified on: 2013-12-11

People

CC List:
1 user

Version

Attachments

Additional information