Graph fixes

This commit is contained in:
2026-06-26 01:31:19 -04:00
parent 738f13e745
commit efd08cbabe
5 changed files with 15 additions and 8 deletions

View File

@@ -80,7 +80,7 @@ function absoluteHumidity(tempC, humidity) {
return Math.round((humidity / 100 * svp * 2165) / (tempC + 273.15) * 1000) / 1000
}
function uvLabel(uv) {
export function uvLabel(uv) {
if (uv < 3) return 'Low'
if (uv < 6) return 'Moderate'
if (uv < 8) return 'High'