wangkun 2 rokov pred
rodič
commit
7e225395d7

+ 1 - 1
xiaoniangao/xiaoniangao_hour/xiaoniangao_hour_scheduling.py

@@ -341,7 +341,7 @@ class XiaoniangaoHourScheduling:
                     "{publish_time_str}",
                     "{publish_time_str}",
                     {play_cnt},
                     {play_cnt},
                     {int(time.time())},
                     {int(time.time())},
-                    "{time.strftime("%Y-%y-%d %H:%M:%S", time.localtime(int(time.time())))}"
+                    "{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(int(time.time())))}"
                     )"""
                     )"""
                     Common.logger(log_type, crawler).info(f"insert_sql:{insert_sql}")
                     Common.logger(log_type, crawler).info(f"insert_sql:{insert_sql}")
                     MysqlHelper.update_values(log_type, crawler, insert_sql, env)
                     MysqlHelper.update_values(log_type, crawler, insert_sql, env)