Unexpected time for dayVisibleEnd in DayPilot Lite

Asked by Anonymous
17 years ago.

DayPilot with properties:

BusinessBeginsHour="0"
BusinessEndsHour="24"
Days="7"

one event:

dr = dt.NewRow();
dr["id"] = 1;
dr["start"] = Convert.ToDateTime("23:00");
dr["end"] = Convert.ToDateTime("23:30");
dr["name"] = "Event 1";
dt.Rows.Add(dr);

Cause exception: Unexpected time for dayVisibleEnd

How solve it?

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