search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

End of day not show all hours

Asked by Matthew Trefz
12 years ago.

We have time events that occur outside of the businessEndsHour that will not show.
There are multiple calendars for the day on the page. Each calendar is associated with a individual.

Our settings are:
businessEndsHour = 19
dayEndsHour = 23

We have an event that runs 16:30-22:00. The 16:00-19:00 portion is visible, but the rest is not.

This behavior only happens on the last calendar if there are no other proceeding calendars with events that extend beyond 19:00.

Any help would be greatly appriciated

mvc
Answer posted by Dan Letecky [DayPilot]
12 years ago.

It seems this has the same cause as this issue:

http://forums.daypilot.org/Topic.aspx/1659/events-times-not-matching-placement-on-dpc

That is, when StartDate is set including the time part the Calendar shifts the day start used for calculations. That's why the issue is random (if you derive the StartDate from DateTime.Now rather than DateTime.Today).

It's now fixed in build 5405:

http://mvc.daypilot.org/daypilot-pro-for-asp-net-mvc-1-6/

You can also fix it in the backend by cutting the time part of StartDate:

StartDate = newDate.Date;

Please let me know this it didn't help.

Comment posted by Nickolas
12 years ago.

I am having the similar problem, thank you for your reply, Dan
i'll see what i can do now

Nick http://playscrabble.net/

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.