Replace hard coded timezone with function from date module

This commit is contained in:
2014-12-01 23:12:42 +11:00
parent 3a9c06e19a
commit 9a8ebbb5a8
4 changed files with 15 additions and 24 deletions

View File

@@ -122,15 +122,6 @@ function booking_admin() {
'#default_value' => variable_get('booking_default_country', 'Australia'),
);
$form['misc']['booking_local_timezone'] = array (
'#type' => 'select',
'#title' => t('Select Local Time Zone'),
'#description' => t('Select time zone to use when calculating dates and times. This should match drupal\'s timezone definition'),
'#options' => _booking_country_options(),
'#default_value' => variable_get('booking_default_country', 'Australia'),
);
$form['misc']['booking_default_gender'] = array (
'#type' => 'select',
'#title' => t('Select Default Gender'),