Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vovkkk committed Jun 20, 2015
1 parent 45e0d55 commit 105c20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PlainTasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def calc_end_start_time(self, edit, line, started_matches, toggle_matches, done_
deltas = [pair[1] - pair[0] for pair in pairs]

delta = sum(deltas, timedelta())
if self.view.settings().get('decimal_timetrack', False):
if self.view.settings().get('decimal_minutes', False):
days = delta.days
delta = u'%s%s%s%.2f' % (days or '', ' day, ' if days == 1 else '', ' days, ' if days > 1 else '', delta.seconds/3600.0)
else:
Expand Down

0 comments on commit 105c20c

Please sign in to comment.