Replace hard coded timezone with function from date module
This commit is contained in:
@@ -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'),
|
||||
|
Reference in New Issue
Block a user