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

Update scripts/wxc_functions.inc

parent 40751b5b
......@@ -493,7 +493,7 @@ function wxc_scriptGetLastDateTime ($id, $name) {
//timezone fixes - wxc 11-27-2018
$datetime = new DateTime($lastRunSelf['script_last_run']);
$dtz = new DateTimeZone($GLOBALS['localTimeZone']);
$dtz = new DateTimeZone($GLOBALS['USER_SETTINGS']['localTimeZone']);
date_timezone_set($datetime, $dtz);
......
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