diff --git a/anki/stats.py b/anki/stats.py index adf2ce1a5..db7b1a71b 100644 --- a/anki/stats.py +++ b/anki/stats.py @@ -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"), _("%(pct)d%% (%(x)s of %(y)s)") % dict(