fix: 公众号make_simple_csv_from_db取每月1号
This commit is contained in:
parent
3d3f2a971f
commit
c37e2f3d1f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue