summaryrefslogtreecommitdiffstats
path: root/web/template/account_details.php
diff options
context:
space:
mode:
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>