Merge pull request #286 from cobacdavid/gcw_first_col_fix
[github-contributions] bad day_idx init.
This commit is contained in:
commit
dcc48b857a
|
@ -78,8 +78,8 @@ local function worker(user_args)
|
|||
|
||||
local col = {layout = wibox.layout.fixed.vertical}
|
||||
local row = {layout = wibox.layout.fixed.horizontal}
|
||||
local day_idx = 5 - os.date('%w')
|
||||
for _ = 0, day_idx do
|
||||
local day_idx = 6 - os.date('%w')
|
||||
for _ = 1, day_idx do
|
||||
table.insert(col, get_square(color_of_empty_cells))
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue