summaryrefslogtreecommitdiffstats
path: root/web/template/account_details.php
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-08-11 20:40:50 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2016-08-11 20:48:04 +0200
commit345c04f757a876bcc0b59134583953a698bbb9f2 (patch)
tree2a891384247b729864e72df088d887ab7480371e /web/template/account_details.php
parentf1a0f4a8f7549c6937663b19e176e662c715c38e (diff)
downloadaurweb-pu.tar.xz
Add details link from account edit formpu
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'web/template/account_details.php')
-rw-r--r--web/template/account_details.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/account_details.php b/web/template/account_details.php
index c34e65b..b79685b 100644
--- a/web/template/account_details.php
+++ b/web/template/account_details.php
@@ -61,7 +61,7 @@
</tr>
<tr>
<th><?= __("Registration date:") ?></th>
- <td><?= date("Y-m-d", $row["RegistrationTS"]) ?></td>
+ <td><?= (new DateTime($row["RegistrationTS"]))->format('Y-m-d') ?></td>
</tr>
<?php if (has_credential(CRED_ACCOUNT_LAST_LOGIN)): ?>
<tr>