diff options
| author | Zack Hobson | 2009-07-30 10:23:41 -0700 |
|---|---|---|
| committer | Zack Hobson | 2009-07-30 10:23:41 -0700 |
| commit | 711945bc67f2787e2d2d06b75989eadb503ae810 (patch) | |
| tree | 225985fa11d88620a68112e3041f4370bc18d85a /lib/hcl.rb | |
| parent | d0b0483311a0838b92b9757ca1648e3410f2cb72 (diff) | |
| download | hcl-711945bc67f2787e2d2d06b75989eadb503ae810.tar.bz2 | |
Do not write empty task cache, this may affect #23.
Diffstat (limited to 'lib/hcl.rb')
| -rw-r--r-- | lib/hcl.rb | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 |
