CC-3050: Comb through source code for dates being generated with date() function
-done
This commit is contained in:
parent
2f63a65e03
commit
4f2adc3068
7 changed files with 17 additions and 19 deletions
|
@ -845,7 +845,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.
|
||||
$startDow = date("w", $utcStartDateTime->getTimestamp());
|
||||
$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'] == "") {
|
||||
|
@ -1372,7 +1372,7 @@ class Application_Model_Show {
|
|||
|
||||
$shows = Application_Model_Show::getShows($start, $end);
|
||||
|
||||
$today_timestamp = Application_Model_DateHelper::ConvertToUtcDateTime(date("Y-m-d H:i:s"))->format("Y-m-d H:i:s");
|
||||
$today_timestamp = gmdate("Y-m-d H:i:s");
|
||||
|
||||
foreach ($shows as $show) {
|
||||
$options = array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue