Render dates with shortened year number
This commit is contained in:
@@ -227,8 +227,8 @@ class AjaxTableController extends ActionController
|
||||
]);
|
||||
$hasSurchargeOrDiscount = $this->dateService->checkSurcharcheOrDiscount($priceTable);
|
||||
|
||||
$dateStart = $date ? $date->getDateStart()->format('d.m.Y') : '';
|
||||
$dateEnd = $date ? $date->getDateEnd()->format('d.m.Y') : '';
|
||||
$dateStart = $date ? $date->getDateStart()->format('d.m.y') : '';
|
||||
$dateEnd = $date ? $date->getDateEnd()->format('d.m.y') : '';
|
||||
$dateRange = sprintf('%s - %s', $dateStart, $dateEnd);
|
||||
|
||||
$noInfoConceptUids = GeneralUtility::trimExplode(',', $this->settings['noInfoConceptUids']);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<f:section name="Main">
|
||||
<div class="headline--3 headline--underlined">
|
||||
Buchungsoptionen {hotel.name} {dateRange}
|
||||
Buchungsoptionen {hotel.name}
|
||||
</div>
|
||||
|
||||
<div class="mb-4" data-controller="pricetable"
|
||||
|
||||
Reference in New Issue
Block a user