mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Do not constrain UTC time offsets.
(cherry picked from commit af276ab7ace69150f0244a57788c41a69c8bb4a7)
This commit is contained in:
parent
722b676cc4
commit
c50879c5a5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user