resources/views/components/datetime-diff.phtml
<?php
declare(strict_types=1);
use Fisharebest\Webtrees\Timestamp;
/**
* @var Timestamp $timestamp
*/
?>
<span class="wt-timestamp" title="<?= e($timestamp->isoFormat('LLLL')) ?>" dir="auto">
<?= e($timestamp->diffForHumans()) ?>
</span>