mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Remove every.weeks reference: not available in relativedelta
This commit is contained in:
parent
e14c930a74
commit
49798ee301
@ -1677,9 +1677,6 @@ class FileTestCase(TestCase):
|
||||
ts = datetime(starting.year, 1, 1)
|
||||
elif every.months:
|
||||
ts = datetime(starting.year, starting.month, 1)
|
||||
elif every.weeks:
|
||||
# This breaks if the start of the week is in a previous month.
|
||||
ts = datetime(starting.year, starting.month, starting.day - starting.weekday())
|
||||
elif every.days:
|
||||
ts = datetime(starting.year, starting.month, starting.day)
|
||||
elif every.hours:
|
||||
|
Loading…
Reference in New Issue
Block a user