@@ -68,7 +68,10 @@ If the thresold is reached and no valid period was found, we alert the user that
...
@@ -68,7 +68,10 @@ If the thresold is reached and no valid period was found, we alert the user that
### On going
### On going
Every time the user go into the duel mode, we are checking if the duel is finished.
Every time the user go into the duel mode, we are checking if the duel is finished.
if (actualDate - startDate) > duelDuration, the duel is done.
if we have retrieve all data to calculate the user consumption on the duel duration, the duel is done
!!! info "In order to not block the user is a value is mising, we are also set the duel as done when we reach the startDate + delay in day to retrieve the data (based on the fluid) + 1 day. In this case the user consumption is done on known values."