Issue 2454: Expression will always return false if end time is 0
Status:  Invalid
Owner: ----
Closed:  Mar 2015
Reported by christo...@olinger.eu, Mar 3, 2015
if (endTimeMS && endTimeMS >= this.nextDayThreshold) {
   endDay.add(1, 'days');
}
line 7417 v2.3.0

This expression will always return false if your endTimeMS is 0, that is if you have an end time of 00:00:00.
Also, this.nextDayThreshold is a Moment Duration object sou you can't compare to an integer anyway
I dound this when I relaized that my calendar refused to stick to my nextDayThreshold value of 00:00:00


Mar 9, 2015
Project Member #1 adamrs...@gmail.com
if the time is 00:00:00, that behavior is intended: if the event's exclusive end time does not encroach the next day at all, it should not be rendered on that day.

When using comparison operators, JavaScript implicitly converts the objects to numbers, via the .valueOf() method. It should all just work.

If you really believe there is a bug, please make sure there is a demonstration in your ticket:
http://fullcalendar.io/wiki/Reporting-Bugs/
Status: Invalid
Labels: Type-Bug