diff --git a/Window.py b/Window.py index 82fb8c3..1fc9a7c 100644 --- a/Window.py +++ b/Window.py @@ -124,9 +124,9 @@ class Window: self.project_hour_labels[p][day].set_text(hrs) def hoursFromSeconds(self, secs): - if secs < 0.1 * 60 * 60: - secs = 0.1 * 60 * 60; - return "%.1f" % (secs / 60.0 / 60.0) + if secs < 0.01 * 60 * 60: + secs = 0.01 * 60 * 60; + return "%.2f" % (secs / 60.0 / 60.0) def main(self): self.window.show_all()