Skip to content
Snippets Groups Projects
Commit 2a6ac6ab authored by Alex Barth's avatar Alex Barth
Browse files

#708060 yhahn: Bad timezone argument passed to FeedsDateTime object.

parent 237db708
No related branches found
No related tags found
No related merge requests found
...@@ -264,7 +264,7 @@ class FeedsDateTimeElement extends FeedsElement { ...@@ -264,7 +264,7 @@ class FeedsDateTimeElement extends FeedsElement {
// Set timezone if not already in the FeedsDateTime object // Set timezone if not already in the FeedsDateTime object
$to_tz = date_get_timezone($field['tz_handling'], date_default_timezone_name()); $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 = ''; $db_tz = '';
if ($use_start) { if ($use_start) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment