aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--locale/en_GB.json2
-rw-r--r--templates/actor/profile.php3
-rw-r--r--templates/actor/profile_editable.php2
3 files changed, 3 insertions, 4 deletions
diff --git a/locale/en_GB.json b/locale/en_GB.json
index 8c6c2a4..aecb6cd 100644
--- a/locale/en_GB.json
+++ b/locale/en_GB.json
@@ -3,7 +3,7 @@
"digitigrade": "Digitigrade",
"version": "Digitigrade @ %s",
"action.share": "Share",
- "user.profile.createdAt": "Joined on %s",
+ "user.profile.createdAt": "Joined %s",
"user.profile.openRemote": "Open remote profile page",
"user.profile.bio.placeholder": "This user hasn't written a bio yet.",
"user.profile.follow.action": "Follow",
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">
diff --git a/templates/actor/profile_editable.php b/templates/actor/profile_editable.php
index f4318fd..f6a0fc4 100644
--- a/templates/actor/profile_editable.php
+++ b/templates/actor/profile_editable.php
@@ -16,7 +16,7 @@
</div>
</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>