[drupal-devel] [bug] Non locale date information in theme
    Goba 
    drupal-devel at drupal.org
       
    Fri May 27 12:47:22 UTC 2005
    
    
  
Issue status update for http://drupal.org/node/23734
 Project:      Drupal
 Version:      4.6.0
 Component:    aggregator.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  Poetro
 Reported by:  Poetro
 Updated by:   Goba
 Status:       patch
+1
Goba
Previous comments:
------------------------------------------------------------------------
May 27, 2005 - 12:45 : Poetro
The aggregator modul does not display dates in locale format. To solve
this, you have to modify 2 rows in the aggregator modul (1.233.2.4):
line 1103:
-    $output .= '<h3>'. date('F j, Y', $item->timestamp) ."</h3>\n";
+    $output .= '<h3>'. format_date($item->timestamp, 'custom', 'F j,
Y') ."</h3>\n";
line 1107:
-  $output .= ' <div class="date">'. date('H:i', $item->timestamp)
."</div>\n";
+  $output .= ' <div class="date">'. format_date($item->timestamp,
'custom', 'H:i') ."</div>\n";
    
    
More information about the drupal-devel
mailing list