From 3262b87c9fdd9c5c7eca218424605e22e49947f8 Mon Sep 17 00:00:00 2001 From: Yoan VALLET <ext.sopra.yvallet@grandlyon.com> Date: Mon, 8 Feb 2021 17:05:55 +0100 Subject: [PATCH] update challenge On going information --- docs/ecolyo/functionalities/challenge.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/ecolyo/functionalities/challenge.md b/docs/ecolyo/functionalities/challenge.md index 709371e..243a255 100644 --- a/docs/ecolyo/functionalities/challenge.md +++ b/docs/ecolyo/functionalities/challenge.md @@ -68,7 +68,10 @@ If the thresold is reached and no valid period was found, we alert the user that ### On going 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." + ### On finish -- GitLab