mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
fix hour cutoff
This commit is contained in:
parent
da639c00a5
commit
8e1ed0dacd
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ def optimalPeriod(time, point, unit):
|
|||
if abs(time) < 60 or unit < 1:
|
||||
type = "seconds"
|
||||
point -= 1
|
||||
elif abs(time) < 3599 or unit < 2:
|
||||
elif abs(time) < 3600 or unit < 2:
|
||||
type = "minutes"
|
||||
elif abs(time) < 60 * 60 * 24 or unit < 3:
|
||||
type = "hours"
|
||||
|
|
Loading…
Reference in a new issue