Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 108) sorted by relevance

12345

/webtrees/tests/app/Services/
H A DTimeoutServiceTest.php63 $now = 1500000000.0;
65 $timeout_service = new TimeoutService($now);
77 $now = 1500000000.0;
79 $timeout_service = new TimeoutService($now);
87 $time_factory->method('now')->willReturn($now + 60.0);
95 $now = Registry::timeFactory()->now();
97 $timeout_service = new TimeoutService($now);
105 $time_factory->method('now')->willReturn($now + 10.0);
113 $now = Registry::timeFactory()->now();
115 $timeout_service = new TimeoutService($now);
[all …]
/webtrees/app/Services/
H A DTimeoutService.php43 $this->start_time = $start_time ?? Registry::timeFactory()->now();
62 $now = Registry::timeFactory()->now();
64 return $now + $threshold > $this->start_time + (float) $max_execution_time;
76 $now = Registry::timeFactory()->now();
78 return $now > $this->start_time + $limit;
H A DRateLimitService.php39 private int $now; variable in Fisharebest\\Webtrees\\Services\\RateLimitService
46 $this->now = time();
101 $max = intdiv(256, strlen($this->now . ','));
110 … $filter = fn (string $x): bool => (int) $x >= $this->now - $seconds && (int) $x <= $this->now;
117 $timestamps[] = (string) $this->now;
H A DCaptchaService.php51 Session::put('captcha-t', Registry::timeFactory()->now());
92 return Registry::timeFactory()->now() < $t + self::MINIMUM_FORM_TIME;
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/
H A DTree.php368 $now = date('H:i:s');
369 …$gedcom .= "\n1 CHAN\n2 DATE " . $today . "\n3 TIME " . $now . "\n2 _WT_USER " . Auth::user()->use…
413 $now = date('H:i:s');
414 …$gedcom .= "\n1 CHAN\n2 DATE " . $today . "\n3 TIME " . $now . "\n2 _WT_USER " . Auth::user()->use…
458 $now = date('H:i:s');
459 …$gedcom .= "\n1 CHAN\n2 DATE " . $today . "\n3 TIME " . $now . "\n2 _WT_USER " . Auth::user()->use…
503 $now = date('H:i:s');
504 …$gedcom .= "\n1 CHAN\n2 DATE " . $today . "\n3 TIME " . $now . "\n2 _WT_USER " . Auth::user()->use…
H A DSessionDatabaseHandler.php88 $now = Registry::timestampFactory()->now();
93 'session_time' => $now->toDateTimeString(),
115 …if ($now->subtractMinutes(1)->timestamp() > Registry::timestampFactory()->fromString($this->row->s…
116 $updates['session_time'] = $now->toDateTimeString();
/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');
/webtrees/app/Http/RequestHandlers/
H A DUpgradeWizardStep.php227 $start_time = Registry::timeFactory()->now();
237 $end_time = Registry::timeFactory()->now();
255 $start_time = Registry::timeFactory()->now();
258 $end_time = Registry::timeFactory()->now();
H A DUsersCleanupPage.php54 $inactive_threshold = Registry::timestampFactory()->now()->subtractMonths(6)->timestamp();
55 $unverified_threshold = Registry::timestampFactory()->now()->subtractDays(7)->timestamp();
/webtrees/app/Report/
H A DReportParserSetup.php124 $date = Registry::timestampFactory()->now();
129 $date = Registry::timestampFactory()->now()->addDays((int)$match[1]);
/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/public/ckeditor-4.15.1-custom/
H A DCHANGES.md41 …d from the [Color Dialog](https://ckeditor.com/cke4/addon/colordialog) are now stored in the [Colo…
42 …b.com/ckeditor/ckeditor4/issues/3783): The colors used in the document are now displayed as a part…
100 …/issues/3547): Active [dialog](https://ckeditor.com/cke4/addon/dialog) tab now has the `aria-selec…
119 …docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#property-parts) can now be refreshed dynami…
215 …9): The [Color Dialog](https://ckeditor.com/cke4/addon/colordialog) plugin now shows the current s…
216 …084): The [Table Tools](https://ckeditor.com/cke4/addon/tabletools) plugin now allows to change th…
217 …164): The [Table Tools](https://ckeditor.com/cke4/addon/tabletools) plugin now accepts floating po…
239 …/ckeditor4/latest/api/CKEDITOR_template.html#property-source) property can now be a function, so i…
246 …able Selection](https://ckeditor.com/cke4/addon/tableselection) plugin can now be disabled for the…
247 * [#2692](https://github.com/ckeditor/ckeditor4/issues/2692): Plugins can now expose information ab…
[all …]
/webtrees/app/Module/
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 DRecentChangesModule.php296 …->where('change_time', '>', Registry::timestampFactory()->now()->subtractDays($days)->toDateTimeSt…
324 $julian_day = Registry::timestampFactory()->now()->subtractDays($days)->julianDay();
/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/Contracts/
H A DTimeFactoryInterface.php30 public function now(): float; function
H A DTimestampFactoryInterface.php49 public function now(UserInterface|null $user = null): TimestampInterface; function
/webtrees/app/Factories/
H A DTimeFactory.php34 public function now(): float function in Fisharebest\\Webtrees\\Factories\\TimeFactory
H A DTimestampFactory.php79 public function now(UserInterface|null $user = null): TimestampInterface function in Fisharebest\\Webtrees\\Factories\\TimestampFactory
/webtrees/app/Date/
H A DAbstractCalendarDate.php140 $today = $date->calendar->jdToYmd(Registry::timestampFactory()->now()->julianDay());
846 return $this->calendar->jdToYmd(Registry::timestampFactory()->now()->julianDay());

12345