diff --git a/www/index.php b/www/index.php
index 370bc3b..767f886 100644
--- a/www/index.php
+++ b/www/index.php
@@ -53,7 +53,7 @@ $agenda = new \pvv\side\Agenda([
-getNextDays() as $period => $events) if ($events && $counter1 < 3 && $counter2 < 10) { $counter1++ ?>
+getNextDays() as $period => $events) if ($events && $counter1 < 2 && $counter2 < 10) { $counter1++ ?>
= $translation[$period] ?>
@@ -63,12 +63,15 @@ $agenda = new \pvv\side\Agenda([
+
getStart()) || $event->getStart()->sub(new DateInterval('P3D'))->getTimestamp() < time()) {
- echo '' . strftime('%A', $event->getStart()->getTimestamp()) . '';
+ echo '' . strftime('%a', $event->getStart()->getTimestamp()) . '';
} else {
- echo '' . strftime('%e. %b', $event->getStart()->getTimestamp()) . '';
+ echo '' . strftime('%e. %b', $event->getStart()->getTimestamp()) . '';
}
-} ?>
-= $event->getStart()->format('H:i'); ?>
+ echo '' . $event->getStart()->format('H:i') . '';
+} else {
+ echo '' . $event->getStart()->format('H:i') . '';
+}
+?>