I
I
imdeveloper2017-06-14 13:13:16
Software testing
imdeveloper, 2017-06-14 13:13:16

Teeeeeeeeeeeest?

testtesttesttesttesttesttesttesttesttest

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Korobkov, 2017-06-14
@link_web

Option 1
By crown at midnight, add a stub to the database for the next day. When adding an event, remove that day's stub.
Option 2
By crown at midnight, add a stub to the database for the previous day if there are no events for this day.
Option 3
foreach on all days. If the first array contains events for the desired day, copy them to a new array, otherwise add a stub to the new array

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question