diff --git a/modules/recurring_events_views/recurring_events_views.module b/modules/recurring_events_views/recurring_events_views.module index 0624dc42c3b35130984275873d1aaced6f1b70fb..8bcd0e2de305b401a96d16108389cfaea2c9972c 100644 --- a/modules/recurring_events_views/recurring_events_views.module +++ b/modules/recurring_events_views/recurring_events_views.module @@ -126,9 +126,10 @@ function recurring_events_views_views_pre_render(ViewExecutable $view) { $name = $eventinstance->title->value; switch ($service->getRegistrationType()) { case 'instance': + $timezone = new \DateTimeZone(date_default_timezone_get()); $title = t('Registrations for %name on %date', [ '%name' => $name, - '%date' => $eventinstance->date->start_date->format($format), + '%date' => $eventinstance->date->start_date->setTimezone($timezone)->format($format), ]); break;