6 Answers, 1 is accepted

Hi Lee,
The built-in date-formating functions in Kendo can parse andf format only standard JavaScript DateTime objects. Nevertheless, you can achieve the target result by implementing a custom categoryAxis.labels.template, formating the received string on your own with some simple client-side logic.
You can see a sample demonstrating a possible approach for such implementation here:
https://dojo.telerik.com/IVaSuXAc
Regards,
Vessy
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.

Hi Lee,
Have you tried moving the template function to a separate, not-copmiled js file (like the approach you have shared in your other thread)? If this is not possible, you can include the formatDate() fucntion logic directly inside the template of the labels:
http://dojo.telerik.com/EzAFuYUl
categoryAxis: {
labels: {
template: "#= kendo.format('{0}-{1}-{2}', value.substr(0, 4), value.substr(4, 2), value.substr(6, 2)) #"
},
}
Regards,
Vessy
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.

Hi,
You are welcome, Lee - i am glad the proposed solutions served their purposes.
Let us know whenever any further question about our widgets occurs.
Regards,
Vessy
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.