| Issue 1904: | More easily hide time from event elements | |
| 4 people starred this issue and may be notified of changes. | Back to list |
Hi
I want to remove the time from event description.
I did as follows
eventRender: function(event, element) {
$(element).find(".fc-event-time").remove();
}
Please tell me the right way.
Jul 8, 2013
But it show the space on top because of it makes the time as blank string only. It do not remove the time div.
Jul 9, 2013
Yes, the div is still there. There's a small padding on the .fc-event-time which you could override in your stylesheet:
.fc-event-time {
padding: 0;
}
It might be problematic to remove the .fc-event-time class as you do above, because FullCalendar can copy the title of the event into the .fc-event-time class if there's a lack of space. See fullcalendar.js at line 4020-4023.
- Regin
Aug 24, 2013
(No comment was entered for this change.)
Summary:
More easily hide time from event elements
(was: hide time from event)
Status: Discussing Labels: Type-Feature
Mar 12, 2015
Came here looking for this as well. Similar to displayEventEnd it would be nice to have "displayEventStart"
Mar 16, 2015
(No comment was entered for this change.)
Status:
Accepted
Aug 21, 2015
Discussion for this issue has moved to the following URL: https://github.com/fullcalendar/fullcalendar/issues/2171 This is because Google Code is shutting down. Apologies if you are being pestered with these notifications. This is a one-time event. Happy coding, Adam
Status:
ExportedToGithub
Aug 21, 2015
i take it back. this has actually been released in v2.4.0 http://fullcalendar.io/docs/text/displayEventTime/ displayEventTime: false
Status:
Released
|
|
| ► Sign in to add a comment |
Hi! Another method is to change the time format options to empty strings: $('#calendar').fullCalendar({ timeFormat: { '': '', agenda: '' }); - Regin