From 15370702a490dbf66fea6013b3c8da8c9830acce Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Fri, 13 Dec 2013 18:27:36 -0500 Subject: [PATCH] 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. --- airtime_mvc/application/forms/AddShowWhen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/forms/AddShowWhen.php b/airtime_mvc/application/forms/AddShowWhen.php index 3f2abd5c2..91259400a 100644 --- a/airtime_mvc/application/forms/AddShowWhen.php +++ b/airtime_mvc/application/forms/AddShowWhen.php @@ -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);