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 = ' '.date("r", $sub_int);
+ $modstring = '
'.gmdate("r", $sub_int);
}
else {
$mod_string = "(unknown)";
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index a868d534..8d77b979 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -333,8 +333,8 @@ function package_details($id=0, $SID="") {
print "\n";
# Print the timestamps for last updates
- $updated_time = ($row["ModifiedTS"] == 0) ? "(unknown)" : date("r", intval($row["ModifiedTS"]));
- $submitted_time = ($row["SubmittedTS"] == 0) ? "(unknown)" : date("r", intval($row["SubmittedTS"]));
+ $updated_time = ($row["ModifiedTS"] == 0) ? "(unknown)" : gmdate("r", intval($row["ModifiedTS"]));
+ $submitted_time = ($row["SubmittedTS"] == 0) ? "(unknown)" : gmdate("r", intval($row["SubmittedTS"]));
print "