Perfectionism.
This commit is contained in:
parent
b1266aa448
commit
ee000d2d67
|
@ -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 */
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue