mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 01:18:42 +01:00
Fix bug where single events spanning 2 days did not show in the second day
This commit is contained in:
parent
d08a91dcff
commit
98b12c024b
@ -2391,6 +2391,9 @@ app.classes.calendar = AppJS.extend(
|
|||||||
if(dates.start.substr(0,10) !== dates.end.substr(0,10))
|
if(dates.start.substr(0,10) !== dates.end.substr(0,10))
|
||||||
{
|
{
|
||||||
var end = new Date(Math.min(new Date(record.data.end), new Date(state.last)));
|
var end = new Date(Math.min(new Date(record.data.end), new Date(state.last)));
|
||||||
|
end.setUTCHours(23);
|
||||||
|
end.setUTCMinutes(59);
|
||||||
|
end.setUTCSeconds(59);
|
||||||
var t = new Date(Math.max(new Date(record.data.start), new Date(state.first)));
|
var t = new Date(Math.max(new Date(record.data.start), new Date(state.first)));
|
||||||
|
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user