diff --git a/medusa/show/coming_episodes.py b/medusa/show/coming_episodes.py index 80e528c399..a9a8248d7c 100644 --- a/medusa/show/coming_episodes.py +++ b/medusa/show/coming_episodes.py @@ -168,7 +168,8 @@ def get_coming_episodes(categories, sort, group, paused=app.COMING_EPS_DISPLAY_P result['qualityValue'] = result['quality'] result['quality'] = get_quality_string(result['quality']) result['airs'] = sbdatetime.sbftime(result['localtime'], t_preset=timeFormat).lstrip('0').replace(' 0', ' ') - result['weekday'] = 1 + date.fromordinal(result['airdate']).weekday() + # Monday - Sunday (0 - 6) + result['weekday'] = date.fromordinal(result['airdate']).weekday() result['tvdbid'] = result['indexer_id'] result['airdate'] = sbdatetime.sbfdate(result['localtime'], d_preset=dateFormat) result['localtime'] = result['localtime'].toordinal() diff --git a/themes-default/slim/src/components/history-compact.vue b/themes-default/slim/src/components/history-compact.vue index 80d2ca5029..4cb3956720 100644 --- a/themes-default/slim/src/components/history-compact.vue +++ b/themes-default/slim/src/components/history-compact.vue @@ -56,7 +56,7 @@ diff --git a/themes-default/slim/src/components/schedule/calendar.vue b/themes-default/slim/src/components/schedule/calendar.vue index efae3ef135..f40d89c219 100644 --- a/themes-default/slim/src/components/schedule/calendar.vue +++ b/themes-default/slim/src/components/schedule/calendar.vue @@ -4,7 +4,7 @@
{{day.header}}