summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
Diffstat (limited to 'program/include')
-rw-r--r--program/include/main.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index d75921f3a..65b322f8e 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -754,6 +754,8 @@ function format_date($date, $format=NULL)
// month name (long)
else if ($format{$i}=='F')
$out .= rcube_label('long'.strtolower(date('M', $timestamp)));
+ else if ($format{$i}=='x')
+ $out .= strftime('%x %X', $timestamp);
else
$out .= date($format{$i}, $timestamp);
}