Home
last modified time | relevance | path

Searched refs:timestampFactory (Results 1 – 25 of 34) sorted by relevance

12

/webtrees/app/Statistics/Repository/
H A DServerRepository.php39 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 DBrowserRepository.php38 return Registry::timestampFactory()->now()->format($format);
48 return Registry::timestampFactory()->now()->format($format);
56 return Registry::timestampFactory()->now()->format('T');
H A DGedcomRepository.php148 … return Registry::timestampFactory()->fromString($fact->value(), 'j M Y')->isoFormat('LL');
174 return Registry::timestampFactory()->fromString($row->change_time)->isoFormat('LL');
H A DLatestUserRepository.php119 return Registry::timestampFactory()->make($timestamp)->format(strtr($format, ['%' => '']));
/webtrees/app/Http/RequestHandlers/
H A DUsersCleanupPage.php54 $inactive_threshold = Registry::timestampFactory()->now()->subtractMonths(6)->timestamp();
55 $unverified_threshold = Registry::timestampFactory()->now()->subtractDays(7)->timestamp();
H A DUserListData.php135 …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 DRecentChangesModule.php296 …->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 DYahrzeitModule.php97 $startjd = Registry::timestampFactory()->now()->julianDay();
98 $endjd = Registry::timestampFactory()->now()->addDays($days - 1)->julianDay();
H A DUpcomingAnniversariesModule.php162 $startjd = Registry::timestampFactory()->now()->addDays(1)->julianDay();
163 $endjd = Registry::timestampFactory()->now()->addDays($days)->julianDay();
H A DUserMessagesModule.php118 $row->created = Registry::timestampFactory()->fromString($row->created);
H A DHtmlBlockModule.php101 …t .= '<br>' . view('components/datetime', ['timestamp' => Registry::timestampFactory()->make($bloc…
H A DUserJournalModule.php79 $row->updated = Registry::timestampFactory()->fromString($row->updated);
H A DFamilyTreeNewsModule.php77 $row->updated = Registry::timestampFactory()->fromString($row->updated);
H A DOnThisDayModule.php143 $startjd = Registry::timestampFactory()->now()->julianDay();
/webtrees/app/Report/
H A DReportParserSetup.php124 $date = Registry::timestampFactory()->now();
129 $date = Registry::timestampFactory()->now()->addDays((int)$match[1]);
/webtrees/app/
H A DSessionDatabaseHandler.php88 $now = Registry::timestampFactory()->now();
115 …if ($now->subtractMinutes(1)->timestamp() > Registry::timestampFactory()->fromString($this->row->s…
H A DGedcomRecord.php716 … 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 DUserList.php60 …$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 DChangeReportModuleTest.php104 …'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 Dfamilies-table.phtml18 $today_jd = Registry::timestampFactory()->now()->julianDay();
19 $hundred_years_ago = Registry::timestampFactory()->now()->subtractYears(100)->julianDay();
H A Dindividuals-table.phtml27 $today_jd = Registry::timestampFactory()->now()->julianDay();
28 $hundred_years_ago = Registry::timestampFactory()->now()->subtractYears(100)->julianDay();
H A Danniversaries-list.phtml53 … (<?= Registry::timestampFactory()->now()->subtractYears($fact->anniv)->diffForHumans() ?>)
/webtrees/app/Services/
H A DCalendarService.php133 …$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 DAbstractCalendarDate.php140 $today = $date->calendar->jdToYmd(Registry::timestampFactory()->now()->julianDay());
846 return $this->calendar->jdToYmd(Registry::timestampFactory()->now()->julianDay());
/webtrees/resources/views/admin/
H A Dusers-cleanup.phtml46 …<?= view('components/datetime', ['timestamp' => Registry::timestampFactory()->make(max((int) $user…

12