This commit is contained in:
Matt Walsh
2026-04-05 23:58:50 -05:00
parent 778b7f4456
commit 9f6b90919c
16 changed files with 211 additions and 67 deletions

View File

@@ -238,7 +238,7 @@ const determineIcon = async (skyCover, weather, iceAccumulation, probabilityOfPr
};
// expand a set of values with durations to an hour-by-hour array
const expand = (data, maxHours = 36) => {
const expand = (data, maxHours = 48) => {
const startOfHour = DateTime.utc().startOf('hour').toMillis();
const result = []; // resulting expanded values
data.forEach((item) => {