aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/note.php
diff options
context:
space:
mode:
authorwinter2024-12-24 17:46:51 +0000
committerwinter2024-12-24 17:46:51 +0000
commit721674973ca0a4d98cd081e9ff130c3356ddac03 (patch)
tree5caa082baa4f23bd8a88f4f268fea6d9233f6553 /templates/note.php
parentd5a57276eb27e215dd0b1bd5eb67ac26acc9575b (diff)
implement ui translations using gettext
this was horrible i don't like gettext anymore
Diffstat (limited to 'templates/note.php')
-rw-r--r--templates/note.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/note.php b/templates/note.php
index 8887afb..83770aa 100644
--- a/templates/note.php
+++ b/templates/note.php
@@ -7,7 +7,7 @@
<span class="authorName"><?= $note->author->displayName ?></span>
<span class="authorHandle">@<?= $note->author->getFullHandle() ?></span>
<a class="timestamp" href="/@/<?= $note->author->getFullHandle() ?>/note/<?= $note->id ?>">
- <?=
+ <?= // TODO: localise
$note->created->format('Y-m-d \a\t H:i')
. (isset($note->modified) && $note->modified != $note->created
? ' (edited ' . $note->modified->format('Y-m-d \a\t H:i') . ')'