From 8c455fda263c443d241dab35be856c1dba84718b Mon Sep 17 00:00:00 2001 From: frubi Date: Wed, 27 Feb 2019 19:50:32 +0100 Subject: [PATCH] Times around one o'clock displayed correctly --- wordclock.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wordclock.lua b/wordclock.lua index 37c9d5c..c537ad1 100755 --- a/wordclock.lua +++ b/wordclock.lua @@ -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