Welcome to Geeklog, Anonymous Friday, December 02 2022 @ 08:56 am EST

Geeklog Forums

Bug in RSS feed (Locale dependency?)


Status: offline

sakata

Forum User
Junior
Registered: 12/17/01
Posts: 25
Location:Japan
Hi,
The strftime used in /system/classes/syndication/rss.feed.class.php causes starnge pubDate in Japanese environment.
We need to get RFC-822 format in this place.

The following suggestion would solve this problem.

Around 282
strftime( '%a, %d %b %Y %H:%M:%S %z', $article['date'] )
--> date( 'r', $article['date'] )

Around 358
strftime( '%a, %d %b %Y %H:%M:%S %z' )
--> date( 'r' )
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Mike already addressed that in CVS.

bye, Dirk
 Quote

Status: offline

sakata

Forum User
Junior
Registered: 12/17/01
Posts: 25
Location:Japan
Oh, I should have checked the CVS.

Thanks.
 Quote

All times are EST. The time is now 08:56 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content