Searched refs:diffForHumans (Results 1 – 7 of 7) sorted by relevance
/webtrees/tests/app/ |
H A D | TimestampTest.php | 42 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 D | Timestamp.php | 51 public function diffForHumans(): string function in Fisharebest\\Webtrees\\Timestamp 53 return $this->carbon->diffForHumans();
|
/webtrees/resources/views/components/ |
H A D | datetime-diff.phtml | 13 <?= e($timestamp->diffForHumans()) ?>
|
H A D | datetime.phtml | 18 <span class="wt-timestamp" title="<?= e($timestamp->diffForHumans()) ?>" dir="auto">
|
/webtrees/app/Contracts/ |
H A D | TimestampInterface.php | 37 public function diffForHumans(): string; function
|
/webtrees/resources/views/lists/ |
H A D | anniversaries-list.phtml | 53 … (<?= Registry::timestampFactory()->now()->subtractYears($fact->anniv)->diffForHumans() ?>)
|
/webtrees/resources/views/admin/ |
H A D | control-panel.phtml | 191 … 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()) ?>
|