[ 
https://issues.apache.org/jira/browse/SLING-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15814540#comment-15814540
 ] 

ASF GitHub Bot commented on SLING-6428:
---------------------------------------

Github user vladbailescu closed the pull request at:

    https://github.com/apache/sling/pull/197


> 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)

Reply via email to