diff --git a/src/Controller/SystemConfigurationController.php b/src/Controller/SystemConfigurationController.php
index 501e85cf..be61038c 100644
--- a/src/Controller/SystemConfigurationController.php
+++ b/src/Controller/SystemConfigurationController.php
@@ -34,6 +34,7 @@ use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Validator\Constraints\DateTime;
use Symfony\Component\Validator\Constraints\GreaterThanOrEqual;
use Symfony\Component\Validator\Constraints\NotNull;
+use Symfony\Component\Validator\Constraints\Regex;
/**
* Controller used for executing system relevant tasks.
@@ -346,6 +347,11 @@ class SystemConfigurationController extends AbstractController
->setTranslationDomain('system-configuration')
->setType(TextType::class)
->setConstraints([new DateTime(['format' => 'H:i']), new NotNull()]),
+ (new Configuration())
+ ->setName('calendar.slot_duration')
+ ->setTranslationDomain('system-configuration')
+ ->setType(TextType::class)
+ ->setConstraints([new Regex(['pattern' => '/[0-2]{1}[0-9]{1}:[0-9]{2}:[0-9]{2}/']), new NotNull()]),
]),
(new SystemConfigurationModel())
->setSection(SystemConfigurationModel::SECTION_BRANDING)
diff --git a/translations/system-configuration.de.xliff b/translations/system-configuration.de.xliff
index 298d61f7..c1ca15d2 100644
--- a/translations/system-configuration.de.xliff
+++ b/translations/system-configuration.de.xliff
@@ -98,6 +98,10 @@
label.calendar.visibleHours.end
Ende des sichtbaren Zeitbereichs
+
+ label.calendar.slot_duration
+ Slotdauer für Wochen- und Tagesansicht (Format: hh:mm:ss)
+
branding
Markendarstellung
diff --git a/translations/system-configuration.en.xliff b/translations/system-configuration.en.xliff
index e08916e4..e90bfc33 100644
--- a/translations/system-configuration.en.xliff
+++ b/translations/system-configuration.en.xliff
@@ -98,6 +98,10 @@
label.calendar.visibleHours.end
End of visible time range
+
+ label.calendar.slot_duration
+ Slot duration for week- and day view (format: hh:mm:ss)
+
branding
Branding