summaryrefslogtreecommitdiffstats
path: root/web/html/index.php
diff options
context:
space:
mode:
authorsimo <simo>2006-01-02 09:21:58 +0100
committersimo <simo>2006-01-02 09:21:58 +0100
commitd534bb153551a914bf00c81d02743cdbafdfc450 (patch)
tree899efa98d7100ae61c54ae26a3d01a85e32303dc /web/html/index.php
parentf47b09de422ae3bf57ed6e70768fa7012783d842 (diff)
downloadaur-d534bb153551a914bf00c81d02743cdbafdfc450.tar.gz
aur-d534bb153551a914bf00c81d02743cdbafdfc450.tar.xz
change all timestamps to display utc
Diffstat (limited to 'web/html/index.php')
-rw-r--r--web/html/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/index.php b/web/html/index.php
index 0cd1d5f8..6482e1e3 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -157,10 +157,10 @@ while ($row = mysql_fetch_assoc($result)) {
$mod_int = intval($row["ModifiedTS"]);
$sub_int = intval($row["SubmittedTS"]);
if ($mod_int != 0) {
- $modstring = date("r", $mod_int);
+ $modstring = gmdate("r", $mod_int);
}
elseif ($sub_int != 0) {
- $modstring = '<img src="/images/new.gif"/> '.date("r", $sub_int);
+ $modstring = '<img src="/images/new.gif"/> '.gmdate("r", $sub_int);
}
else {
$mod_string = "(unknown)";