From 8232943621a5b80fb0ca0e4c75037b5de79f8760 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 31 Dec 2022 14:35:52 +1100 Subject: [PATCH] added internal/git-log.txt to .gitignore if there in DEV for testing. Removed timezone from Date in About, and redid columns to 3 and 9 for better spacing in About --- .gitignore | 1 + main.py | 2 +- templates/about.html | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 868cbe0..ff82ebb 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ DB_BACKUP/ new_img_dir/ static/ internal/upstream +internal/git-log.txt .pa_metadata diff --git a/main.py b/main.py index 3c89cc8..b39abda 100644 --- a/main.py +++ b/main.py @@ -152,7 +152,7 @@ def about(): if can_add: commits.append(o) o={} - o['date']=l.replace("Date: ", "") + o['date']=l.replace("Date: ", "").split("+")[0] o['str']='' can_add=True else: diff --git a/templates/about.html b/templates/about.html index d4f861a..2cf52de 100644 --- a/templates/about.html +++ b/templates/about.html @@ -37,8 +37,8 @@ {% for c in commits %}
-
{{c.date}}
-
{{c.str}}
+
{{c.date}}
+
{{c.str}}
{% endfor %}