utilities/backend
jtricerolph bed0b134dc Fix estimate silently dropping the gap between last reading and today
remainingDays was computed as days-from-today to period-end, while
actual-to-date consumption only ever reflects data up to the meter's
last real reading. With sparse readings the last reading sits days
before today, so that gap was counted in neither the actual nor the
projected total. Project from the last reading's date instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 14:04:49 +00:00
..
src Fix estimate silently dropping the gap between last reading and today 2026-07-28 14:04:49 +00:00
Dockerfile Initial commit — utilities app (meter readings, tariffs, cost tracking) 2026-07-26 17:33:42 +00:00
package.json Commit missing MQTT/history/scheduler files referenced by meters.js 2026-07-28 13:32:22 +00:00