summaryrefslogtreecommitdiff
path: root/lib/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common.php')
-rw-r--r--lib/common.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/common.php b/lib/common.php
index 2625d08ef..f7b93011c 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -267,6 +267,11 @@ function common_local_url($action, $args) {
return "/index.php?action=${action}${extra}";
}
+function commmon_date_string($dt) {
+ // XXX: do some sexy date formatting
+ return date(DATE_RFC822);
+}
+
// XXX: set up gettext
function _t($str) { $str }