Move title attribute to <time> tag

- Use correct machine-readable value in datetime attribute
This commit is contained in:
Hypolite Petovan 2021-11-21 22:51:21 -05:00
parent 53ca59d9b6
commit 23e1130264
11 changed files with 27 additions and 19 deletions

View file

@ -669,6 +669,7 @@ class Conversation
'folders' => $folders,
'text' => strip_tags($body_html),
'localtime' => DateTimeFormat::local($item['created'], 'r'),
'utc' => DateTimeFormat::utc($item['created'], 'c'),
'ago' => (($item['app']) ? $this->l10n->t('%s from %s', Temporal::getRelativeDate($item['created']), $item['app']) : Temporal::getRelativeDate($item['created'])),
'location_html' => $location_html,
'indent' => '',