From 59aed9533e1e2c6709d272ac250605badc5ad52e Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 18 Feb 2018 09:56:27 +0100 Subject: [PATCH] missing L10n::t for date string formatting --- mod/message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/message.php b/mod/message.php index bb32b5a72d..40f1dd08c0 100644 --- a/mod/message.php +++ b/mod/message.php @@ -396,7 +396,7 @@ function message_content(App $a) 'body' => $body_e, 'delete' => L10n::t('Delete message'), 'to_name' => $to_name_e, - 'date' => DateTimeFormat::local($message['created'], 'D, d M Y - g:i A'), + 'date' => DateTimeFormat::local($message['created'], L10n::t('D, d M Y - g:i A')), 'ago' => Temporal::getRelativeDate($message['created']), ];