From 0cda6e20cf4342f6e3212963df2dfabd69704737 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Wed, 1 Jun 2005 04:03:54 +0000 Subject: - #23734: Replace date() with format_date() in aggregator --- modules/aggregator.module | 6 +++--- modules/aggregator/aggregator.module | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'modules') diff --git a/modules/aggregator.module b/modules/aggregator.module index a6e2f34a8..aeb1bd404 100644 --- a/modules/aggregator.module +++ b/modules/aggregator.module @@ -1097,14 +1097,14 @@ function theme_aggregator_summary_item($item) { function theme_aggregator_page_item($item) { static $last; - $date = date('Ymd', $item->timestamp); + $date = format_date($item->timestamp, 'custom', 'Ymd'); if ($date != $last) { $last = $date; - $output .= '

'. date('F j, Y', $item->timestamp) ."

\n"; + $output .= '

'. format_date($item->timestamp, 'custom', 'F j, Y') ."

\n"; } $output .= "
\n"; - $output .= '
'. date('H:i', $item->timestamp) ."
\n"; + $output .= '
'. format_date($item->timestamp, 'custom', 'H:i') ."
\n"; $output .= "
\n"; $output .= ' \n"; if ($item->description) { diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index a6e2f34a8..aeb1bd404 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -1097,14 +1097,14 @@ function theme_aggregator_summary_item($item) { function theme_aggregator_page_item($item) { static $last; - $date = date('Ymd', $item->timestamp); + $date = format_date($item->timestamp, 'custom', 'Ymd'); if ($date != $last) { $last = $date; - $output .= '

'. date('F j, Y', $item->timestamp) ."

\n"; + $output .= '

'. format_date($item->timestamp, 'custom', 'F j, Y') ."

\n"; } $output .= "
\n"; - $output .= '
'. date('H:i', $item->timestamp) ."
\n"; + $output .= '
'. format_date($item->timestamp, 'custom', 'H:i') ."
\n"; $output .= "
\n"; $output .= ' \n"; if ($item->description) { -- cgit v1.2.3