[hamster-applet/gnome-2-32] duration is back again in minutes



commit 8b23b0a22eb0313207dbebe1093ec5931c18f646
Author: Toms Bauģis <toms baugis gmail com>
Date:   Mon Nov 15 23:56:58 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 129aefa..ef6f00d 100644
--- a/src/hamster/reports.py
+++ b/src/hamster/reports.py
@@ -133,6 +133,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[key] for key in ["name", "start_time",
                                "end_time", "delta", "category", "description",
                                "tags"]])



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