From: Andrew Dolgov Date: Mon, 20 Feb 2006 13:25:44 +0000 (+0100) Subject: fix last clause of smart_date/smart_date_time (closes #41) X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b02111c24a67874332a4bed52944e6597822cf54;p=tt-rss.git fix last clause of smart_date/smart_date_time (closes #41) --- diff --git a/functions.php b/functions.php index f813b6ba..a4aefff6 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); } }