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
if (hours == 1) then
if ((ret.before == 1) or (ret.half == 1)) then
ret.oneLong = 1
else
if (ret.it == 1) then
ret.one=1
else
ret.oneLong=1
end
elseif (hours == 2) then
ret.two=1