mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Calendar: When creating a videoconference, send start/end as string with no timezone (usertime), but start/end date can also already be a string
This commit is contained in:
parent
0ca3d63f18
commit
d1287887a3
@ -3571,8 +3571,8 @@ var CalendarApp = /** @class */ (function (_super) {
|
|||||||
},
|
},
|
||||||
// Dates are user time, but we told javascript it was UTC.
|
// Dates are user time, but we told javascript it was UTC.
|
||||||
// Send just the timestamp (as a string) with no timezone
|
// Send just the timestamp (as a string) with no timezone
|
||||||
_data.start.toJSON().slice(0, -1),
|
(typeof _data.start != "string" ? _data.start.toJSON() : _data.start).slice(0, -1),
|
||||||
_data.end.toJSON().slice(0, -1),
|
(typeof _data.end != "string" ? _data.end.toJSON() : _data.end).slice(0, -1),
|
||||||
{
|
{
|
||||||
participants: Object.keys(_data.participants).filter(function (v) { return v.match(/^[0-9]/); })
|
participants: Object.keys(_data.participants).filter(function (v) { return v.match(/^[0-9]/); })
|
||||||
}], function (_value) {
|
}], function (_value) {
|
||||||
|
@ -4432,8 +4432,8 @@ class CalendarApp extends EgwApp
|
|||||||
},
|
},
|
||||||
// Dates are user time, but we told javascript it was UTC.
|
// Dates are user time, but we told javascript it was UTC.
|
||||||
// Send just the timestamp (as a string) with no timezone
|
// Send just the timestamp (as a string) with no timezone
|
||||||
_data.start.toJSON().slice(0,-1),
|
( typeof _data.start != "string" ? _data.start.toJSON() : _data.start).slice(0,-1),
|
||||||
_data.end.toJSON().slice(0,-1),
|
( typeof _data.end != "string" ? _data.end.toJSON() : _data.end).slice(0,-1),
|
||||||
{
|
{
|
||||||
participants:Object.keys(_data.participants).filter(v => {return v.match(/^[0-9]/)})
|
participants:Object.keys(_data.participants).filter(v => {return v.match(/^[0-9]/)})
|
||||||
}], function(_value){
|
}], function(_value){
|
||||||
|
Loading…
Reference in New Issue
Block a user