mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 22:09:26 +01:00
ParseDate: fix time zones
This commit is contained in:
parent
119d9617bc
commit
5f0a581096
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user