Skip to content

Commit

Permalink
correct field and add timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
rpnykanen committed Aug 31, 2023
1 parent 8c2b38e commit f4cf531
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{% endif %}

{% if content.close_at[0]['#context'].value is not empty %}
{% set card_unpublished_on = content.close_at[0]['#context'].value|date('j.n.Y') ~ ' ' ~ 'at'|t({}, {'context': 'Word in between hearing unpublished date and time'}) ~ ' ' ~ node.unpublish_on.value|date('H:i') %}
{% set card_unpublished_on = content.close_at[0]['#context'].value|date('j.n.Y') ~ ' ' ~ 'at'|t({}, {'context': 'Word in between hearing unpublished date and time'}) ~ ' ' ~ content.close_at[0]['#context'].value|date('H:i', 'Europe/Helsinki') %}
{% else %}
{% set card_unpublished_on = '-' %}
{% endif %}
Expand Down

0 comments on commit f4cf531

Please sign in to comment.