Less precision for distances

This commit is contained in:
Edward Betts 2024-04-05 15:10:43 +01:00
parent 48549ce009
commit b5c1e16901

View file

@ -135,7 +135,7 @@
</div>
<div class="grid-item text-end">
{% if item.distance %}
{{ "{:.1f} km / {:.1f} miles".format(item.distance, item.distance / 1.60934) }}
{{ "{:,.0f} km / {:,.0f} miles".format(item.distance, item.distance / 1.60934) }}
{% endif %}
</div>
{% endmacro %}