Concat in Ternary Condition
Hi,
Is there a way to concat a var or a string in a ternary condition as shown below:
<sly>"${ properties.timezoneminute ? ":" ${properties.timezoneminute} : ":00"</sly>
Off course, this does not work. In the example, I want to show the timezone minutes if there is any chosen otherwise show just 00. EST+18:15, EST+19:00, etc... The "var" I am trying to concat is the Colon (":").
Thanks