diff options
author | thomascube <thomas@roundcube.net> | 2006-12-11 23:25:08 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-12-11 23:25:08 +0000 |
commit | c45eb594cdbef4e74313054e462d2bb7e250e724 (patch) | |
tree | 8eee79dce5d670b4bdd8d6450fe69c7d8da81230 /program/include/main.inc | |
parent | df8e8ec9eee72743d0f14a8409aacf66c4a80d89 (diff) |
Little fixes plus additional encoding tables
Diffstat (limited to 'program/include/main.inc')
-rw-r--r-- | program/include/main.inc | 2 |
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']); |