You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Feike Visser (JIRA)" <ji...@apache.org> on 2016/12/22 11:01:58 UTC
[jira] [Commented] (SLING-6428) DateFormat is printed when
date-value is empty
[ https://issues.apache.org/jira/browse/SLING-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15769774#comment-15769774 ]
Feike Visser commented on SLING-6428:
-------------------------------------
FYI: [~vladb] [~gwalt]
> DateFormat is printed when date-value is empty
> ----------------------------------------------
>
> Key: SLING-6428
> URL: https://issues.apache.org/jira/browse/SLING-6428
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Reporter: Feike Visser
>
> When the format-value emtpy, the date-format is printed.
> Example
> {code}
> <div data-sly-use.date="java.util.Date">
> ${'yyyy-MM-dd' @ format=date1}
> </div>
> {code}
> In my view the date-format should not be printed, never.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)