Times around one o'clock displayed correctly

This commit is contained in:
frubi 2019-02-27 19:50:32 +01:00
parent 3b1e94fe3b
commit 8c455fda26

View File

@ -105,10 +105,10 @@ function display_timestat(hours, minutes, longmode)
end end
if (hours == 1) then if (hours == 1) then
if ((ret.before == 1) or (ret.half == 1)) then if (ret.it == 1) then
ret.oneLong = 1
else
ret.one=1 ret.one=1
else
ret.oneLong=1
end end
elseif (hours == 2) then elseif (hours == 2) then
ret.two=1 ret.two=1