dayspan
dayspan copied to clipboard
There is a logical error in judging whether it is the function Day.prototype.sameDay()
Shouldn't use identify to judge is same day. use moment(x).isSame(moment(x))
at Day.ts line 512
Day.prototype.sameDay = function (day) { return this.date.isSame(day.date, 'd'); };