mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
report intervals below collapse time like "<10m"
This commit is contained in:
parent
c371d318a2
commit
153c971db6
1 changed files with 4 additions and 1 deletions
|
@ -1119,7 +1119,10 @@ your short-term review workload will become."""))
|
||||||
ivl = self.nextIvl(card, ease)
|
ivl = self.nextIvl(card, ease)
|
||||||
if not ivl:
|
if not ivl:
|
||||||
return ""
|
return ""
|
||||||
return fmtTimeSpan(ivl, short=short)
|
s = fmtTimeSpan(ivl, short=short)
|
||||||
|
if ivl < self.col.conf['collapseTime']:
|
||||||
|
s = "<"+s
|
||||||
|
return s
|
||||||
|
|
||||||
def nextIvl(self, card, ease):
|
def nextIvl(self, card, ease):
|
||||||
"Return the next interval for CARD, in seconds."
|
"Return the next interval for CARD, in seconds."
|
||||||
|
|
Loading…
Reference in a new issue