From 76a72d0d1904991693c6826eadfb411ed1f17ccc Mon Sep 17 00:00:00 2001 From: Dave Reid <dave@davereid.net> Date: Wed, 18 May 2011 11:11:19 -0500 Subject: [PATCH] Issue #1055582: Fixed strict notice that FeedsDateTime::setTimezone() is not compatible with DateTime::setTimezone(). --- plugins/FeedsParser.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/FeedsParser.inc b/plugins/FeedsParser.inc index 49957974..20277052 100644 --- a/plugins/FeedsParser.inc +++ b/plugins/FeedsParser.inc @@ -597,7 +597,7 @@ class FeedsDateTime extends DateTime { * In order to set a timezone for a datetime that doesn't have such * granularity, merge() it with one that does. */ - public function setTimezone(DateTimeZone $tz, $force = FALSE) { + public function setTimezone($tz, $force = FALSE) { // PHP 5.2.6 has a fatal error when setting a date's timezone to itself. // http://bugs.php.net/bug.php?id=45038 if (version_compare(PHP_VERSION, '5.2.7', '<') && $tz == $this->getTimezone()) { -- GitLab