- Issue created by @yabikami
I fixed this in my theme by creating the file "duration-field-duration-time.html.twig" in my custom themes template folder (/web/themes/custom/mytheme/templates/duration-field-duration-time.html.twig).
Use this content in your "duration-field-duration-time.html.twig" to only print hours when available:
{% if year or month or day %} {{ year }}/{{ month }}/{{day}} {% endif %} {% if hour or minute or second %} {% if hour > 0 %} {{ hour }}:{{ minute }}:{{ second }} {% else %} {{ minute }}:{{ second }} {% endif %} {% endif %}