开发者

After midnight end time NOT a multi-day event?

开发者 https://www.devze.com 2023-03-22 14:24 出处:网络
Question about modifying the full calendar script found here: http://arshaw.com/fullcalendar ( hope I tagged this right, seems to be a lot of posts regarding the script )

Question about modifying the full calendar script found here: http://arshaw.com/fullcalendar ( hope I tagged this right, seems to be a lot of posts regarding the script )

With monthly view, an event that starts on saturday at 10pm and ends on sunday at 1am results in an event th开发者_如何学JAVAat will stretch the event over two days. Technically, that makes sense as 1am Sunday is on Sunday:)

However, it's visually deceiving and actually not a true representation of an event that ends just shortly after midnight. Nobody would consider this kind of an event a multi-day event.

Course, I am using this script as a part of a Joomla component - gCalendar, so this might already be an option that just wasn't incorporated into the component. If not, any suggestions as to how to modify the code so that events that end after midnight are not considered multiple day events?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号