Do not constrain UTC time offsets.

(cherry picked from commit af276ab7ac)
This commit is contained in:
Ramon Novoa 2017-02-02 12:38:45 +01:00
parent 722b676cc4
commit c50879c5a5
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ sub process_xml_data ($$$$$) {
$data->{'custom_id'}, $data->{'url_address'});
# Timezone offset must be an integer beween -12 and +12
if (!defined($timezone_offset) || $timezone_offset !~ /[-+]?[0-9,11,12]/) {
if (!defined($timezone_offset) || $timezone_offset !~ /[-+]?\d+/) {
$timezone_offset = 0;
}