CC-3102 : Show Editing, how it uses day of the week
This commit is contained in:
parent
5c7828c1f5
commit
e68d7afa3f
|
@ -857,7 +857,7 @@ class Application_Model_Show {
|
|||
//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);
|
||||
$startDow = date("w", $startDateTime->format('Y-m-d'));
|
||||
if (!$data['add_show_repeats']) {
|
||||
$data['add_show_day_check'] = array($startDow);
|
||||
} else if ($data['add_show_repeats'] && $data['add_show_day_check'] == "") {
|
||||
|
|
Loading…
Reference in New Issue