Konrad Windszus created SLING-7558:
--------------------------------------

             Summary: Support multiple date formattings per string
                 Key: SLING-7558
                 URL: https://issues.apache.org/jira/browse/SLING-7558
             Project: Sling
          Issue Type: Improvement
          Components: Scripting
    Affects Versions: Scripting HTL Engine 1.0.52-1.3.1
            Reporter: Konrad Windszus


Currently only string formatting supports a placeholder pattern and can be 
easily combined with {{i18n}}. The same would be great to be able to use in one 
i18n string multiple dates. This is e.g. useful when you want to format opening 
hours.

There I would like to i18n the following string
{code}
"Open from {hh} to {hh}"
{code}
Unfortunately it is not possible to combine i18n with date formatting as the 
full string is always assumed to be the date format specified. A similar 
placeholder concept as for strings should be supported.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to