Home
last modified time | relevance | path

Searched refs:timezone (Results 1 – 5 of 5) sorted by relevance

/webtrees/app/
H A DTimestamp.php35 public function __construct(int $timestamp, string $timezone, string $locale) argument
37 $this->carbon = CarbonImmutable::createFromTimestamp($timestamp, $timezone);
85 $this->carbon->timezone->getName(),
94 $this->carbon->timezone->getName(),
103 $this->carbon->timezone->getName(),
112 $this->carbon->timezone->getName(),
121 $this->carbon->timezone->getName(),
130 $this->carbon->timezone->getName(),
139 $this->carbon->timezone->getName(),
148 $this->carbon->timezone->getName(),
[all …]
/webtrees/app/Cli/Commands/
H A DUserCreate.php64 $timezone = $input->getOption(name: 'timezone');
84 if ($timezone === null) {
115 $user->setPreference(setting_name: UserInterface::PREF_TIME_ZONE, setting_value: $timezone);
/webtrees/app/Http/RequestHandlers/
H A DSitePreferencesAction.php51 $timezone = Validator::parsedBody($request)->string('TIMEZONE');
70 Site::setPreference('TIMEZONE', $timezone);
H A DUserEditAction.php80 $timezone = Validator::parsedBody($request)->string('timezone');
115 $edit_user->setPreference(UserInterface::PREF_TIME_ZONE, $timezone);
/webtrees/app/Factories/
H A DTimestampFactory.php49 … $timezone = $user->getPreference(UserInterface::PREF_TIME_ZONE, Site::getPreference('TIMEZONE'));
52 return new Timestamp($timestamp, $timezone, $locale);