Fix unnecessary conversion of datetime object into str and back

This commit is contained in:
Prinz23 2024-03-04 00:14:48 +01:00 committed by JackDandy
parent 4f5fbbfea9
commit 3c639e972a
2 changed files with 8 additions and 2 deletions

View file

@ -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"

View file

@ -5255,7 +5255,7 @@ class AddShows(Home):
age_args['days'] -= 1
dt += relativedelta(day=1)
dt += relativedelta(**age_args)
date_info = SGDatetime.sbfdate(dt)
date_info = dt
ord_premiered = 0
str_premiered = ''