Welcome to Geeklog, Anonymous Friday, April 19 2024 @ 12:28 am EDT
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' )
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' )
7
10
Quote
All times are EDT. The time is now 12:28 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