Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Scripting HTL Engine 1.0.52-1.3.1
-
None
-
None
Description
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
"Open from {hh} to {hh}"
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.
Attachments
Issue Links
- is related to
-
SLING-6399 Implement support for date and number formatting for HTL
- Closed