summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-03-07 17:32:01 +0000
committerDries Buytaert <dries@buytaert.net>2003-03-07 17:32:01 +0000
commit914bd030e6e7b575668ef21332d29cc4f8d367a1 (patch)
tree4a9be5dd0ba88efac13206cb1d7a433e46ebc8bc /includes
parentd659fedb389a42173d18bfc2aea2628372579a52 (diff)
downloadbrdo-914bd030e6e7b575668ef21332d29cc4f8d367a1.tar.gz
brdo-914bd030e6e7b575668ef21332d29cc4f8d367a1.tar.bz2
- Fixed typo: "data_format" -> "date_format_short". Patch by walkah.
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 9c6b40bf2..7a79b2895 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -660,7 +660,7 @@ function format_date($timestamp, $type = "medium", $format = "") {
switch ($type) {
case "small":
- $date = date(variable_get("date_format", "m/d/Y - H:i"), $timestamp);
+ $date = date(variable_get("date_format_short", "m/d/Y - H:i"), $timestamp);
break;
case "medium":
$date = date(variable_get("date_format_medium", "D, m/d/Y - H:i"), $timestamp);