diff options
author | Andrew Dolgov <[email protected]> | 2006-02-20 14:25:44 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-02-20 14:25:44 +0100 |
commit | b02111c24a67874332a4bed52944e6597822cf54 (patch) | |
tree | 3cdd3ceb1dd87e3b75aa41b3868a9544cd8d9e3a /functions.php | |
parent | 2bf6e0a82456e479956b41c7f6dc9c9c26a3e728 (diff) |
fix last clause of smart_date/smart_date_time (closes #41)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |