Date Formatting not working in Hassio

I used the follow piece of code in the non - hassio version of HA, and this worked fine, but in Hassio it does not…

timestamp_custom(’%-H:%M’)

its from the following - {{ as_timestamp(states.sun.sun.attributes.next_setting) | timestamp_custom(’%-H:%M’) }}

Any Ideals

Juts Fixed this myself … removed the - from the timestamp_custom(’%-H:%M’) and it works…

Couldn’t work out how to remove the post… but if anyone else has the same issue, here is the fix lol