mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Patch apscheduler weekday (Sunday=0)
This commit is contained in:
parent
0057481efb
commit
28efaf73c7
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class DayOfWeekField(BaseField):
|
||||||
COMPILERS = BaseField.COMPILERS + [WeekdayRangeExpression]
|
COMPILERS = BaseField.COMPILERS + [WeekdayRangeExpression]
|
||||||
|
|
||||||
def get_value(self, dateval):
|
def get_value(self, dateval):
|
||||||
return dateval.isoweekday()
|
return dateval.isoweekday() % 7
|
||||||
|
|
||||||
|
|
||||||
class MonthField(BaseField):
|
class MonthField(BaseField):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue