/** * {@inheritdoc} */ public function serializeDateTime(VisitorInterface $visitor, \DateTime $date, array $type, Context $context) { // All dates send to Fastbill should be in Europe/Berlin timezone. $date->setTimezone(new \DateTimeZone('Europe/Berlin')); return parent::serializeDateTime($visitor, $date, $type, $context); }