diff --git a/composer.json b/composer.json index 04b49de..abf17a8 100755 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Openinghours plugin to manage and display opening hours.", "license": "MIT", "type": "kirby-plugin", - "version": "0.0.5", + "version": "0.0.6", "authors": [ { "name": "Marc Stampfli", diff --git a/snippets/blocks/openinghours.php b/snippets/blocks/openinghours.php index af47021..86d7600 100644 --- a/snippets/blocks/openinghours.php +++ b/snippets/blocks/openinghours.php @@ -23,10 +23,10 @@ isDefault()): ?> getStartDate('E, d.M.Y'); + $start = $openinghour->getStartDate('E, d.MM.Y'); $start = substr_replace($start, '', strpos($start, '.'), 1); - $end = $openinghour->getEndDate('E, d.M.Y'); + $end = $openinghour->getEndDate('E, d.MM.Y'); $end = substr_replace($end, '', strpos($end, '.'), 1); ?>