summaryrefslogtreecommitdiffstats
path: root/web/template/account_details.php
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-08-11 20:52:53 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2016-08-14 08:00:13 +0200
commit573e0c662bd5684b13cfc59eaa29db467831c078 (patch)
tree471f96ea286ffd18ab06e7716817aa2a59bcc55b /web/template/account_details.php
parentf3b65e59f7365ca4e8e9b8752d69ba08e94c4234 (diff)
downloadaur-573e0c662bd5684b13cfc59eaa29db467831c078.tar.gz
aur-573e0c662bd5684b13cfc59eaa29db467831c078.tar.xz
Display registration date on account details page
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template/account_details.php')
-rw-r--r--web/template/account_details.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/template/account_details.php b/web/template/account_details.php
index 8b763824..b79685be 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>