mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-16 05:44:53 +00:00
Monotone-Parent: f8ea10b15b292e5a980916a948246542ce346cca
Monotone-Revision: 2ba549bd931928e8baf58a32a9d2f37dc0b06cdb Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-10-30T21:51:31 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -617,17 +617,11 @@ function drawCalendarEvent(eventData, sd, ed) {
|
||||
var viewEndDate = ed.asDate();
|
||||
|
||||
var startDate = new Date();
|
||||
startDate.setTime(eventData[4] * 1000);
|
||||
var endDate = new Date();
|
||||
if (eventData[7] == 0) {
|
||||
startDate.setTime(eventData[4] * 1000 + (1000 * UTCOffset));
|
||||
endDate.setTime(eventData[5] * 1000 + (1000 * UTCOffset));
|
||||
}
|
||||
else {
|
||||
startDate.setTime(eventData[4] * 1000);
|
||||
endDate.setTime(eventData[5] * 1000);
|
||||
}
|
||||
endDate.setTime(eventData[5] * 1000);
|
||||
|
||||
// log ("s: " + startDate+ "; e: " + endDate);
|
||||
// log ("s: " + startDate + "; e: " + endDate);
|
||||
|
||||
var days = startDate.daysUpTo(endDate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user