mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -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)
|
||||
if not ivl:
|
||||
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):
|
||||
"Return the next interval for CARD, in seconds."
|
||||
|
|
Loading…
Reference in a new issue