diff --git a/assets/js/app.js b/assets/js/app.js index 8afc488..a83438e 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -1590,8 +1590,8 @@ export function UTCIForecast() { const hasFeltAnchor = glanceSummary.some(i => i.label === 'Peak felt temp'); const comfortItem = hasFeltAnchor ? glanceSummary.find(i => i.label === 'Comfortable window') : null; const drivingItem = hasFeltAnchor ? glanceSummary.find(i => i.label === 'Good driving time') : null; - const climateRows = glanceSummary.filter(i => i.label === '1991-2020 Average'); - const restSummary = glanceSummary.filter(i => i.label !== '1991-2020 Average' && !(hasFeltAnchor && (i.label === 'Comfortable window' || i.label === 'Good driving time'))); + const climateRows = glanceSummary.filter(i => i.label === 'Pre-2020 24h Average'); + const restSummary = glanceSummary.filter(i => i.label !== 'Pre-2020 24h Average' && !(hasFeltAnchor && (i.label === 'Comfortable window' || i.label === 'Good driving time'))); return [ ...restSummary.flatMap(item => [ renderRow(item), diff --git a/assets/js/compute.js b/assets/js/compute.js index 7059dc8..2a8e0fa 100644 --- a/assets/js/compute.js +++ b/assets/js/compute.js @@ -593,7 +593,7 @@ export function computeGlanceSummary(todayRows, profile, variant, skinType, cols } // Flagged off the high, matching the "5 degrees against the normal high" rule. const alert = (aHigh != null ? aHigh : aMean) >= 5; - return [{ icon: '🌡', label: '1991-2020 Average', value, sub, alert, grp: 'ambient' }]; + return [{ icon: '🌡', label: 'Pre-2020 24h Average', value, sub, alert, grp: 'ambient' }]; })(); // ── Good Driving Time ────────────────────────────────────────────────── @@ -1161,7 +1161,7 @@ export function computeBestDay(weekDays, nowLocalISO) { // A run spanning nearly all the daylight is better said than shown: printing // "6am - 9pm" makes the reader parse a time range to learn "all day". const window = c.daylight > 0 && c.len >= c.daylight - 1 - ? 'comfortable all day' + ? 'all day' : `${hh(c.from.iso)} – ${hh(endIso)}`; return {