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";

Comments

Gábor Hojtsy’s picture

+1

Steven’s picture

Commited a modified version to HEAD and 4.6.

In fact, the code slightly higher up for checking if a new day had started also needed to use format_date(): otherwise the day boundaries would not adjust themselves to your timezone.

Anonymous’s picture