Account for overtime in sports reports
This commit is contained in:
@@ -32,9 +32,11 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
{% if ' - ' in game_clock %}
|
{% if ' - ' in game_clock %}
|
||||||
{% set clock_time, quarter = game_clock.split(' - ') %}
|
{% set clock_time, quarter = game_clock.split(' - ') %}
|
||||||
with {{ clock_time ~ ' remaining in the ' ~ quarter ~ ' ' ~ period_str }}
|
{% if quarter == 'ot' %}
|
||||||
|
with {{ clock_time ~ ' remaining in overtime' }}
|
||||||
{% else %}
|
{% else %}
|
||||||
with {{ game_clock ~ ' remaining in the ' ~ period_str }}
|
with {{ clock_time ~ ' remaining in the ' ~ quarter ~ ' ' ~ period_str }}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|||||||
Reference in New Issue
Block a user