I'm using scheduler with mysql, in the startDate field of the db the date is set correctly ex: 2019-07-19 08:22:00 but in the scheduler it display at 2019-07-19 09:22:00
in the CrudManager.php i have this line:
private function convertDateToMx ($date) {
$convertDate = new DateTime($date);
$convertDate->setTimezone(new DateTimeZone('America/Mexico_City'));
return $convertDate->format("Y-m-d H:i:s");
}
const _date = new Date();
_date.setHours(_date.getHours() - 1); <-- this i intend to correct the offset but not working
thanks and regards