mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 23:42:37 -07:00
Patch apscheduler to use datetime.isoweekday()
This commit is contained in:
parent
8e13bf4f93
commit
2a24ea4cdf
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.weekday()
|
return dateval.isoweekday()
|
||||||
|
|
||||||
|
|
||||||
class MonthField(BaseField):
|
class MonthField(BaseField):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue