Use the user timezone, not the station timezone in the Add Show form (by

default)

* Fixes really annoying problem where you click on the calendar, and it
  adds your show in the wrong spot.
This commit is contained in:
Albert Santoni 2013-12-13 18:27:36 -05:00
parent 6a468ff549
commit 15370702a4
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class Application_Form_AddShowWhen extends Zend_Form_SubForm
$timezone->setRequired(true)
->setLabel(_("Timezone:"))
->setMultiOptions(Application_Common_Timezone::getTimezones())
->setValue(Application_Model_Preference::GetDefaultTimezone())
->setValue(Application_Model_Preference::GetUserTimezone())
->setAttrib('class', 'input_select add_show_input_select')
->setDecorators(array('ViewHelper'));
$this->addElement($timezone);