This commit is contained in:
Damien Elmes 2011-04-19 13:27:56 +09:00
parent 998ce99980
commit 157801621c

View file

@ -787,7 +787,9 @@ class Browser(QMainWindow):
tstr = fmt % ("#000", tstr) tstr = fmt % ("#000", tstr)
if ease == 1: if ease == 1:
ease = fmt % (st.colRelearn, ease) ease = fmt % (st.colRelearn, ease)
if ivl >= 0: if ivl == 0:
ivl = _("0d")
elif ivl > 0:
ivl = fmtTimeSpan(ivl*86400, short=True) ivl = fmtTimeSpan(ivl*86400, short=True)
else: else:
ivl = self.cardStats.time(-ivl) ivl = self.cardStats.time(-ivl)