Posted by pp on January 22, 2008 at 10:41am
| Project: | Drupal core |
| Version: | 6.x-dev |
| Component: | node system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | gdevlugt |
| Status: | closed (fixed) |
Issue Summary
When the rss feed is created by the node_feed function(node_modul ~1877), it uses the date funtion.
<?php
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:
<?php
format_date($items->created,'custom','r')
?>(Drupal 6.x also)
Comments
#1
#2
Hi,
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.
#3
looks good.
#4
Thanks, committed.
#5
Automatically closed -- issue fixed for two weeks with no activity.