diff --git a/weather@mockturtl/src/3_8/utils.ts b/weather@mockturtl/src/3_8/utils.ts index 75b9fa127b5..5d1c38b7916 100644 --- a/weather@mockturtl/src/3_8/utils.ts +++ b/weather@mockturtl/src/3_8/utils.ts @@ -105,7 +105,7 @@ export function InjectValues(text: string, weather: WeatherData, config: Config, const tempMinTomorrow = tmr ? TempToUserConfig(tmr.temp_min, config, false) ?? "" : ""; const tempMaxTomorrow = tmr ? TempToUserConfig(tmr.temp_max, config, false) ?? "" : ""; const tempsTomorrow = tmr ? TempRangeToUserConfig(tmr.temp_min, tmr.temp_max, config) : ""; - const tmrMinTempChange = tempMinTomorrow && tempMax ? SignedNumber(Number(tempMaxTomorrow) - Number(tempMax)) ?? "" : ""; + const tmrMinTempChange = tempMinTomorrow && tempMax ? SignedNumber(Number(tempMinTomorrow) - Number(tempMax)) ?? "" : ""; const tmrMaxTempChange = tempMaxTomorrow && temp ? SignedNumber(Number(tempMaxTomorrow) - Number(tempMax)) ?? "" : ""; const tempsTomorrowWithDifferences = tmr ? `${tempsTomorrow} (${tmrMinTempChange} / ${tmrMaxTempChange})` : "";