quivr/backend/packages/utils/parse_message_time.py
Zineb El Bachiri 1f21c6d7f3
refactor: packages folder be 2 (#1628)
# Description

Move some folders to packages
Remove unused code
2023-11-14 14:31:02 +01: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")