mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-22 21:11:17 +00:00
Set temperature rounding.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<div class="large light">
|
||||
<span class="wi weathericon wi-{{current.weatherType}}"></span>
|
||||
<span class="bright"> {{current.temperature | round(1)}}°</span></div> <!-- should show in correct number of decimals -->
|
||||
<span class="bright"> {{current.temperature | round(0 if config.roundTemp else 1)}}°</span></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user