summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorsimo <simo>2006-01-02 08:21:58 +0000
committersimo <simo>2006-01-02 08:21:58 +0000
commitd534bb153551a914bf00c81d02743cdbafdfc450 (patch)
tree899efa98d7100ae61c54ae26a3d01a85e32303dc /web/html
parentf47b09de422ae3bf57ed6e70768fa7012783d842 (diff)
downloadaurweb-d534bb153551a914bf00c81d02743cdbafdfc450.tar.xz
change all timestamps to display utc
Diffstat (limited to 'web/html')
-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 0cd1d5f..6482e1e 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)";