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

@ -87,6 +87,8 @@ class AppSpecificPassword
array_walk($appSpecificPasswords, function (&$value) {
$value['ago'] = Temporal::getRelativeDate($value['last_used']);
$value['utc'] = DateTimeFormat::utc($value['last_used'], 'c');
$value['local'] = DateTimeFormat::local($value['last_used'], 'r');
});
return $appSpecificPasswords;