Skip to content

Commit

Permalink
change date format
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Sep 19, 2012
1 parent de69dcc commit 1dfb4a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function getRelativeTime($date) {
// if (date('Y', $time) != date('Y', time()))
// return date("j-M Y", $time);
// return date("j-M", $time);
return date("M j, Y h:i:s a", $time);
return date("n/j/y h:i a", $time);
}
?>
<!DOCTYPE html>
Expand Down
2 changes: 1 addition & 1 deletion list-dashboard-code.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function getRelativeTime($date) {
// if (date('Y', $time) != date('Y', time()))
// return date("j-M Y", $time);
// return date("j-M", $time);
return date("M j, Y h:i:s a", $time);
return date("n/j/y h:i a", $time);
}

function plural($num) {
Expand Down

0 comments on commit 1dfb4a0

Please sign in to comment.