Ver código fonte

节日提醒上线, 时间为 10:00, days count = 3

罗俊辉 1 ano atrás
pai
commit
bc0547b3d8
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/festival_reminder.py

+ 1 - 1
app/festival_reminder.py

@@ -362,7 +362,7 @@ class FestivalReminder(object):
         today = datetime.datetime.today()
         tomorrow = today + datetime.timedelta(days=1)
         tomorrow = tomorrow.strftime("%Y-%m-%d")
-        in_three_days = today + datetime.timedelta(days=2)
+        in_three_days = today + datetime.timedelta(days=3)
         in_three_days = in_three_days.strftime("%Y-%m-%d")
         if self.festival_dict[year].get(tomorrow):
             festival_list = self.festival_dict[year][tomorrow]