fix for footer week selector

This commit is contained in:
skeeter 2000-12-08 04:09:43 +00:00
parent 3ed5f3f280
commit 8c2eb935a4
2 changed files with 4 additions and 2 deletions

View File

@ -76,8 +76,9 @@
}
$d_time = mktime(0,0,0,$m,$d,$y);
$thisdate = date("Ymd", $d_time);
$wday = date("w", $d_time);
$sun = mktime(0,0,0,$m,$d - $wday, $y);
$sun = $phpgw->calendar->get_sunday_before($y,$m,$d);
if ($phpgw_info["user"]["preferences"]["calendar"]["weekdaystarts"] == "Monday")
$sun += 86400;
for ($i = -7; $i <= 7; $i++) {
$tsun = $sun + (3600 * 24 * 7 * $i);
$tsat = $tsun + (3600 * 24 * 6);

View File

@ -5,6 +5,7 @@
- Fixed entries showing improperly on wrong date.
- Fixed file uploads through filemanager.
- Fixed repeating entries Month select box.
- Fixed calendar week selector starting on Monday on footer.
[0.9.7] - Fixed SQL error in tts
- Fixed table locking in admin -> edit account