{% if data is not none %} {% set style_variant = get_style_variant(schema.style, template_mode) %} {%- if style_variant == 'date' -%} {{ data.utc_datetime.split(' ')[0] | babel_format_date }} {%- elif style_variant == 'time' -%} {{ data.utc_datetime | babel_format_time }} {%- else -%} {{ data.utc_datetime | babel_format_datetime }} {%- endif -%} {% else %} — {% endif %}