Added daytime property

This commit is contained in:
2026-06-24 15:51:46 -04:00
parent a5b4f7da45
commit 9e901f8266
3 changed files with 3 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ function dir(deg: number) {
<span>{{ ~~(d.temperature_max) + '°' || '—' }}</span>
<span class="day-low">{{ ~~(d.temperature_min) + '°' || '—' }}</span>
</div>
<div class="day-humid">🌡 {{ d.humidity || 0 }}%</div>
<div class="day-humid">🌡 {{ ~~(d.humidity) || 0 }}%</div>
<div class="day-wind">🍃 {{ ~~(d.wind_gusts as any) || 0 }} Kph ({{dir(d.wind_dir as any)}})</div>
<div class="day-rain">🌧 {{ d.precipitation_chance || 0 }}% ({{ (d.precipitation as any || 0).toFixed(1) }}mm)</div>
</div>