A
A
alex_kulkoff2018-09-27 12:06:18
JavaScript
alex_kulkoff, 2018-09-27 12:06:18

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

1 answer(s)
X
xmoonlight, 2018-09-27
@xmoonlight

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 question

Ask a Question

731 491 924 answers to any question