3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-27 13:12:42 +01:00

ParseDate: fix time zones

This commit is contained in:
Pragmatic Software 2019-06-09 08:30:00 -07:00
parent 119d9617bc
commit 5f0a581096

View File

@ -113,6 +113,7 @@ sub parsedate {
# there was a timezone parsed, set the tz override and try again
if ($to->time_zone_short_name ne 'floating' and $to->time_zone_short_name ne 'UTC' and $tz_override eq 'UTC') {
$tz_override = $to->time_zone_long_name;
$to = undef;
goto ADJUST_TIMEZONE;
}