This commit is contained in:
Bruce Hill 2022-07-08 13:38:30 -04:00
parent f386f15847
commit 8feb35ed7d

View File

@ -127,11 +127,9 @@ end
local options = {} local options = {}
for i,place in ipairs(places) do for i,place in ipairs(places) do
if arg[1] then
if not matches_tags(place, arg) then if not matches_tags(place, arg) then
goto next_place goto next_place
end end
end
local today_times = nil local today_times = nil
for _,time in ipairs(place.times) do for _,time in ipairs(place.times) do
local from, to = get_weekday(time.from), get_weekday(time.to or time.from) local from, to = get_weekday(time.from), get_weekday(time.to or time.from)