Commit 40751b5b authored by Eric - kg6wxc's avatar Eric - kg6wxc
Browse files

Merge branch 'moreTimeZone' into 'master'

More time zone

See merge request !3
parents dc0d9427 e1011058
......@@ -493,7 +493,9 @@ 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