diff --git a/core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php b/core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php
index 2ad8dc5..17f90cd 100644
--- a/core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php
+++ b/core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php
@@ -202,10 +202,11 @@ public function buildForm(array $form, FormStateInterface $form_state) {
       '#description' => $this->t('Select the default country for the site.'),
       '#weight' => 0,
     );
+    $timezone = !empty(ini_get('date.timezone')) ? ini_get('date.timezone') : 'UTC';
     $form['regional_settings']['date_default_timezone'] = array(
       '#type' => 'select',
       '#title' => $this->t('Default time zone'),
-      '#default_value' => date_default_timezone_get(),
+      '#default_value' => $timezone,
       '#options' => system_time_zones(),
       '#description' => $this->t('By default, dates in this site will be displayed in the chosen time zone.'),
       '#weight' => 5,
