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:03 UTC

[jira] [Created] (SLING-6428) DateFormat is printen when date-value is empty

Feike Visser created SLING-6428:
-----------------------------------

             Summary: DateFormat is printen 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)