mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
limit to minutes, not hours
This commit is contained in:
parent
2582e70031
commit
95c40a4a56
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ where id > ?""", (self.mw.col.sched.dayCutoff-86400)*1000)
|
||||||
thetime = thetime or 0
|
thetime = thetime or 0
|
||||||
msgp1 = ngettext("%d card", "%d cards", cards) % cards
|
msgp1 = ngettext("%d card", "%d cards", cards) % cards
|
||||||
buf = _("Studied %(a)s in %(b)s today.") % dict(a=msgp1,
|
buf = _("Studied %(a)s in %(b)s today.") % dict(a=msgp1,
|
||||||
b=fmtTimeSpan(thetime, unit=2))
|
b=fmtTimeSpan(thetime, unit=1))
|
||||||
return buf
|
return buf
|
||||||
|
|
||||||
def _renderDeckTree(self, nodes, depth=0):
|
def _renderDeckTree(self, nodes, depth=0):
|
||||||
|
|
Loading…
Reference in a new issue