show hours to the hundredth by default
This commit is contained in:
parent
06350823ea
commit
96e018e308
@ -124,9 +124,9 @@ class Window:
|
|||||||
self.project_hour_labels[p][day].set_text(hrs)
|
self.project_hour_labels[p][day].set_text(hrs)
|
||||||
|
|
||||||
def hoursFromSeconds(self, secs):
|
def hoursFromSeconds(self, secs):
|
||||||
if secs < 0.1 * 60 * 60:
|
if secs < 0.01 * 60 * 60:
|
||||||
secs = 0.1 * 60 * 60;
|
secs = 0.01 * 60 * 60;
|
||||||
return "%.1f" % (secs / 60.0 / 60.0)
|
return "%.2f" % (secs / 60.0 / 60.0)
|
||||||
|
|
||||||
def main(self):
|
def main(self):
|
||||||
self.window.show_all()
|
self.window.show_all()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user