mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
fix display of 1+ day intervals in review history
https://anki.tenderapp.com/discussions/ankidesktop/39189-interval-field-of-card-info-display-wrong-unit
This commit is contained in:
parent
32b38bf26d
commit
fd835d9b64
1 changed files with 2 additions and 0 deletions
|
@ -1494,6 +1494,8 @@ border: 1px solid #000; padding: 3px; '>%s</div>"""
|
|||
if ivl == 0:
|
||||
ivl = ""
|
||||
else:
|
||||
if ivl > 0:
|
||||
ivl *= 86_400
|
||||
ivl = cs.time(abs(ivl))
|
||||
s += "<td align=right>%s</td>" % tstr
|
||||
s += "<td align=center>%s</td>" % ease
|
||||
|
|
Loading…
Reference in a new issue