CC-5594 : Remove all date_default_timezone_get()

replacing timezone with the user timezone pref.
This commit is contained in:
Naomi 2013-12-04 15:11:40 -05:00
parent c8cfdadb90
commit aafeeb6aed
1 changed files with 6 additions and 6 deletions

View File

@ -54,12 +54,12 @@ class Application_Model_ShowBuilder
*/
public function __construct($p_startDT, $p_endDT, $p_opts)
{
$this->startDT = $p_startDT;
$this->endDT = $p_endDT;
$this->timezone = date_default_timezone_get();
$this->user = Application_Model_User::getCurrentUser();
$this->opts = $p_opts;
$this->epoch_now = floatval(microtime(true));
$this->startDT = $p_startDT;
$this->endDT = $p_endDT;
$this->timezone = Application_Model_Preference::GetUserTimezone();
$this->user = Application_Model_User::getCurrentUser();
$this->opts = $p_opts;
$this->epoch_now = floatval(microtime(true));
$this->currentShow = false;
}