fix last clause of smart_date/smart_date_time (closes #41)

This commit is contained in:
Andrew Dolgov 2006-02-20 14:25:44 +01:00
parent 2bf6e0a824
commit b02111c24a
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}