Searched refs:timezone (Results 1 – 5 of 5) sorted by relevance
/webtrees/app/ |
H A D | Timestamp.php | 35 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 D | UserCreate.php | 64 $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 D | SitePreferencesAction.php | 51 $timezone = Validator::parsedBody($request)->string('TIMEZONE'); 70 Site::setPreference('TIMEZONE', $timezone);
|
H A D | UserEditAction.php | 80 $timezone = Validator::parsedBody($request)->string('timezone'); 115 $edit_user->setPreference(UserInterface::PREF_TIME_ZONE, $timezone);
|
/webtrees/app/Factories/ |
H A D | TimestampFactory.php | 49 … $timezone = $user->getPreference(UserInterface::PREF_TIME_ZONE, Site::getPreference('TIMEZONE')); 52 return new Timestamp($timestamp, $timezone, $locale);
|