fix date mixup in timeline

This commit is contained in:
2023-07-11 13:46:58 +03:00
parent d29208ca83
commit c716122b9a
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|