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,