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 %}