Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:53 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' )
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' )
14
19
Quote
All times are EST. The time is now 10:53 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