summaryrefslogtreecommitdiffstats
path: root/web/template/stats/updates_table.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-05-23 13:29:01 -0400
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-06 11:25:50 +0200
commit4a4f26cda6582fd8ca41e185a73429708966116e (patch)
tree241edffcaae1ccf10fb5ec651da28a49dde72117 /web/template/stats/updates_table.php
parent9c63946c032c3f0882f75b51636124baf5659913 (diff)
downloadaurweb-4a4f26cda6582fd8ca41e185a73429708966116e.tar.xz
Use sane date format strings everywhere
We fixed this for the fields displayed on the package details page in commit b5fffe9a02cd4fd3b7da66e403f02eea89c8fcad. This should fix the remaining ones. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: canyonknight <canyonknight@gmail.com>
Diffstat (limited to 'web/template/stats/updates_table.php')
-rw-r--r--web/template/stats/updates_table.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php
index 8da6732..92c6e42 100644
--- a/web/template/stats/updates_table.php
+++ b/web/template/stats/updates_table.php
@@ -21,9 +21,9 @@ $mod_int = intval($row["ModifiedTS"]);
$sub_int = intval($row["SubmittedTS"]);
if ($mod_int == $sub_int):
- $modstring = '<img src="images/new.gif" alt="New!" /> ' . gmdate("r", $sub_int);
+ $modstring = '<img src="images/new.gif" alt="New!" /> ' . gmdate("Y-m-d H:i", $sub_int);
else:
- $modstring = gmdate("r", $mod_int);
+ $modstring = gmdate("Y-m-d H:i", $mod_int);
endif;
?>