From af1b81097f73af197eb23a6d69dd5685a5d115b5 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 1 Oct 2024 11:55:30 +0100 Subject: [PATCH] datetime sources --- application/api/internal/routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/api/internal/routes.py b/application/api/internal/routes.py index c15012ef..6ecb4346 100755 --- a/application/api/internal/routes.py +++ b/application/api/internal/routes.py @@ -75,7 +75,7 @@ def upload_index_files(): "user": user, "name": job_name, "language": job_name, - "date": datetime.datetime.now().strftime("%d/%m/%Y %H:%M:%S"), + "date": datetime.datetime.now(), "model": settings.EMBEDDINGS_NAME, "type": type, "tokens": tokens, @@ -92,7 +92,7 @@ def upload_index_files(): "user": user, "name": job_name, "language": job_name, - "date": datetime.datetime.now().strftime("%d/%m/%Y %H:%M:%S"), + "date": datetime.datetime.now(), "model": settings.EMBEDDINGS_NAME, "type": type, "tokens": tokens,