[
https://issues.apache.org/jira/browse/SLING-454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz closed SLING-454.
-------------------------------------
Resolution: Fixed
Assignee: Bertrand Delacretaz
Implemented in revision 656687, the autogenerated "created" property, for
example, is now output like:
created = Thu May 15 2008 11:47:56 GMT+0200
> 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
> Assignee: 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.