mirror of
https://github.com/netzbegruenung/circles.git
synced 2024-05-14 09:06:06 +02:00
parent
21b2285504
commit
16a1daeb41
|
@ -69,7 +69,7 @@ class TimezoneService {
|
|||
$timezone = $this->configService->getCoreValueForUser($userId, 'timezone', 'UTC');
|
||||
$date = \DateTime::createFromFormat('Y-m-d H:i:s', $time);
|
||||
if ($date === false) {
|
||||
return date('Y-m-d H:i:s', $time);
|
||||
return $time;
|
||||
}
|
||||
|
||||
$date->setTimezone(new \DateTimeZone($timezone));
|
||||
|
|
Loading…
Reference in a new issue