in ESP, <%= currentNode.x %> should output a javascript.compatible Date string ------------------------------------------------------------------------------
Key: SLING-454 URL: https://issues.apache.org/jira/browse/SLING-454 Project: Sling Issue Type: Bug Components: Scripting Reporter: Bertrand Delacretaz Priority: Minor For the autogenerated "created" field, for example, using <%= currentNode.created %> in an ESP script outputs an ugly toString() dump of the GregorianCalendar object that provides the data. This should rather be a string in the javascript Date.toString() format, which is like Mon Jun 25 2007 13:12:59 GMT+0200 which is what a JST script outputs for the above construct. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.