updateses

This commit is contained in:
Shish
2009-07-28 01:09:00 +01:00
parent a16b3db48c
commit d850a562db
6 changed files with 13 additions and 17 deletions

View File

@ -100,7 +100,7 @@ function to_shorthand_int($int) {
function autodate($date) {
$ts = strtotime($date);
// Step 2: ...
return $date;
return date("Y-m-d", $ts);
}