]> git.mxchange.org Git - friendica.git/commitdiff
missing L10n::t for date string formatting
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 18 Feb 2018 08:56:27 +0000 (09:56 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 18 Feb 2018 08:56:27 +0000 (09:56 +0100)
mod/message.php

index bb32b5a72d5231c026a2f99477fdae8aa573e246..40f1dd08c0d9cdc2d598e40c93f637dc198d103e 100644 (file)
@@ -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']),
                        ];