Hi All,
I have a function that grab the specific date format from a config file, but the code below output the wrong date format. Could anyone tell me what what I'm missing or did wrong?
columns:[
{ title: "Date", field: "tDate", width: 190, template: '#= kendo.toString(tDate, getMyFormattedDate()) #' }
];
result is always Tue Jul 28 2015 13:01:36 GMT-0600 (Mountain Daylight Time) and the format from getMyFormattedDate is set as 'MM-dd-yyyy'.
TIA