Fullcalendar显示事件的结束时间

编程入门 行业动态 更新时间:2024-10-13 20:19:58
本文介绍了Fullcalendar显示事件的结束时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我如何显示甚至在fullcalendar中的结束时间?我的事件触发正确,但没有结束时间显示这是一个示例事件。

title:'WM 2010 - 03.06.2010 - 00:00', description: 'Bei uns ist jeden Tag WM Party', start:new Date(2010,5,3,00,5), end:new Date(2010,6,3,23,6), allDay:true

解决方案

fullCalendar的最新版本是使用displayEventEnd。 这是因为timeFormat会产生更多的东西。 displayEventEnd允许我们甚至指定要显示结束时间的视图。

b $ b month:false, basicWeek:true,default:true }

how do i display the end time of an even in fullcalendar? My event is triggered right, but there is no end time displayed This is an example event. Did i miss something?

title:'WM 2010 - 03.06.2010 - 00:00', description: 'Bei uns ist jeden Tag WM Party', start: new Date(2010, 5, 3, 00, 5), end: new Date(2010, 6, 3, 23, 6), allDay: true

解决方案

The appropriate solution in the most recent version of fullCalendar is to use displayEventEnd. This is because timeFormat afects more stuff. displayEventEnd allows us to even specify the views where we want the end time to be shown.

displayEventEnd: { month: false, basicWeek: true, "default": true }

更多推荐

Fullcalendar显示事件的结束时间

本文发布于:2023-10-27 10:50:28,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1533154.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:事件   结束时间   Fullcalendar

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!