mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
fix for footer week selector
This commit is contained in:
parent
3ed5f3f280
commit
8c2eb935a4
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user