mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-22 04:45:05 +00:00
Merge branch 'hotfix/3.30.13'
This commit is contained in:
commit
d19c8fe917
2 changed files with 9 additions and 3 deletions
|
@ -1,4 +1,10 @@
|
||||||
### 3.30.12 (2024-03-03 22:30:00 UTC)
|
### 3.30.13 (2024-03-03 23:30:00 UTC)
|
||||||
|
|
||||||
|
* Fix Shows/"Next Episode Cards" change to Trending
|
||||||
|
* Fix unnecessary conversion of datetime object into str and back
|
||||||
|
|
||||||
|
|
||||||
|
### 3.30.12 (2024-03-03 22:30:00 UTC)
|
||||||
|
|
||||||
* Fix menu Shows/"Next Episode Cards"
|
* Fix menu Shows/"Next Episode Cards"
|
||||||
|
|
||||||
|
|
|
@ -5187,7 +5187,7 @@ class AddShows(Home):
|
||||||
started_past = False
|
started_past = False
|
||||||
params = f'premiering_period={("1", "2")["2" in url_path]}&sort=2'
|
params = f'premiering_period={("1", "2")["2" in url_path]}&sort=2'
|
||||||
url_path = 'upcoming'
|
url_path = 'upcoming'
|
||||||
elif 'trending' in url_path:
|
elif 'trends' in url_path:
|
||||||
params = 'trending_within=2'
|
params = 'trending_within=2'
|
||||||
else:
|
else:
|
||||||
params = f'chart_type={("most_popular", "top_rated")["Top" in browse_title]}&premiered_within=2'
|
params = f'chart_type={("most_popular", "top_rated")["Top" in browse_title]}&premiered_within=2'
|
||||||
|
@ -5255,7 +5255,7 @@ class AddShows(Home):
|
||||||
age_args['days'] -= 1
|
age_args['days'] -= 1
|
||||||
dt += relativedelta(day=1)
|
dt += relativedelta(day=1)
|
||||||
dt += relativedelta(**age_args)
|
dt += relativedelta(**age_args)
|
||||||
date_info = SGDatetime.sbfdate(dt)
|
date_info = dt
|
||||||
|
|
||||||
ord_premiered = 0
|
ord_premiered = 0
|
||||||
str_premiered = ''
|
str_premiered = ''
|
||||||
|
|
Loading…
Reference in a new issue