diff --git a/mycode/main.py b/mycode/main.py index 7adf7d1..2c8a795 100644 --- a/mycode/main.py +++ b/mycode/main.py @@ -30,7 +30,7 @@ def trans_to_json(): def make_simple_csv_from_db(now: datetime): # 只查找当前月份更新的公众号数据 - now_month_str = now.strftime('%Y-%m-%d 00:00:00') + now_month_str = now.strftime('%Y-%m-01 00:00:00') conn = sqlite3.connect(os.path.join(BASE_DIR, 'db_folder/test.db')) query = f""" SELECT