How can I change the format of the header ?


#1

Hi,

I need to change the format of the header.

By default, the header shows month then year: August 2018.
But I want to show like : 2018 August due to my local language.
How can I do this?


#2

I just want to put the solution here for those who have the same question.
You can use “hdrformat” property like below:

dhtmlXCalendarObject.prototype.langData = { "en": { dateformat: "%Y-%m-%d", hdrformat: "%Y %F" }};