Replacing parseDate

This commit is contained in:
sean kenny
2014-08-05 14:45:04 +01:00
parent 3334d49f1d
commit e4f5b41937
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ function ResourceEventRenderer() {
revert = false;
var origDate = cellToDate(0, origCell.col);
var date = cellToDate(0, cell.col);
dayDelta = dayDiff(date, origDate);
dayDelta = date.diff(origDate, 'days');
if (!cell.row) {
// on full-days
renderDayOverlay(