limit to minutes, not hours

This commit is contained in:
Damien Elmes 2012-10-19 11:07:11 +09:00
parent 2582e70031
commit 95c40a4a56

View file

@ -157,7 +157,7 @@ where id > ?""", (self.mw.col.sched.dayCutoff-86400)*1000)
thetime = thetime or 0
msgp1 = ngettext("%d card", "%d cards", cards) % cards
buf = _("Studied %(a)s in %(b)s today.") % dict(a=msgp1,
b=fmtTimeSpan(thetime, unit=2))
b=fmtTimeSpan(thetime, unit=1))
return buf
def _renderDeckTree(self, nodes, depth=0):