Disable timezone offset while setting timestamp from server

This commit is contained in:
fbsanchez 2021-04-27 17:58:20 +02:00
parent 2ef9743d5b
commit 24976c4860
1 changed files with 5 additions and 0 deletions

View File

@ -280,6 +280,11 @@ sub process_xml_data ($$$$$) {
$timezone_offset = 0;
}
# If set by server, do not use offset.
if ($pa_config->{'use_xml_timestamp'} eq '0') {
$timezone_offset = 0;
}
# Parent Agent Name
my $parent_id = 0; # Default value for unknown parent
my $parent_agent_name = $data->{'parent_agent_name'};