mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Fix time zones for now.
This commit is contained in:
parent
e53c2fac3d
commit
fef0e0678e
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class NewsManagerAI(DistributedObjectAI):
|
||||||
return self.activeHolidays
|
return self.activeHolidays
|
||||||
|
|
||||||
def __checkHolidays(self, task=None):
|
def __checkHolidays(self, task=None):
|
||||||
date = datetime.datetime.utcnow().replace(tzinfo=HolidayGlobals.TIME_ZONE)
|
date = datetime.datetime.now(HolidayGlobals.TIME_ZONE)
|
||||||
|
|
||||||
for id in HolidayGlobals.Holidays:
|
for id in HolidayGlobals.Holidays:
|
||||||
holiday = HolidayGlobals.Holidays[id]
|
holiday = HolidayGlobals.Holidays[id]
|
||||||
|
|
Loading…
Reference in a new issue