forked from extern/egroupware
Fix for bug # 458995.
This commit is contained in:
parent
b6eb7c3168
commit
bf62acc4b5
@ -81,18 +81,6 @@
|
||||
}
|
||||
return $sday;
|
||||
break;
|
||||
case 'Sunday':
|
||||
$this->days = Array(
|
||||
0 => 'Sun',
|
||||
1 => 'Mon',
|
||||
2 => 'Tue',
|
||||
3 => 'Wed',
|
||||
4 => 'Thu',
|
||||
5 => 'Fri',
|
||||
6 => 'Sat'
|
||||
);
|
||||
return mktime(2,0,0,$month,$day - $weekday,$year);
|
||||
break;
|
||||
case 'Monday':
|
||||
$this->days = Array(
|
||||
0 => 'Mon',
|
||||
@ -117,6 +105,19 @@
|
||||
}
|
||||
return $sday - (60 * 60 * 2);
|
||||
break;
|
||||
case 'Sunday':
|
||||
default:
|
||||
$this->days = Array(
|
||||
0 => 'Sun',
|
||||
1 => 'Mon',
|
||||
2 => 'Tue',
|
||||
3 => 'Wed',
|
||||
4 => 'Thu',
|
||||
5 => 'Fri',
|
||||
6 => 'Sat'
|
||||
);
|
||||
return mktime(2,0,0,$month,$day - $weekday,$year);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user