Merge pull request #4469 from tobiasd/20180218-missingL10n

missing L10n::t for date string formatting
This commit is contained in:
Michael Vogel 2018-02-18 11:04:42 +01:00 committed by GitHub
commit a920896fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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']),
];