Bug 340949: tweaking server time offset
git-svn-id: svn://10.0.0.236/trunk@214059 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -258,11 +258,11 @@ calWcapSession.prototype = {
|
||||
"gettime.wcap?appid=mozilla-calendar" +
|
||||
"&fmt-out=text%2Fcalendar&id=" +
|
||||
encodeURIComponent(this.m_sessionId));
|
||||
var str = issueSyncRequest( url );
|
||||
// xxx todo: think about
|
||||
// xxx todo:
|
||||
// assure that locally calculated server time is smaller than the
|
||||
// current (real) server time:
|
||||
var localTime = getTime();
|
||||
var str = issueSyncRequest( url );
|
||||
var icalRootComp = getIcsService().parseICS( str );
|
||||
if (icalRootComp == null)
|
||||
throw new Components.Exception("invalid data, expected ical!");
|
||||
|
||||
Reference in New Issue
Block a user