From 5b1de5598164c136567c29149c117aa8a4198f1b Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 21 Jul 2008 10:26:24 +0000 Subject: - use long date format in print mode (#1485191) --- program/include/main.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'program/include') 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); } -- cgit v1.2.3