From fef0e0678ed841d3c4ebaa07dac9b93181675059 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 22 Aug 2015 02:25:00 -0400 Subject: [PATCH] Fix time zones for now. --- toontown/ai/NewsManagerAI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toontown/ai/NewsManagerAI.py b/toontown/ai/NewsManagerAI.py index f55a8eaf..f4f97419 100755 --- a/toontown/ai/NewsManagerAI.py +++ b/toontown/ai/NewsManagerAI.py @@ -47,7 +47,7 @@ class NewsManagerAI(DistributedObjectAI): return self.activeHolidays 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: holiday = HolidayGlobals.Holidays[id]