show 48 hour history on weather page

This commit is contained in:
Graham McIntire 2025-07-08 13:25:29 -05:00
parent 7168448a38
commit 9a39c783fa
No known key found for this signature in database

View file

@ -233,7 +233,7 @@ defmodule AprsmeWeb.WeatherLive.CallsignView do
defp default_time_range do
now = DateTime.utc_now()
{DateTime.add(now, -24 * 3600, :second), now}
{DateTime.add(now, -48 * 3600, :second), now}
end
defp calc_dew_point(temp, humidity) when is_number(temp) and is_number(humidity) do