CC-3102 : Show Editing, how it uses day of the week
This commit is contained in:
parent
37c89d96d9
commit
5c7828c1f5
1 changed files with 2 additions and 1 deletions
|
@ -856,7 +856,8 @@ 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.
|
||||
$startDow = gmdate("w", $utcStartDateTime->getTimestamp());
|
||||
//DOW is in the local timezone.
|
||||
$startDow = date("w", $startDateTime);
|
||||
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