/webtrees/app/Statistics/Repository/ |
H A D | ServerRepository.php | 39 return Registry::timestampFactory()->now(new SiteUser())->format($format); 49 return Registry::timestampFactory()->now(new SiteUser())->format($format); 57 return Registry::timestampFactory()->now(new SiteUser())->format('G:i'); 65 return Registry::timestampFactory()->now(new SiteUser())->format('T');
|
H A D | BrowserRepository.php | 38 return Registry::timestampFactory()->now()->format($format); 48 return Registry::timestampFactory()->now()->format($format); 56 return Registry::timestampFactory()->now()->format('T');
|
H A D | GedcomRepository.php | 148 … return Registry::timestampFactory()->fromString($fact->value(), 'j M Y')->isoFormat('LL'); 174 return Registry::timestampFactory()->fromString($row->change_time)->isoFormat('LL');
|
H A D | LatestUserRepository.php | 119 return Registry::timestampFactory()->make($timestamp)->format(strtr($format, ['%' => '']));
|
/webtrees/app/Http/RequestHandlers/ |
H A D | UsersCleanupPage.php | 54 $inactive_threshold = Registry::timestampFactory()->now()->subtractMonths(6)->timestamp(); 55 $unverified_threshold = Registry::timestampFactory()->now()->subtractDays(7)->timestamp();
|
H A D | UserListData.php | 135 …red_at ? view('components/datetime-diff', ['timestamp' => Registry::timestampFactory()->make((int)… 137 …ive_at ? view('components/datetime-diff', ['timestamp' => Registry::timestampFactory()->make((int)…
|
/webtrees/app/Module/ |
H A D | RecentChangesModule.php | 296 …->where('change_time', '>', Registry::timestampFactory()->now()->subtractDays($days)->toDateTimeSt… 308 'time' => Registry::timestampFactory()->fromString($row->change_time), 324 $julian_day = Registry::timestampFactory()->now()->subtractDays($days)->julianDay();
|
H A D | YahrzeitModule.php | 97 $startjd = Registry::timestampFactory()->now()->julianDay(); 98 $endjd = Registry::timestampFactory()->now()->addDays($days - 1)->julianDay();
|
H A D | UpcomingAnniversariesModule.php | 162 $startjd = Registry::timestampFactory()->now()->addDays(1)->julianDay(); 163 $endjd = Registry::timestampFactory()->now()->addDays($days)->julianDay();
|
H A D | UserMessagesModule.php | 118 $row->created = Registry::timestampFactory()->fromString($row->created);
|
H A D | HtmlBlockModule.php | 101 …t .= '<br>' . view('components/datetime', ['timestamp' => Registry::timestampFactory()->make($bloc…
|
H A D | UserJournalModule.php | 79 $row->updated = Registry::timestampFactory()->fromString($row->updated);
|
H A D | FamilyTreeNewsModule.php | 77 $row->updated = Registry::timestampFactory()->fromString($row->updated);
|
H A D | OnThisDayModule.php | 143 $startjd = Registry::timestampFactory()->now()->julianDay();
|
/webtrees/app/Report/ |
H A D | ReportParserSetup.php | 124 $date = Registry::timestampFactory()->now(); 129 $date = Registry::timestampFactory()->now()->addDays((int)$match[1]);
|
/webtrees/app/ |
H A D | SessionDatabaseHandler.php | 88 $now = Registry::timestampFactory()->now(); 115 …if ($now->subtractMinutes(1)->timestamp() > Registry::timestampFactory()->fromString($this->row->s…
|
H A D | GedcomRecord.php | 716 … return Registry::timestampFactory()->fromString($ymd . $match[1], 'Y-m-d H:i:s'); 720 return Registry::timestampFactory()->fromString($ymd . $match[1], 'Y-m-d H:i'); 723 return Registry::timestampFactory()->fromString($ymd, 'Y-m-d'); 728 return Registry::timestampFactory()->make(0);
|
/webtrees/app/Cli/Commands/ |
H A D | UserList.php | 60 …$registered = Registry::timestampFactory()->make(timestamp: $registered)->format(format: 'Y-m-d H:… 66 …$last_login = Registry::timestampFactory()->make(timestamp: $last_login)->format(format: 'Y-m-d H:…
|
/webtrees/tests/app/Module/ |
H A D | ChangeReportModuleTest.php | 104 …'changeRangeStart' => ['id' => Registry::timestampFactory()->now()->subtractMonths(1)->format('d M… 105 'changeRangeEnd' => ['id' => Registry::timestampFactory()->now()->format('d M Y')],
|
/webtrees/resources/views/lists/ |
H A D | families-table.phtml | 18 $today_jd = Registry::timestampFactory()->now()->julianDay(); 19 $hundred_years_ago = Registry::timestampFactory()->now()->subtractYears(100)->julianDay();
|
H A D | individuals-table.phtml | 27 $today_jd = Registry::timestampFactory()->now()->julianDay(); 28 $hundred_years_ago = Registry::timestampFactory()->now()->subtractYears(100)->julianDay();
|
H A D | anniversaries-list.phtml | 53 … (<?= Registry::timestampFactory()->now()->subtractYears($fact->anniv)->diffForHumans() ?>)
|
/webtrees/app/Services/ |
H A D | CalendarService.php | 133 …$query->where('d_julianday1', '>=', Registry::timestampFactory()->now()->subtractYears(100)->julia… 329 …$query->where('d_julianday1', '>=', Registry::timestampFactory()->now()->subtractYears(100)->julia…
|
/webtrees/app/Date/ |
H A D | AbstractCalendarDate.php | 140 $today = $date->calendar->jdToYmd(Registry::timestampFactory()->now()->julianDay()); 846 return $this->calendar->jdToYmd(Registry::timestampFactory()->now()->julianDay());
|
/webtrees/resources/views/admin/ |
H A D | users-cleanup.phtml | 46 …<?= view('components/datetime', ['timestamp' => Registry::timestampFactory()->make(max((int) $user…
|