Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mesh
meshmap
Commits
40751b5b
Commit
40751b5b
authored
Dec 12, 2018
by
Eric - kg6wxc
Browse files
Merge branch 'moreTimeZone' into 'master'
More time zone See merge request
!3
parents
dc0d9427
e1011058
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/wxc_functions.inc
View file @
40751b5b
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment