You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2017/01/10 10:51:58 UTC
[jira] [Resolved] (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:all-tabpanel ]
Radu Cotescu resolved SLING-6428.
---------------------------------
Resolution: Fixed
Applied [~vladb]'s patch in [r1778098|https://svn.apache.org/r1778098].
> 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
> Affects Versions: Scripting HTL Engine 1.0.28, Scripting HTL Java Compiler 1.0.6
> Reporter: Feike Visser
> Assignee: Radu Cotescu
> Fix For: Scripting HTL Engine 1.0.30, Scripting HTL Java Compiler 1.0.8
>
>
> 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)