CC-3102 : Show Editing, how it uses day of the week

not sure if this change should be here anymore yet.
This commit is contained in:
Naomi Aro 2011-11-24 17:10:49 +01:00
parent e68d7afa3f
commit 54ef9f2b03

View file

@ -856,8 +856,7 @@ class Application_Model_Show {
//What we are doing here is checking if the show repeats or if
//any repeating days have been checked. If not, then by default
//the "selected" DOW is the initial day.
//DOW is in the local timezone.
$startDow = date("w", $startDateTime->format('Y-m-d'));
$startDow = gmdate("w", $utcStartDateTime->getTimestamp());
if (!$data['add_show_repeats']) {
$data['add_show_day_check'] = array($startDow);
} else if ($data['add_show_repeats'] && $data['add_show_day_check'] == "") {