Merge pull request #4469 from tobiasd/20180218-missingL10n
missing L10n::t for date string formatting
This commit is contained in:
commit
a920896fa5
|
@ -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']),
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue