Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> --- Apparently the RegistrationTS isn't actually a UNIX timestamp. It uses CURRENT_TIMESTAMP which is just an alias to NOW in MySQL, leading to a date in "Y-m-d H:M" format, so use DateTime to only print the date part. web/template/account_details.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/template/account_details.php b/web/template/account_details.php index 8b76382..b79685b 100644 --- a/web/template/account_details.php +++ b/web/template/account_details.php @@ -59,6 +59,10 @@ <?= $row["InactivityTS"] ? __("Inactive since") . ' ' . date("Y-m-d H:i", $row["InactivityTS"]) : __("Active"); ?> </td> </tr> + <tr> + <th><?= __("Registration date:") ?></th> + <td><?= (new DateTime($row["RegistrationTS"]))->format('Y-m-d') ?></td> + </tr> <?php if (has_credential(CRED_ACCOUNT_LAST_LOGIN)): ?> <tr> <th><?= __("Last Login") . ":" ?></th> -- 2.9.2