quivr/backend/utils/parse_message_time.py
Mamadou DICKO 9464707d40
feat: merge chat history with chat notifications (#1127)
* feat: add chat_id to upload and crawl payload

* feat(chat): return chat_history_with_notifications

* feat: explicit notification status on create

* feat: handle notifications in frontend

* feat: delete chat notifications on chat delete request
2023-09-07 17:23:31 +02:00

6 lines
145 B
Python

from datetime import datetime
def parse_message_time(message_time_str):
return datetime.strptime(message_time_str, "%Y-%m-%dT%H:%M:%S.%f")