timesheet 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/timesheet.rb +1 -1
- data/lib/timesheet/report_item.rb +4 -0
- metadata +1 -1
data/History.txt
CHANGED
data/lib/timesheet.rb
CHANGED
@@ -38,6 +38,10 @@ class ReportItem < DelegateClass(TimeEntry)
|
|
38
38
|
str << end_time.strftime("%I:%M %p")
|
39
39
|
end
|
40
40
|
|
41
|
+
def comment
|
42
|
+
@entry.comment || "N/A"
|
43
|
+
end
|
44
|
+
|
41
45
|
def formatted_duration
|
42
46
|
str = ""
|
43
47
|
str << @time_entry.duration.strftime("%d Days ") if @time_entry.duration.days > 0
|