diff --git a/plugins/FeedsParser.inc b/plugins/FeedsParser.inc index 9f872a1f66012421e571e5f277fc3fc2ecedd495..07a6408eb1b6d3601b8e118182939992bf72cd3a 100644 --- a/plugins/FeedsParser.inc +++ b/plugins/FeedsParser.inc @@ -264,7 +264,7 @@ class FeedsDateTimeElement extends FeedsElement { // Set timezone if not already in the FeedsDateTime object $to_tz = date_get_timezone($field['tz_handling'], date_default_timezone_name()); - $temp = new FeedsDateTime($to_tz, NULL); + $temp = new FeedsDateTime(NULL, new DateTimeZone($to_tz)); $db_tz = ''; if ($use_start) {