summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/template/account_details.php2
-rw-r--r--web/template/account_edit_form.php1
2 files changed, 2 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>
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index 6c2b8fb..19821a0 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -1,6 +1,7 @@
<?php if ($A == "UpdateAccount"): ?>
<p>
<?= __('Click %shere%s if you want to permanently delete this account.', '<a href="' . get_user_uri($N) . 'delete/' . '">', '</a>') ?>
+ <?= __('Click %shere%s for user details.', '<a href="' . get_user_uri($N) . '">', '</a>') ?>
</p>
<form id="edit-profile-form" action="<?= get_user_uri($N) . 'update/'; ?>" method="post">