Minicalendar - scheduler.templates.calendar_date issue

I am changing the format for the mini calendar by using…

scheduler.templates.calendar_date = scheduler.date.date_to_str(“%j”);

but it seems like the last line in the minicalendar if rendered doesn’t follow any manually entered format and its following something that might be hardcoded. I cannot figure out how to override this or change it for the life of me. As you can see in the image below that no matter what format you change this to it’s loaded not being aware of the override. In javascript it seems to be a issue with the way last_day_number is formatted.