Answer the question
In order to leave comments, you need to log in
What is the right thing to do in this case?
Hello. I'm just a beginner developer, I need the help of experienced colleagues. What is the right way to handle this kind of situation? There are tasks with due dates and statuses. How to correctly change the status of a task to "Overdue" if the due date is less than the current one? Or does it need to be done on the backend, but since I have a firebase, as I understand it, what should I change myself?
Answer the question
In order to leave comments, you need to log in
The condition for fetching from the database must be set. (if...., then..., otherwise...)
Check the difference between timestamps (task and current).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question