diff --git a/widget/weather.lua b/widget/weather.lua index ff0499b0..b75afc85 100644 --- a/widget/weather.lua +++ b/widget/weather.lua @@ -122,7 +122,7 @@ local function factory(args) local utc_now = os.time(utc_d) local offdt = (loc_d.isdst and 1 or 0) * 3600 + 100 * (loc_d.min - utc_d.min) / 60 local offset = os.difftime(loc_now, utc_now) + offdt - local offday = (offset<0 and -86400) or 86400 + local offday = (offset < 0 and -86400) or 86400 if math.abs(loc_now - utc_now - offdt + loc_t) >= 86400 then utc_now = utc_now + offday @@ -146,6 +146,7 @@ local function factory(args) weather.icon_path = icons_path .. "na.png" weather.widget:set_markup(weather_na_markup) end + weather.icon:set_image(weather.icon_path) end) end diff --git a/wiki b/wiki index 1e250336..c221a272 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 1e2503366ea9ca31378bcb374e13f1bae5e4be94 +Subproject commit c221a2725d3968f85615328252b710fe0e60bd9e