From b02111c24a67874332a4bed52944e6597822cf54 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 20 Feb 2006 14:25:44 +0100 Subject: fix last clause of smart_date/smart_date_time (closes #41) --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index f813b6baa..a4aefff62 100644 --- a/functions.php +++ b/functions.php @@ -872,7 +872,7 @@ } else if (date("Y", $timestamp) == date("Y")) { return date("M d, G:i", $timestamp); } else { - return date("Y/m/d G:i"); + return date("Y/m/d G:i", $timestamp); } } @@ -882,7 +882,7 @@ } else if (date("Y", $timestamp) == date("Y")) { return date("D m", $timestamp); } else { - return date("Y/m/d"); + return date("Y/m/d", $timestamp); } } -- cgit v1.2.3