mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:10 +01:00
Fix end date changes when editing if the event spans daylight savings time change
This commit is contained in:
parent
0dd3c78346
commit
5ac8ef6193
@ -790,7 +790,9 @@ app.classes.calendar = AppJS.extend(
|
||||
if (typeof duration != 'undefined' && typeof end != 'undefined')
|
||||
{
|
||||
end.set_disabled(duration.get_value()!=='');
|
||||
if (!end.disabled )
|
||||
|
||||
// Only set end date if not provided, adding seconds fails with DST
|
||||
if (!end.disabled && !content.end)
|
||||
{
|
||||
end.set_value(start.get_value());
|
||||
if (typeof content.duration != 'undefined') end.set_value("+"+content.duration);
|
||||
|
Loading…
Reference in New Issue
Block a user