summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc
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/lib/pkgfuncs.inc
parentf47b09de422ae3bf57ed6e70768fa7012783d842 (diff)
downloadaur-d534bb153551a914bf00c81d02743cdbafdfc450.tar.gz
aur-d534bb153551a914bf00c81d02743cdbafdfc450.tar.xz
change all timestamps to display utc
Diffstat (limited to 'web/lib/pkgfuncs.inc')
-rw-r--r--web/lib/pkgfuncs.inc8
1 files changed, 4 insertions, 4 deletions
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 "</tr>\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 "<tr>\n";
print " <td class='boxSoft' colspan='2'>";
print "<span class='f3'>";
@@ -508,11 +508,11 @@ function package_details($id=0, $SID="") {
if ($SID) {
print __("Comment by: %h%s%h on %h%s%h",
array("<a href='/account.php?Action=AccountInfo&ID=".$carr["UsersID"]."'><b>",$carr["UserName"],"</b></a>",
- "<i>",date("Ymd [H:i:s]",$carr["CommentTS"]),"</i>"));
+ "<i>",gmdate("Ymd [H:i:s]",$carr["CommentTS"]),"</i>"));
} else {
print __("Comment by: %h%s%h on %h%s%h",
array("<b>",$carr["UserName"],"</b>",
- "<i>",date("Ymd [H:i:s]",$carr["CommentTS"]),"</i>"));
+ "<i>",gmdate("Ymd [H:i:s]",$carr["CommentTS"]),"</i>"));
}
print "</span>";
print "<tr><td class='boxSoft'>";