You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this change 5d8c88b right @PMax5? Wouldn't it be + 1 instead of - 1?
I think that we want to ignore the hours, and only look at the days (i.e. from the 15th to the 19th of April, it's 5 days, 19 - 15 + 1 = 5). Does it make sense? Sorry for my mistake, since you are using the new Date(endDate - beginDate).getUTCDate() it already is 5. So you don't need to increment or decrement.
Another issue that references the event duration is this line that should use event.end instead of event.duration.
Is this change 5d8c88b right @PMax5?
Wouldn't it beSorry for my mistake, since you are using the+ 1
instead of- 1
?I think that we want to ignore the hours, and only look at the days (i.e. from the 15th to the 19th of April, it's 5 days,
19 - 15 + 1 = 5
). Does it make sense?new Date(endDate - beginDate).getUTCDate()
it already is 5. So you don't need to increment or decrement.Another issue that references the event duration is this line that should use
event.end
instead ofevent.duration
.The text was updated successfully, but these errors were encountered: