Update scheduler module
This commit is contained in:
1 parent
bb6e1e2909
commit
b8f78e311d
12 files changed
+215
-53
No files matched your search
@@ -85,7 +85,8 @@ class WeekField(BaseField):
|
||||
|
||||
|
||||
class DayOfMonthField(BaseField):
|
||||
COMPILERS = BaseField.COMPILERS + [WeekdayPositionExpression]
|
||||
COMPILERS = BaseField.COMPILERS + [WeekdayPositionExpression,
|
||||
LastDayOfMonthExpression]
|
||||
|
||||
def get_max(self, dateval):
|
||||
return monthrange(dateval.year, dateval.month)[1]
|
||||
|
||||
Reference in new issue
Block a user