Commit f46aaae0 authored by Eric - kg6wxc's avatar Eric - kg6wxc
Browse files

bugfix: more time timezone fixes.

hopefully this is it
parent 7de7be9f
......@@ -493,7 +493,8 @@ function wxc_scriptGetLastDateTime ($id, $name) {
//timezone fixes - wxc 11-27-2018
$datetime = new DateTime($lastRunSelf['script_last_run']);
date_timezone_set($datetime, $GLOBALS['localTimeZone']);
$dtz = new DateTimeZone($GLOBALS['localTimeZone']);
date_timezone_set($datetime, $dtz);
return $datetime;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment