My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1904: More easily hide time from event elements
4 people starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Aug 2015


Sign in to add a comment
 
Reported by sachi...@tekdi.net, Jul 6, 2013
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
#1 regin.la...@eksponent.com
Hi!

Another method is to change the time format options to empty strings:

$('#calendar').fullCalendar({
  timeFormat: {
    '': '',
    agenda: ''
  });

- Regin
Jul 8, 2013
#2 sachi...@tekdi.net
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
#3 regin.la...@eksponent.com
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
Project Member #4 adamrs...@gmail.com
(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
#5 bjohnson...@gmail.com
Came here looking for this as well.  Similar to displayEventEnd it would be nice to have "displayEventStart"
Mar 16, 2015
Project Member #6 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Accepted
Aug 21, 2015
Project Member #7 adamrs...@gmail.com
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
Project Member #8 adamrs...@gmail.com
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

Powered by Google Project Hosting