Scheduling - Fix today's date
This commit is contained in:
parent
ecbb19563a
commit
54ccc36a4a
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ class OrderScheduler():
|
||||||
|
|
||||||
# Skip stored dates
|
# Skip stored dates
|
||||||
d = Database()
|
d = Database()
|
||||||
today = datetime.datetime.now(tz=self.tz).strftime("%Y-%d-%m")
|
today = datetime.datetime.now(tz=self.tz).strftime("%Y-%m-%d")
|
||||||
logger.info('Today %s' % today)
|
logger.info('Today %s' % today)
|
||||||
if (d.skip_day_contains(today)):
|
if (d.skip_day_contains(today)):
|
||||||
logger.info('Today is a skip day')
|
logger.info('Today is a skip day')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue