fix date mixup in timeline

This commit is contained in:
Torsten
2023-07-11 13:46:00 +03:00
parent 0cd973f6a6
commit 0c751e2a3e
2 changed files with 13 additions and 9 deletions

View File

@ -12,7 +12,7 @@
%td{colspan: 7 , class: bg_for(week + 2) }
= small_date(Date.today.at_beginning_of_month + week.weeks)
%tr
- weekly.each do |week , amount|
- weekly.each_with_index do |amount , week |
%td{colspan: 7, class: bg_for(week + 2) , style: "width: #{week_pixels}px;"}= amount
- @members.each_with_index do |member , index|