mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
Fix for bug #409624 - Improper handling of daylight savings time changeover
This commit is contained in:
parent
9c0412498d
commit
45767449dc
@ -168,7 +168,7 @@ class calendar extends calendar_
|
||||
5 => 'Sat',
|
||||
6 => 'Sun'
|
||||
);
|
||||
$sday = mktime(0,0,0,$month,$day - ($weekday - 1),$year);
|
||||
$sday = mktime(2,0,0,$month,$day - ($weekday - 1),$year);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -181,7 +181,7 @@ class calendar extends calendar_
|
||||
5 => 'Fri',
|
||||
6 => 'Sat'
|
||||
);
|
||||
$sday = mktime(0,0,0,$month,$day - $weekday,$year);
|
||||
$sday = mktime(2,0,0,$month,$day - $weekday,$year);
|
||||
}
|
||||
|
||||
$this->days = $days;
|
||||
|
Loading…
Reference in New Issue
Block a user