summaryrefslogtreecommitdiffstats
path: root/lib/hcl.rb
diff options
context:
space:
mode:
authorZack Hobson2009-07-30 10:23:41 -0700
committerZack Hobson2009-07-30 10:23:41 -0700
commit711945bc67f2787e2d2d06b75989eadb503ae810 (patch)
tree225985fa11d88620a68112e3041f4370bc18d85a /lib/hcl.rb
parentd0b0483311a0838b92b9757ca1648e3410f2cb72 (diff)
downloadhcl-711945bc67f2787e2d2d06b75989eadb503ae810.tar.bz2
Do not write empty task cache, this may affect #23.
Diffstat (limited to 'lib/hcl.rb')
-rw-r--r--lib/hcl.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/hcl.rb b/lib/hcl.rb
index 5237e2d..3231790 100644
--- a/lib/hcl.rb
+++ b/lib/hcl.rb
@@ -212,7 +212,6 @@ EOM
date = args.empty? ? nil : Chronic.parse(args.join(' '))
total_hours = 0.0
DayEntry.all(date).each do |day|
- # TODO more information and formatting options
running = day.running? ? '(running) ' : ''
puts "\t#{as_hours day.hours}\t#{running}#{day.project} #{day.notes}"[0..78]
total_hours = total_hours + day.hours.to_f