markCalendar api in mini calendar not working.

I applied a style to a date in the mini calendar using markCalendar() api. The style was successfully applied but when I navigated to the next month and then came back the applied style disappeared.

This is expected behavior. markCalendar doesn’t create a constant mark, but color some date in the current view. Such mark will be lost on calendar repainting.

You can use “month_date_class” template … lates.html

It affects both month view and minicalendar.