Added timezone to registration

This commit is contained in:
Constantin Graf
2024-03-19 18:14:26 +01:00
parent 6ecfef6bf1
commit 5a733b17aa
12 changed files with 75 additions and 5 deletions

View File

@@ -32,4 +32,9 @@ class TimezoneService
return $options;
}
public function isValid(string $timezone): bool
{
return in_array($timezone, $this->getTimezones(), true);
}
}