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