feat: move timezone preference to config file (#2096)
BREAKING CHANGE: The timezone preference moved to the configuration file.
This commit is contained in:
parent
8ef82d798e
commit
9b3207b8a4
15 changed files with 73 additions and 15 deletions
|
@ -187,6 +187,7 @@ class Application_Form_GeneralPreferences extends Zend_Form_SubForm
|
|||
// Form Element for setting the Timezone
|
||||
$timezone = new Zend_Form_Element_Select('timezone');
|
||||
$timezone->setLabel(_('Station Timezone'));
|
||||
$timezone->setAttrib('disabled', 'true');
|
||||
$timezone->setMultiOptions(Application_Common_Timezone::getTimezones());
|
||||
$timezone->setValue(Application_Model_Preference::GetDefaultTimezone());
|
||||
$this->addElement($timezone);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue