forked from extern/egroupware
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);
|
$d_time = mktime(0,0,0,$m,$d,$y);
|
||||||
$thisdate = date("Ymd", $d_time);
|
$thisdate = date("Ymd", $d_time);
|
||||||
$wday = date("w", $d_time);
|
$sun = $phpgw->calendar->get_sunday_before($y,$m,$d);
|
||||||
$sun = mktime(0,0,0,$m,$d - $wday, $y);
|
if ($phpgw_info["user"]["preferences"]["calendar"]["weekdaystarts"] == "Monday")
|
||||||
|
$sun += 86400;
|
||||||
for ($i = -7; $i <= 7; $i++) {
|
for ($i = -7; $i <= 7; $i++) {
|
||||||
$tsun = $sun + (3600 * 24 * 7 * $i);
|
$tsun = $sun + (3600 * 24 * 7 * $i);
|
||||||
$tsat = $tsun + (3600 * 24 * 6);
|
$tsat = $tsun + (3600 * 24 * 6);
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
- Fixed entries showing improperly on wrong date.
|
- Fixed entries showing improperly on wrong date.
|
||||||
- Fixed file uploads through filemanager.
|
- Fixed file uploads through filemanager.
|
||||||
- Fixed repeating entries Month select box.
|
- Fixed repeating entries Month select box.
|
||||||
|
- Fixed calendar week selector starting on Monday on footer.
|
||||||
|
|
||||||
[0.9.7] - Fixed SQL error in tts
|
[0.9.7] - Fixed SQL error in tts
|
||||||
- Fixed table locking in admin -> edit account
|
- Fixed table locking in admin -> edit account
|
||||||
|
Loading…
Reference in New Issue
Block a user