From e4da70e94242a077996140f86618c39014ef145a Mon Sep 17 00:00:00 2001 From: florianuhlig Date: Sat, 4 Oct 2025 23:36:00 +0200 Subject: [PATCH] Added new Templates: profile.html Changed: requirements.txt and .gitignore --- .gitignore | 1 + frontend/templates/profile.html | 4 ++-- requirements.txt | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d4e940c..e5616be 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,6 @@ /.idea/ testing.py /databases/ +.venv .env \ No newline at end of file diff --git a/frontend/templates/profile.html b/frontend/templates/profile.html index 9d1aa2b..9d45f36 100644 --- a/frontend/templates/profile.html +++ b/frontend/templates/profile.html @@ -140,8 +140,8 @@

Account Status

Status: Active

-

Created: {{ user.created_at[:19] if user.created_at else 'Unknown' }}

-

Last Updated: {{ user.updated_at[:19] if user.updated_at else 'Unknown' }}

+

Created: {{ user.created_at.strftime('%Y-%m-%d %H:%M:%S') if user.created_at else 'Unknown' }}

+

Last Updated: {{ user.updated_at.strftime('%Y-%m-%d %H:%M:%S') if user.updated_at else 'Unknown' }}

diff --git a/requirements.txt b/requirements.txt index 7e10602..5a4a2b9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ flask +python-dotenv \ No newline at end of file