diff --git a/dags/hivemind_etl_helpers/src/db/telegram/transform/summary.py b/dags/hivemind_etl_helpers/src/db/telegram/transform/summary.py index 89865541..52f62241 100644 --- a/dags/hivemind_etl_helpers/src/db/telegram/transform/summary.py +++ b/dags/hivemind_etl_helpers/src/db/telegram/transform/summary.py @@ -32,9 +32,7 @@ def transform(self, summaries: dict[date, str]) -> list[Document]: + (day + timedelta(days=1)).strftime("%Y-%m-%d"), text=summary, metadata={ - "date": datetime.combine( - day, datetime.min.time(), tzinfo=timezone.utc - ).timestamp(), + "date": day.strftime("%Y-%m-%d"), }, ) summary_docs.append(document)