finished message should use cutoff + 24hrs

This commit is contained in:
Damien Elmes 2010-11-14 08:16:07 +09:00
parent 6f8a5d6a24
commit 6d2e32e2df

View file

@ -1057,7 +1057,7 @@ where id = :id""", vals)
newCount = self.s.scalar("""
select count() from cards where relativeDelay = 2 and type != -1""")
newCardsTomorrow = min(newCount, self.newCardsPerDay)
cards = self.cardsDueBy(time.time() + 86400)
cards = self.cardsDueBy(self.dueCutoff + 86400)
msg = _('''\
<style>b { color: #00f; }</style>
At this time tomorrow:<br>