Does canJS perform automatic conversion of dates on models? I have JSON coming from server that contains the "created" property:
"created": "2013-08-13T09:04:18Z"
can.Model seems to convert this into function. I can access all properties directly (model.name, model.status, ...), but created only by model.attr('created') which renders in template as @@!!@@ but on console I get the correct value 2013-08-13T09:04:18Z.
"created": "2013-08-13T09:04:18Z"
can.Model seems to convert this into function. I can access all properties directly (model.name, model.status, ...), but created only by model.attr('created') which renders in template as @@!!@@ but on console I get the correct value 2013-08-13T09:04:18Z.