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:
parent
e68d7afa3f
commit
54ef9f2b03
1 changed files with 1 additions and 2 deletions
|
@ -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'] == "") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue