summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-12-11 23:25:08 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-12-11 23:25:08 +0000
commitc1e30b29a6bdbe84b1a79144c1a9cbf1c1b52ee2 (patch)
tree12cbd58448487b6be1dd085c042534c958d3f2be /roundcubemail/program/include
parent9bd147486f58d126ca15b9221eeaf032ce8ba238 (diff)
Little fixes plus additional encoding tables
git-svn-id: https://svn.roundcube.net/trunk@403 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
-rw-r--r--roundcubemail/program/include/main.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc
index a7e50e4e1..10436cab2 100644
--- a/roundcubemail/program/include/main.inc
+++ b/roundcubemail/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']);