Hide final time of an event in fullcalendar?

Asked

Viewed 223 times

-2

In the FullCalendar the events will show the start time and the end time. There will be a way to show only the start time?

2 answers

1


There is the property displayEventEnd she is responsible for this control.

  • If some Event doesn’t show an end date already, for example an element that has only half an hour only show the initial hour, don’t show the start hour.

0

Add the line timeFormat:'HH:mm', in the

$(document).ready(function() {

            $('#calendar').fullCalendar({
                header: {
                    left: 'prev,next today',
                    center: 'title',
                    right: 'month,agendaWeek,agendaDay'
                },
                    **timeFormat:'HH:mm',**

Browser other questions tagged

You are not signed in. Login or sign up in order to post.