vendor/assets/javascripts/event_cal.js in event_cal-1.1 vs vendor/assets/javascripts/event_cal.js in event_cal-1.2
- old
+ new
@@ -938,9 +938,13 @@
active: false
});
});
};
+ CalendarDate.prototype.toPath = function() {
+ return moment(this.date).format('YYYY/MM/DD');
+ };
+
return CalendarDate;
})(Spine.Model);
window.CalendarDate = CalendarDate;