scheduler.templates.day_date affects other views as well

Hello,

I just wanted to modify the day calendar date title format to show the day name.

I used the function like this:

scheduler.templates.day_date = function(date) { return scheduler.date.date_to_str("%D, %j %M %y")(date); }

Unfortunately my week calendar view has also changed to now show the day names in it’s title view…

My timeline and agenda views have also been affected…

How can I make this one minor change to the calendar day view without having to redefine all the date formats for the other views?

Hi,
the default template of the week view and some others uses day date template for formatting day values. So if the day date template changed - it will affect the dependent ones.
Currently you’ll have to redefine all problematic templates