summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-12-11 23:25:08 +0000
committerthomascube <thomas@roundcube.net>2006-12-11 23:25:08 +0000
commitc45eb594cdbef4e74313054e462d2bb7e250e724 (patch)
tree8eee79dce5d670b4bdd8d6450fe69c7d8da81230 /program/include/main.inc
parentdf8e8ec9eee72743d0f14a8409aacf66c4a80d89 (diff)
Little fixes plus additional encoding tables
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index a7e50e4e1..10436cab2 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1680,7 +1680,7 @@ function format_date($date, $format=NULL)
$now = time(); // local time
$now -= (int)date('Z'); // make GMT time
$now += ($tz * 3600); // user's time
- $now_date = getdate();
+ $now_date = getdate($now);
$today_limit = mktime(0, 0, 0, $now_date['mon'], $now_date['mday'], $now_date['year']);
$week_limit = mktime(0, 0, 0, $now_date['mon'], $now_date['mday']-6, $now_date['year']);