From 8310357029e03d286ad2b44ce6005487ab5d60c1 Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Fri, 4 Feb 2022 15:49:45 -0800 Subject: [PATCH 1/2] fix: only display registration time when RegistrationTS is valid Signed-off-by: Kevin Morris --- templates/account/show.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/account/show.html b/templates/account/show.html index 26cfbc21..34549ff0 100644 --- a/templates/account/show.html +++ b/templates/account/show.html @@ -62,12 +62,14 @@ {% endif %} + {% if user.RegistrationTS %} {% trans %}Registration date{% endtrans %}: {{ user.RegistrationTS.strftime("%Y-%m-%d") }} + {% endif %} {% if login_ts %} {% trans %}Last Login{% endtrans %}: From 164037da436dee9ba9512046c3680f0a45ed5b1a Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Fri, 4 Feb 2022 15:55:33 -0800 Subject: [PATCH 2/2] upgrade: bump to v6.0.5 Signed-off-by: Kevin Morris --- aurweb/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurweb/config.py b/aurweb/config.py index e8f22ce3..6cf0b0ef 100644 --- a/aurweb/config.py +++ b/aurweb/config.py @@ -6,7 +6,7 @@ from typing import Any # Publicly visible version of aurweb. This is used to display # aurweb versioning in the footer and must be maintained. # Todo: Make this dynamic/automated. -AURWEB_VERSION = "v6.0.4" +AURWEB_VERSION = "v6.0.5" _parser = None