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