Browse files

change date format

  • Loading branch information...
1 parent de69dcc commit 1dfb4a027a7fa58af7b6a1c2e192f4d8d4b2f719 @thomaspark committed Sep 19, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 dashboard.php
  2. +1 −1 list-dashboard-code.php
View
2 dashboard.php
@@ -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>
View
2 list-dashboard-code.php
@@ -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) {

0 comments on commit 1dfb4a0

Please sign in to comment.