Skip to content

Commit dddc999

Browse files
authored
Merge pull request #178 from Intelligent-Advisor-Sem-4/main
Update updated_at field in news sentiment to use ISO 8601 format
2 parents 8b9d371 + da3a8f8 commit dddc999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/risk_analysis/news_sentiment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def generate_news_sentiment(self, articles: List[NewsArticle], use_llm: bool = T
6666
"risk_rationale": ["No recent news available for analysis."],
6767
"news_highlights": [],
6868
"risk_score": 0,
69-
"updated_at": datetime.now(),
69+
"updated_at": datetime.now().isoformat(),
7070
}
7171

7272
if not articles:

0 commit comments

Comments
 (0)