Index: install.php
===================================================================
RCS file: /cvs/drupal/drupal/install.php,v
retrieving revision 1.145
diff -u -p -r1.145 install.php
--- install.php	20 Nov 2008 06:56:16 -0000	1.145
+++ install.php	22 Nov 2008 18:17:49 -0000
@@ -1082,7 +1082,7 @@ function install_configure_form(&$form_s
   $form['server_settings']['date_default_timezone'] = array(
     '#type' => 'select',
     '#title' => st('Default time zone'),
-    '#default_value' => date_default_timezone_get(),
+    '#default_value' => @date_default_timezone_get(),
     '#options' => system_time_zones(),
     '#description' => st('By default, dates in this site will be displayed in the chosen time zone.'),
     '#weight' => 5,
Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.829
diff -u -p -r1.829 common.inc
--- includes/common.inc	22 Nov 2008 13:55:27 -0000	1.829
+++ includes/common.inc	22 Nov 2008 18:17:53 -0000
@@ -2760,6 +2760,9 @@ function _drupal_bootstrap_full() {
   set_error_handler('_drupal_error_handler');
   set_exception_handler('_drupal_exception_handler');
 
+  // Set the default timezone
+  date_default_timezone_set(variable_get('date_default_timezone', 'UTC'));
+
   // Emit the correct charset HTTP header.
   drupal_set_header('Content-Type: text/html; charset=utf-8');
   // Detect string handling method
Index: modules/system/system.admin.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.admin.inc,v
retrieving revision 1.105
diff -u -p -r1.105 system.admin.inc
--- modules/system/system.admin.inc	20 Nov 2008 06:56:17 -0000	1.105
+++ modules/system/system.admin.inc	22 Nov 2008 18:17:58 -0000
@@ -1567,7 +1567,7 @@ function system_date_time_settings() {
   $form['locale']['date_default_timezone'] = array(
     '#type' => 'select',
     '#title' => t('Default time zone'),
-    '#default_value' => variable_get('date_default_timezone', date_default_timezone_get()),
+    '#default_value' => variable_get('date_default_timezone', @date_default_timezone_get()),
     '#options' => $zones,
     '#description' => t('Select the default site time zone.')
   );
