mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
correctly determine period when relying on first day
This commit is contained in:
parent
6a93e69fee
commit
a4f644e780
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ group by day order by day""" % (self._limit(), lim),
|
|||
tot = totd[-1][1]
|
||||
period = self._periodDays()
|
||||
if not period:
|
||||
period = first
|
||||
period = self.deck.sched.today - first + 1
|
||||
i = []
|
||||
self._line(i, _("Days studied"),
|
||||
_("<b>%(pct)d%%</b> (%(x)s of %(y)s)") % dict(
|
||||
|
|
Loading…
Reference in a new issue