Hi,
We are using the Kendo grid for angular, we are having issue with the date format -
We have tried below 2 ways and neither works:
$scope.dbColumns = [
{"field": "date",
"sortable": true,
"title": "First date",
"template": "#= kendo.toString(dateFirst, '{0:dd-MMM-yyyy}') #"
},
{
"field": "dueSecond",
"sortable": true,
"title": "Second date",
"type": "date",
"fomrat":"{0:dd-MMM-yyyy}"
}];
Both cases we get the format as => 2014-05-30T11:13:51.6006636-04:00
We are using the Kendo grid for angular, we are having issue with the date format -
We have tried below 2 ways and neither works:
$scope.dbColumns = [
{"field": "date",
"sortable": true,
"title": "First date",
"template": "#= kendo.toString(dateFirst, '{0:dd-MMM-yyyy}') #"
},
{
"field": "dueSecond",
"sortable": true,
"title": "Second date",
"type": "date",
"fomrat":"{0:dd-MMM-yyyy}"
}];
Both cases we get the format as => 2014-05-30T11:13:51.6006636-04:00