change date condition
This commit is contained in:
parent
36bce348c3
commit
7911359d82
@ -651,7 +651,7 @@ def get_date(seek_day):
|
||||
return (d - timedelta(1)).strftime('%Y-%m-%d')
|
||||
else:
|
||||
if _playlist.start == 0 and \
|
||||
math.isclose(get_time('full_sec'), 86400.0, abs_tol=4):
|
||||
4 > 86400.0 - get_time('full_sec') > 0:
|
||||
return (d + timedelta(1)).strftime('%Y-%m-%d')
|
||||
|
||||
return d.strftime('%Y-%m-%d')
|
||||
|
Loading…
x
Reference in New Issue
Block a user