Hi Everyone.
I’m trying config scheduler.config.hour_date.
But it’s not working.
Please take a look my code:
scheduler.config.xml_date = "%Y-%m-%d %h:%i";
scheduler.init("scheduler_here",new Date(2009,5,30),"week");
scheduler.parse(small_events_list, "json");
//i'm trying config it after init, because i want change it after that
scheduler.config.hour_date = '%g:%i %A';
scheduler.setCurrentView(scheduler._date,"week");
if config it before init its works. But it’s not correct what i want.
var formatFunc = scheduler.date.date_to_str("%G:%i");
scheduler.templates.event_header = function(start,end,ev){
return formatFunc(start)+" - "+formatFunc(end);
};
scheduler.updateView();[/code]
But it just works with Week not Month. It’s same with your example.
How can fix month too?