When the rss feed is created by the node_feed function(node_modul ~1877), it uses the date funtion.
date($item->created,'r')
This is a PHP function to format the date. The results depend on server settings, not Drupal settings. I think we should use Drupal's format_date function:
format_date($items->created,'custom','r')
(Drupal 6.x also)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | fix_rss_feed_date.patch | 1.21 KB | gdevlugt |
Comments
Comment #1
pp commentedComment #2
gdevlugt commentedHi,
This sounds valid enough. If i'm running say a dutch website on a webserver in the US, it makes no sense to have articles with the local date of the webserver. I added a patch for D6 head which will fix this.
Comment #3
moshe weitzman commentedlooks good.
Comment #4
gábor hojtsyThanks, committed.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.