From 7ea74127510ff91671ae9632f47ffd1dbf233877 Mon Sep 17 00:00:00 2001 From: Thomas Gries Date: Wed, 15 Feb 2012 00:11:14 +0000 Subject: [PATCH] removed a wrong comment regarding PHP 5.3 function date_create_from_format, which is not suited to auto-detect a time string in any formats - only strtotime() can do it. --- RSSParser.php | 1 - 1 file changed, 1 deletion(-) diff --git a/RSSParser.php b/RSSParser.php index 4445ff6..a786946 100644 --- a/RSSParser.php +++ b/RSSParser.php @@ -316,7 +316,6 @@ class RSSParser { $txt = $this->sanitizeUrl( $item[ $info ] ); break; case 'date': - // PHP > 5.3.0 users can better use date_create_from_format method to reformat a date string $tempTimezone = date_default_timezone_get(); date_default_timezone_set( 'UTC' ); $txt = date( $this->date, strtotime( $this->escapeTemplateParameter( $item[ $info ] ) ) );