From f859c3625005a451a4376b9a731dde47b269201a Mon Sep 17 00:00:00 2001
From: Jordan-Prescott <Jprescott23@gmail.com>
Date: Sat, 11 Nov 2023 12:34:18 +0000
Subject: [PATCH] time added for logs

---
 odin_api/utils/generators.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/odin_api/utils/generators.py b/odin_api/utils/generators.py
index d2de0e1..d0ae78d 100644
--- a/odin_api/utils/generators.py
+++ b/odin_api/utils/generators.py
@@ -1,5 +1,9 @@
+from datetime import datetime
 
 def generate_password(length=8):
     characters = string.ascii_letters + string.digits + string.punctuation
     password = ''.join(secrets.choice(characters) for _ in range(length))
-    return password
\ No newline at end of file
+    return password
+
+def generate_timestamp():
+    return datetime.now().strftime("%Y-%m-%d %H:%M:%S")
\ No newline at end of file