| Issue 2454: | Expression will always return false if end time is 0 | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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
|
|
| ► Sign in to add a comment |
Labels: Type-Bug