diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-02-11 20:01:17 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-02-11 20:01:17 +0000 |
commit | e90f3b883b0655ccba009f2fbef982696341a1a2 (patch) | |
tree | 0afa31bda8e395e9addfadae4eb62067392abe20 /includes/common.inc | |
parent | 3d3a60740a63e8c803d0905b2727bb202e6de370 (diff) | |
download | brdo-e90f3b883b0655ccba009f2fbef982696341a1a2.tar.gz brdo-e90f3b883b0655ccba009f2fbef982696341a1a2.tar.bz2 |
- See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html.
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |