summaryrefslogtreecommitdiffstats
path: root/includes/datas.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-02-28 14:42:25 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-02-28 14:42:25 -0800
commitabf2f39753d91baf132a0d93512803096b1299fa (patch)
tree4ca1e86eb1f5c3d45393d76dff9cb4b42f3cb913 /includes/datas.php
parent97b6742ddfcef31ded607e4334475052ba46795b (diff)
downloadpathery-abf2f39753d91baf132a0d93512803096b1299fa.tar.xz
Link to a specific solution in scores, and other tweaks.
Diffstat (limited to 'includes/datas.php')
-rw-r--r--includes/datas.php4
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';