Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
23 | 15 | public function serializeDateTime(VisitorInterface $visitor, \DateTime $date, array $type, Context $context) |
|
24 | { |
||
25 | // All dates send to Monsum should be in Europe/Berlin timezone. |
||
26 | 15 | $date->setTimezone(new \DateTimeZone('Europe/Berlin')); |
|
27 | |||
28 | 15 | return parent::serializeDateTime($visitor, $date, $type, $context); |
|
29 | } |
||
30 | |||
51 |