Perfectionism.

This commit is contained in:
Yorin Anne De Jong 2016-08-26 23:17:59 +02:00
parent b1266aa448
commit ee000d2d67
6 changed files with 36 additions and 36 deletions

View File

@ -32,7 +32,7 @@ abstract class Event {
if (Agenda::isThisMonth($this->getStart())) { if (Agenda::isThisMonth($this->getStart())) {
return 'denne måneden'; return 'denne måneden';
} }
return strftime('%e. %b', $this->getStart()->getTimestamp()); return trim(strftime('%e. %B', $this->getStart()->getTimestamp()));
} }
public abstract function getStop(); /* : DateTimeImmutable */ public abstract function getStop(); /* : DateTimeImmutable */

View File

@ -1,7 +1,7 @@
<?php <?php
namespace pvv\side; namespace pvv\side;
Class SimpleEvent extends Event { class SimpleEvent extends Event {
private $name, $start, $end, $org, $loc; private $name, $start, $end, $org, $loc;