Hi
I am using kendo to export div into pdf
Below is the code
var draw = kendo.drawing;
draw.drawDOM($("#divexport"))
.then(function (root) {
return draw.exportPDF(root, {
pdf: {
date:new Date("MM/dd/yyy")
},
timezone: "Etc/UTC"
});
})
.done(function (data) {
kendo.saveAs({
dataURI: data,
fileName: fileName,
proxyURL: "api/Value/Post/",
forceProxy: true
});
Everything is working properly, however i want all the date control in "MM/dd/yyyy" format but it giving me date yyyy/mm/dd which is default input type date format..