xref: /webtrees/resources/views/components/datetime-diff.phtml (revision 06fbdc2e642c2c12944f86e456d956ced5d5a6d9)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Timestamp;
6
7/**
8 * @var Timestamp $timestamp
9 */
10?>
11
12<span class="wt-timestamp" title="<?= e($timestamp->isoFormat('LLLL')) ?>" dir="auto">
13    <?= e($timestamp->diffForHumans()) ?>
14</span>
15