You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Lars Trieloff (JIRA)" <ji...@apache.org> on 2009/06/19 17:02:07 UTC
[jira] Created: (SLING-1015) Make Date Handling more convenient
Make Date Handling more convenient
----------------------------------
Key: SLING-1015
URL: https://issues.apache.org/jira/browse/SLING-1015
Project: Sling
Issue Type: Improvement
Components: Scripting JSP
Reporter: Lars Trieloff
Priority: Minor
The JSP Atom taglib expects dates to be specified as java.util.Date - it would be convenient, if the taglib would also allow specification as String, Calendar or long. If the date is specified as String two options would be helpful: SimpleDateFormat and "auto", which would take in the case of the feed the minimum updated Date of all entries and in the case of an Entry the current date.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1015) Make Date Handling more convenient
Posted by "Lars Trieloff (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Trieloff resolved SLING-1015.
----------------------------------
Resolution: Invalid
a JSP attribute can only have one type, so having updated as long, String and Date will not work without touching the PropertyEditorManager, which operates VM-wide.
> Make Date Handling more convenient
> ----------------------------------
>
> Key: SLING-1015
> URL: https://issues.apache.org/jira/browse/SLING-1015
> Project: Sling
> Issue Type: Improvement
> Components: Scripting JSP
> Reporter: Lars Trieloff
> Priority: Minor
>
> The JSP Atom taglib expects dates to be specified as java.util.Date - it would be convenient, if the taglib would also allow specification as String, Calendar or long. If the date is specified as String two options would be helpful: SimpleDateFormat and "auto", which would take in the case of the feed the minimum updated Date of all entries and in the case of an Entry the current date.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.