diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-02-28 14:42:25 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-02-28 14:42:25 -0800 |
commit | abf2f39753d91baf132a0d93512803096b1299fa (patch) | |
tree | 4ca1e86eb1f5c3d45393d76dff9cb4b42f3cb913 /includes/datas.php | |
parent | 97b6742ddfcef31ded607e4334475052ba46795b (diff) | |
download | pathery-abf2f39753d91baf132a0d93512803096b1299fa.tar.xz |
Link to a specific solution in scores, and other tweaks.
Diffstat (limited to 'includes/datas.php')
-rw-r--r-- | includes/datas.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/datas.php b/includes/datas.php index 98958c5..3d51983 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -826,7 +826,7 @@ function getScores($mapID, $pageNumber = 1, $pageDivide = 10) { $result = mysql_query($sql); //$utime = date("g:i A (T)"); - $output['updateTime'] = date("g:i A (T)"); + $output['updateTime'] = time(); $i = 0; $foundUser = false; @@ -854,7 +854,7 @@ function getScores($mapID, $pageNumber = 1, $pageDivide = 10) { } $scoredDate = strtotime($row['cdate']); - $secondsSinceScored = strtotime("now") - $scoredDate ; + $secondsSinceScored = strtotime("now") - $scoredDate; //Alternate background colors $background = '#262631'; |