I'm pretty sure that is not correct ..only being able to use { } to display attribute values in a Custom Query.
I think you can also use Kendo UI Hash Template syntax itself to display attribute values, eg:
#= data["attribute_name"] #
If so, this means the output can be formatted. Perhaps something all together like:
#= kendo.toString(Date(data["attribute_name"]), "d") #
#= kendo.toString(kendo.parseDate(data["attribute_name"]), 'MM/dd/yyyy') #
refer:
http://docs.telerik.com/kendo-ui/framework/templates/overview#hash-literals
http://docs.telerik.com/kendo-ui/framework/globalization/dateformatting
The above is in case the following is wrong because I've misinterpreted your meaning:
You wrote:
"Somewhere the system is formatting the dates in dd-mm-yyyy format"
Don't you set the format in the Attribute settings of the Object? ..which then reflects in Custom Query output?