lib/timetrap/formatters/text.rb in timetrap-1.2.1 vs lib/timetrap/formatters/text.rb in timetrap-1.3.0
- old
+ new
@@ -27,10 +27,10 @@
format_time(e.end),
format_duration(e.start, e_end),
e.note
]
- nxt = sheets[sheet].map[i+1]
+ nxt = sheets[sheet].to_a[i+1]
if nxt == nil or !same_day?(e.start, nxt.start)
self.output << "%52s\n" % format_total(from_current_day)
from_current_day = []
else
end