brOOper / gwt-cal

Automatically exported from code.google.com/p/gwt-cal
0 stars 0 forks source link

appointment with 1h duration is set to be an all-day event if it cross day barrier #137

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Create an appointment with start time 23:30 - current day and end time - 00:30 
the next day.
Do not set it as all day event.

Return to calendar day view and observe that it is listed as all day event (at 
the top of the view).

What is the expected output? What do you see instead?

It would be normal to see it inside the calendar spreading between days (1/2h 
hour at the end of the first day and 1/2h at the begining of the next day)

What version of the product are you using? On what operating system?
gwt-cal-0.9.2.jar

Please provide any additional information below.

Original issue reported on code.google.com by remi.s...@ro.bluespace.com on 16 Nov 2011 at 1:26

GoogleCodeExporter commented 8 years ago
I had a similar problem. 

The thing is that gwt-cal detects that the appointment spreads between 2 days 
and automatically shows it as an "all day event". 

My solution was to detect the case and split the appointment manually in my 
code. Not perfect, but works fine.
I agree with you that's something the calendar should do by itself.

Original comment by ctasada on 2 Dec 2011 at 2:43

GoogleCodeExporter commented 8 years ago
we modeled this behavior after outlook 2003 (which I was using at the time). 
Any multi-day events get put in the header. So this is technically the expected 
behavior

Original comment by Brad.Ryd...@gmail.com on 2 Dec 2011 at 5:11

GoogleCodeExporter commented 8 years ago
I'm labeling as an enhancement. We could differentiate by adding an "allDay" 
flag that places the appointment in the header. Anything without an allDay flag 
would rendered in the body. This would be a major code change.

Original comment by Brad.Ryd...@gmail.com on 2 May 2013 at 8:38