diff --git a/Classes/Controller/DateController.php b/Classes/Controller/DateController.php index f4d36f0..601bb9c 100644 --- a/Classes/Controller/DateController.php +++ b/Classes/Controller/DateController.php @@ -90,11 +90,11 @@ class DateController extends ActionController } if ($this->request->hasArgument('start') && $this->request->getArgument('start') != '') { - $start = date( "Y-m-d", strtotime( $this->request->getArgument('start'))); + $start = date( "d.m.y", strtotime( $this->request->getArgument('start'))); } if ($this->request->hasArgument('end') && $this->request->getArgument('end') != '') { - $end = date( "Y-m-d", strtotime( $this->request->getArgument('end'))); + $end = date( "d.m.y", strtotime( $this->request->getArgument('end'))); } $demand = $this->createDemandFromSearch(); diff --git a/Resources/Private/Partials/Date/SearchForm.html b/Resources/Private/Partials/Date/SearchForm.html index 2d8f8c5..5886f17 100644 --- a/Resources/Private/Partials/Date/SearchForm.html +++ b/Resources/Private/Partials/Date/SearchForm.html @@ -18,13 +18,23 @@
- +
+ +
+
+
+
- +
+ +
+
+
+