Fix extract questions prompt to use YYYY-MM-DD date filter format

This commit is contained in:
Debanjum Singh Solanky
2024-03-15 17:50:33 +05:30
parent bb2693c792
commit 9a068dadbf
3 changed files with 5 additions and 3 deletions

View File

@@ -46,7 +46,8 @@ def extract_questions(
last_new_year = current_new_year.replace(year=today.year - 1)
prompt = prompts.extract_questions.format(
current_date=today.strftime("%A, %Y-%m-%d"),
current_date=today.strftime("%Y-%m-%d"),
day_of_week=today.strftime("%A"),
last_new_year=last_new_year.strftime("%Y"),
last_new_year_date=last_new_year.strftime("%Y-%m-%d"),
current_new_year_date=current_new_year.strftime("%Y-%m-%d"),