Customize event text on timeline view

Hi,

I’m trying to customize the event test of my timeline view.
so i have defined this in my code :

scheduler.templates.event_bar_text=function(start,end,event){ var texte; texte=format(start)+" - "+format(end)+" : <b>"+event.text+"</b>"; return texte; }

With this i obtain :

How can i format the date to obtain :

i tried to use .dateFormat(‘h:i’) on start and end but it doesn’t work.

Any idea ?

Hello,

Change your format function. How is it defined?

Kind regards,
Ilya