Render dates with shortened year number

This commit is contained in:
Björn Fromme committed 2022-03-08 15:12:42 +01:00
1 parent cd77510059
commit 2e75251e36
2 files changed
+3 -3

No files matched your search

@@ -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"