Resolve "Fix issue with raffle reports" #1649

Merged
korina.cordero merged 1 commit from 723-fix-issue-with-raffle-reports-2 into master 2022-12-16 11:19:58 +00:00
Showing only changes of commit 6d6c855feb - Show all commits

View file

@ -2732,8 +2732,8 @@ class ReportController extends Controller
$date_end = DateTime::createFromFormat('m/d/Y', $raw_date_end);
// change to this format: Y-m-d H:i:s
$new_date_start = $date_start->format('Y-m-d H:i:s') . ' 00:00:00';
$new_date_end = $date_end->format('Y-m-d H:i:s') . ' 23:59:59';
$new_date_start = $date_start->format('Y-m-d') . ' 00:00:00';
$new_date_end = $date_end->format('Y-m-d') . ' 23:59:59';
$db = $em->getConnection();
@ -2838,8 +2838,8 @@ class ReportController extends Controller
$date_end = DateTime::createFromFormat('m/d/Y', $raw_date_end);
// change to this format: Y-m-d H:i:s
$new_date_start = $date_start->format('Y-m-d H:i:s') . ' 00:00:00';
$new_date_end = $date_end->format('Y-m-d H:i:s') . ' 23:59:59';
$new_date_start = $date_start->format('Y-m-d') . ' 00:00:00';
$new_date_end = $date_end->format('Y-m-d') . ' 23:59:59';
$db = $em->getConnection();