summaryrefslogtreecommitdiff
path: root/lib/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common.php')
-rw-r--r--lib/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common.php b/lib/common.php
index fbe90e030..730dae395 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -293,7 +293,7 @@ function common_local_url($action, $args=NULL) {
function common_date_string($dt) {
// XXX: do some sexy date formatting
- return date(DATE_RFC822);
+ return date(DATE_RFC822, $dt);
}
function common_redirect($url, $code=307) {