From e90f3b883b0655ccba009f2fbef982696341a1a2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 11 Feb 2003 20:01:17 +0000 Subject: - See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html. --- includes/common.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 05a9f4833..e67b0053f 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -664,10 +664,10 @@ function format_date($timestamp, $type = "medium", $format = "") { $date = date(variable_get("date_format", "m/d/Y - H:i"), $timestamp); break; case "medium": - $date = t(date("l", $timestamp)) .", ". date(variable_get("date_format", "m/d/Y - H:i"), $timestamp); + $date = date(variable_get("date_format_medium", "D, m/d/Y - H:i"), $timestamp); break; case "large": - $date = t(date("l", $timestamp)) .", ". t(date("F", $timestamp)) ." ". date("d, Y - H:i", $timestamp); + $date = date(variable_get("date_format_long", "l, F j, Y - H:i"), $timestamp); break; case "custom": for ($i = strlen($format); $i >= 0; $c = $format[--$i]) { @@ -683,7 +683,7 @@ function format_date($timestamp, $type = "medium", $format = "") { } break; default: - $date = t(date("l", $timestamp)) .", ". date(variable_get("date_format", "m/d/Y - H:i"), $timestamp); + $date = date(variable_get("date_format_medium", "l, m/d/Y - H:i"), $timestamp); } return $date; } -- cgit v1.2.3