You are here

duration-field-duration-time.html.twig in Duration Field 3.0.x

Same filename and directory in other branches
  1. 8.2 templates/duration-field-duration-time.html.twig
{% if year or month or day %}
{{ year }}/{{ month }}/{{day}}
{% endif %}

{% if hour or minute or second %}
{{ hour }}:{{ minute }}:{{second}}
{% endif %}

File

templates/duration-field-duration-time.html.twig
View source
  1. {% if year or month or day %}
  2. {{ year }}/{{ month }}/{{day}}
  3. {% endif %}
  4. {% if hour or minute or second %}
  5. {{ hour }}:{{ minute }}:{{second}}
  6. {% endif %}