1.6.3
Gusts in MPH and colour scaled
This commit is contained in:
@@ -112,8 +112,8 @@ export function checkStorm(rows) {
|
||||
emoji: '🌩️',
|
||||
title: isStorm ? 'Storm Conditions Forecast' : 'Blustery & Wet Today',
|
||||
message: isStorm
|
||||
? `Storm-level conditions expected — gusts to ${maxGust.toFixed(0)} m/s with heavy precipitation. Take care outdoors.`
|
||||
: `Unsettled day ahead — windy with gusts to ${maxGust.toFixed(0)} m/s and ${maxPrecip.toFixed(1)} mm/h rain at peak.`,
|
||||
? `Storm-level conditions expected — gusts to ${Math.round(maxGust * 2.237)} mph with heavy precipitation. Take care outdoors.`
|
||||
: `Unsettled day ahead — windy with gusts to ${Math.round(maxGust * 2.237)} mph and ${maxPrecip.toFixed(1)} mm/h rain at peak.`,
|
||||
color: '#1a2030',
|
||||
textColor: '#c0d8f0',
|
||||
type: 'weather',
|
||||
|
||||
Reference in New Issue
Block a user