[hamster-applet] duration is back again in minutes



commit 4da036d58141e1a86906d4d93aa712cf94d4a60e
Author: Toms Bauģis <toms baugis gmail com>
Date:   Tue Nov 16 00:07:02 2010 +0000

    duration is back again in minutes

 src/hamster/reports.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/hamster/reports.py b/src/hamster/reports.py
index 0ed13f6..68f64e7 100644
--- a/src/hamster/reports.py
+++ b/src/hamster/reports.py
@@ -145,6 +145,7 @@ class TSVWriter(ReportWriter):
         self.csv_writer.writerow([h.encode('utf-8') for h in headers])
 
     def _write_fact(self, file, fact):
+        fact.delta = stuff.duration_minutes(fact.delta)
         self.csv_writer.writerow([fact.activity,
                                   fact.start_time,
                                   fact.end_time,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]