Home
last modified time | relevance | path

Searched refs:diffForHumans (Results 1 – 7 of 7) sorted by relevance

/webtrees/tests/app/
H A DTimestampTest.php42 self::assertSame('5 years ago', $timestamp->subtractYears(5)->diffForHumans());
43 self::assertSame('5 months ago', $timestamp->subtractMonths(5)->diffForHumans());
44 self::assertSame('5 days ago', $timestamp->subtractDays(5)->diffForHumans());
45 self::assertSame('5 hours ago', $timestamp->subtractHours(5)->diffForHumans());
46 self::assertSame('5 minutes ago', $timestamp->subtractMinutes(5)->diffForHumans());
47 self::assertSame('5 seconds ago', $timestamp->subtractSeconds(5)->diffForHumans());
51 self::assertSame('il y a 5 ans', $timestamp->subtractYears(5)->diffForHumans());
52 self::assertSame('il y a 5 mois', $timestamp->subtractMonths(5)->diffForHumans());
53 self::assertSame('il y a 5 jours', $timestamp->subtractDays(5)->diffForHumans());
54 self::assertSame('il y a 5 heures', $timestamp->subtractHours(5)->diffForHumans());
[all …]
/webtrees/app/
H A DTimestamp.php51 public function diffForHumans(): string function in Fisharebest\\Webtrees\\Timestamp
53 return $this->carbon->diffForHumans();
/webtrees/resources/views/components/
H A Ddatetime-diff.phtml13 <?= e($timestamp->diffForHumans()) ?>
H A Ddatetime.phtml18 <span class="wt-timestamp" title="<?= e($timestamp->diffForHumans()) ?>" dir="auto">
/webtrees/app/Contracts/
H A DTimestampInterface.php37 public function diffForHumans(): string; function
/webtrees/resources/views/lists/
H A Danniversaries-list.phtml53 … (<?= Registry::timestampFactory()->now()->subtractYears($fact->anniv)->diffForHumans() ?>)
/webtrees/resources/views/admin/
H A Dcontrol-panel.phtml191 … X hours ago. */ I18N::translate('Last checked %s.', $latest_version_timestamp->diffForHumans()) ?>
211 … X hours ago. */ I18N::translate('Last checked %s.', $latest_version_timestamp->diffForHumans()) ?>