[drupal-devel] [bug] Non locale date information in theme
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: Poetro Status: patch 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"; Poetro
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";
participants (2)
-
Goba -
Poetro