diff options
author | streetturtle <streetturtle@users.noreply.github.com> | 2021-06-28 15:00:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-28 15:00:50 -0400 |
commit | a808ead3c74d57a7ccdb7f9e55cfa10a136d488c (patch) | |
tree | 2587657dcc8d9e4ce6bc4f924fcd008de4e3c3c6 | |
parent | 1b7909485eb5751d88402d8216fdb9ccee74884b (diff) | |
parent | 7bb5c8cdfa8bd8cbf888e2be3cae542cf3d62b51 (diff) |
Merge pull request #280 from LordDot/master
Fix #279 Calendar uses year for today
-rw-r--r-- | calendar-widget/calendar.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar-widget/calendar.lua b/calendar-widget/calendar.lua index b39b563..81c28a9 100644 --- a/calendar-widget/calendar.lua +++ b/calendar-widget/calendar.lua @@ -142,7 +142,7 @@ local function worker(user_args) -- highlight only today's day if flag == 'focus' then local today = os.date('*t') - if today.month ~= date.month then + if not (today.month == date.month and today.year == date.year) then flag = 'normal' end end |