liqian 1 ano atrás
pai
commit
940ad41da6
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      region_rule_rank_h.py

+ 1 - 1
region_rule_rank_h.py

@@ -1156,7 +1156,7 @@ def h_timer_check():
         project = config_.PROJECT_REGION_APP_TYPE
         table = config_.TABLE_REGION_APP_TYPE
         region_code_list = [code for region, code in region_code.items()]
-        now_date = datetime.datetime.today() - datetime.timedelta(hours=1)
+        now_date = datetime.datetime.today()
         log_.info(f"now_date: {datetime.datetime.strftime(now_date, '%Y%m%d%H')}, rule_rank_h_flag: {rule_rank_h_flag}")
         now_h = datetime.datetime.now().hour
         now_min = datetime.datetime.now().minute