From: Antoine Musso Date: Tue, 27 Apr 2004 23:35:44 +0000 (+0000) Subject: time need to follow RFC 822 format ( "r" ) X-Git-Tag: 1.3.0beta1~233 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=549a38ec85e392be5d144f6d95069a91a74593dd;p=lhc%2Fweb%2Fwiklou.git time need to follow RFC 822 format ( "r" ) --- diff --git a/includes/Feed.php b/includes/Feed.php index 590d9ca6cc..fce93e3eea 100644 --- a/includes/Feed.php +++ b/includes/Feed.php @@ -84,7 +84,8 @@ class ChannelFeed extends FeedItem { class RSSFeed extends ChannelFeed { function formatTime( $ts ) { - return gmdate( "D, d M Y H:i:s T", wfTimestamp2Unix( $ts ) ); + // need to use RFC 822 time format + return gmdate( "r", wfTimestamp2Unix( $ts ) ); } function outHeader() {