diff options
| author | winter | 2025-03-30 20:27:05 +0100 |
|---|---|---|
| committer | winter | 2025-03-30 20:57:47 +0100 |
| commit | 065695cc2d4471b212124cf878fd74b21a302002 (patch) | |
| tree | 7937501963a2d139d5deaaf1bd378d27660fbc33 /templates/actor/profile.php | |
| parent | 4be2f6b4edfe659c0460f7a45838f6dbf1c903b4 (diff) | |
use date format in actor profile
Diffstat (limited to 'templates/actor/profile.php')
| -rw-r--r-- | templates/actor/profile.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/actor/profile.php b/templates/actor/profile.php index 8339fa2..3165586 100644 --- a/templates/actor/profile.php +++ b/templates/actor/profile.php @@ -22,8 +22,7 @@ $actorUser = UserAccount::findByLinkedActor($actor); <div class="displayName"><?= htmlspecialchars($actor->displayName) ?></div> <div class="pronouns"><?= htmlspecialchars($actor->pronouns) ?></div> <div class="handle">@<?= $actor->getFullHandle() ?></div> - <div class="joinedDate"><?= sprintf(__('user.profile.createdAt'), $actor->created->format('Y-m-d')) ?> - </div> + <div class="joinedDate"><?= sprintf(__('user.profile.createdAt'), format_datetime($actor->created)) ?></div> </div> <div class="profileMiniActions"> |
