From d18ec187847893f94418b29bc6a087d6b2dd9a2d Mon Sep 17 00:00:00 2001 From: winter Date: Fri, 7 Feb 2025 18:26:05 +0000 Subject: localise note timestamps and stuff --- routes/note_fragment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes/note_fragment.php') diff --git a/routes/note_fragment.php b/routes/note_fragment.php index be1c33f..916fc8d 100644 --- a/routes/note_fragment.php +++ b/routes/note_fragment.php @@ -101,7 +101,7 @@ Router::getInstance()->mount('/fragment/note', function (array $args) { $note = Note::create( $author->actor, trim($_POST['content']), - 'unk', + get_ui_language(), // TODO: actual language selector/detection $summary, NotePrivacyScope::from($_POST['scope']) ); -- cgit v1.3